#include "Riostream.h"
Go to the source code of this file.
|
| ifstream | in |
| |
| TFile * | experimentalFile = new TFile("../../../experimentalData/proton/BraggPeak/62MeVInWater.root","READ") |
| |
| TTree * | experimentalTree = (TTree*)experimentalFile -> Get("Experimental62MeVInWater") |
| |
| Float_t | depthExp |
| |
| Float_t | EdepExp |
| |
| TNtuple * | ntupleExperimental = new TNtuple("ntupleExperimental","Protons, exp. data", "depthExp:EdepExp") |
| |
| Int_t | nentries = (Int_t)experimentalTree -> GetEntries() |
| |
| TFile * | simulationFile = new TFile("../../../SimulationOutputs/proton/BraggPeak/protonBraggPeak.root","READ") |
| |
| TH1D * | simulatedPeak = (TH1D*) simulationFile -> Get("braggPeak") |
| |
| Float_t | simulationNormalisationFactor = simulatedPeak -> GetBinContent(1) |
| |
| TCanvas * | c1 = new TCanvas ("c1","c1",200,10,600,400) |
| |
| | leg = new TLegend(0.50,0.60,0.20,0.70) |
| |
| leg SetTextSize |
( |
0. |
035 | ) |
|
| TCanvas* c1 = new TCanvas ("c1","c1",200,10,600,400) |
| TFile* experimentalFile = new TFile("../../../experimentalData/proton/BraggPeak/62MeVInWater.root","READ") |
Initial value:
Definition at line 7 of file comparison.C.
Referenced by lar::details::are_same_types< Types >::as(), braggPeak(), checkBeam(), art::detail::TwoArgInsert< cet::map_vector< T > >::concatenate(), lar::ProviderPack< Providers >::containsProviders(), art::flattenCollections(), fragmentAngularDistribution(), fragmentAngularDistributionGM(), fragmentAngularDistributionHistogram(), fragmentEnergy(), fragmentEnergyDistributionDifferentAngles(), fragmentYields(), fragmentYieldsPlot(), lar::details::are_types_contained< First, OtherTypes... >::in(), evgen::MUSUN::initialization(), main(), art::detail::mix_offset< cet::map_vector< P > >::offset(), art::PtrRemapper::operator()(), evgen::NUANCEGen::produce(), evgen::NDKGen::produce(), readExfor(), filter::EventFilter::reconfigure(), util::DatabaseUtil::reconfigure(), simb::MCNeutrino::Theta(), and art::detail::verifyPtrCollection().
| leg = new TLegend(0.50,0.60,0.20,0.70) |
| TNtuple* ntupleExperimental = new TNtuple("ntupleExperimental","Protons, exp. data", "depthExp:EdepExp") |
| TFile* simulationFile = new TFile("../../../SimulationOutputs/proton/BraggPeak/protonBraggPeak.root","READ") |
| Float_t simulationNormalisationFactor = simulatedPeak -> GetBinContent(1) |