#include "Riostream.h"
함수 | |
experimentalTree | SetBranchAddress ("EdepExp",&EdepExp) |
experimentalTree | SetBranchAddress ("depthExp",&depthExp) |
for (Int_t i=0;i< nentries;i++) | |
simulatedPeak | Scale (1/simulationNormalisationFactor) |
ntupleExperimental | SetMarkerStyle (4) |
simulatedPeak | SetMarkerSize (2) |
ntupleExperimental | Draw ("EdepExp:depthExp") |
simulatedPeak | Draw ("same") |
leg | SetTextSize (0.035) |
leg | SetFillColor (0) |
leg | AddEntry (ntupleExperimental,"Experiment","P") |
leg | AddEntry (simulatedPeak,"Simulation") |
leg | Draw () |
변수 | |
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 AddEntry | ( | ntupleExperimental | , |
"Experiment" | , | ||
"P" | |||
) |
leg AddEntry | ( | simulatedPeak | , |
"Simulation" | |||
) |
ntupleExperimental Draw | ( | "EdepExp:depthExp" | ) |
h20 Draw | ( | "same" | ) |
leg Draw | ( | ) |
for | ( | ) |
comparison.C 파일의 30 번째 라인에서 정의되었습니다.
다음을 참조함 : EdepExp, Fill(), GetEntry(), normFactor.
simulatedPeak Scale | ( | 1/ | simulationNormalisationFactor | ) |
experimentalTree SetBranchAddress | ( | "EdepExp" | , |
& | EdepExp | ||
) |
experimentalTree SetBranchAddress | ( | "depthExp" | , |
& | depthExp | ||
) |
leg SetFillColor | ( | 0 | ) |
h2 SetMarkerSize | ( | 2 | ) |
ntupleExperimental SetMarkerStyle | ( | 4 | ) |
leg SetTextSize | ( | 0. | 035 | ) |
TCanvas* c1 = new TCanvas ("c1","c1",200,10,600,400) |
comparison.C 파일의 51 번째 라인에서 정의되었습니다.
Float_t depthExp |
comparison.C 파일의 22 번째 라인에서 정의되었습니다.
Float_t EdepExp |
comparison.C 파일의 22 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : for().
TFile* experimentalFile = new TFile("../../../experimentalData/proton/BraggPeak/62MeVInWater.root","READ") |
comparison.C 파일의 17 번째 라인에서 정의되었습니다.
TTree* experimentalTree = (TTree*)experimentalFile -> Get("Experimental62MeVInWater") |
comparison.C 파일의 20 번째 라인에서 정의되었습니다.
ifstream in |
comparison.C 파일의 7 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : G4HepRepSceneHandler::addAttVals(), G4OpenInventorXtExaminerViewer::afterRealizeHook(), G4Analyser::analyse(), G4INCL::Nucleus::applyFinalState(), G4ExtrudedSolid::ApproxSurfaceNormal(), G4SPSEneDistribution::ArbEnergyHistoFile(), braggPeak(), G4ParticleHPJENDLHEData::BuildPhysicsTable(), checkBeam(), G4ProductionCutsTable::CheckMaterialCutsCoupleInfo(), G4ProductionCutsTable::CheckMaterialInfo(), ChromosomeParameterisation::ChromosomeParameterisation(), G4LevelReader::CreateLevelManager(), G4ChipsNeutronInelasticXS::CrossSectionLin(), G4OpenInventorXtExaminerViewer::deleteViewPt(), G4Abla::densniv(), G4Abla::direct(), G4ExtrudedSolid::DistanceToIn(), G4ExtrudedSolid::DistanceToOut(), G4Abla::eflmac(), G4Abla::eflmac_profi(), G4VSolid::EstimateCubicVolume(), G4VSolid::EstimateSurfaceArea(), G4PhysicsTable::ExistPhysicsTable(), FileFound(), CML2PrimaryGenerationAction::fillParticlesContainer(), fragmentAngularDistribution(), fragmentAngularDistributionGM(), fragmentAngularDistributionHistogram(), fragmentEnergy(), fragmentEnergyDistributionDifferentAngles(), fragmentYields(), fragmentYieldsPlot(), G4HadronicException::G4HadronicException(), G4MPIbatch::G4MPIbatch(), G4UIbatch::G4UIbatch(), G4UItcsh::G4UItcsh(), G4ChipsAntiBaryonInelasticXS::GetChipsCrossSection(), G4ChipsProtonElasticXS::GetChipsCrossSection(), G4ChipsProtonInelasticXS::GetChipsCrossSection(), G4ChipsPionPlusElasticXS::GetChipsCrossSection(), G4ChipsHyperonElasticXS::GetChipsCrossSection(), G4ChipsHyperonInelasticXS::GetChipsCrossSection(), G4ChipsKaonMinusInelasticXS::GetChipsCrossSection(), G4ChipsKaonPlusElasticXS::GetChipsCrossSection(), G4ChipsNeutronElasticXS::GetChipsCrossSection(), G4ChipsPionMinusElasticXS::GetChipsCrossSection(), G4ChipsPionMinusInelasticXS::GetChipsCrossSection(), G4ChipsAntiBaryonElasticXS::GetChipsCrossSection(), G4ChipsKaonMinusElasticXS::GetChipsCrossSection(), G4ChipsKaonPlusInelasticXS::GetChipsCrossSection(), G4ChipsPionPlusInelasticXS::GetChipsCrossSection(), G4ChipsNeutronInelasticXS::GetChipsCrossSection(), G4ParticleHPManager::GetDataStream(), G4ParticleHPManager::GetDataStream2(), G4ParticleHPThermalScattering::getMu(), G4ParticleHPNames::GetName(), G4ChipsNeutronElasticXS::GetPTables(), HepMCG4AsciiReader::HepMCG4AsciiReader(), G4Abla::imf(), G4ParticleHPFFFissionFS::Init(), G4ParticleHPCaptureFS::Init(), G4ParticleHPFSFissionFS::Init(), G4ParticleHPFissionBaseFS::Init(), G4ParticleHPElasticFS::Init(), G4ParticleHPIsoData::Init(), G4ParticleHPInelasticBaseFS::Init(), G4ParticleHPInelasticCompFS::Init(), G4FissionLibrary::Init(), G4ParticleHPInelasticBaseFS::InitGammas(), G4ParticleHPInelasticCompFS::InitGammas(), HepMCG4AsciiReader::Initialize(), G4ENDFTapeRead::Initialize(), G4WendtFissionFragmentGenerator::InitializeANucleus(), G4Ellipsoid::Inside(), G4CutTubs::Inside(), G4ExtrudedSolid::Inside(), G4ReplicaNavigation::Inside(), G4Torus::Inside(), G4Tubs::Inside(), G4Cons::Inside(), G4Sphere::Inside(), G4GenericTrap::InsidePolygone(), CML2ExpVoxels::loadData(), G4MicroElecCrossSectionDataSet::LoadData(), G4MuElecCrossSectionDataSet::LoadData(), G4RDShellEMDataSet::LoadData(), G4DataSet::LoadData(), G4RDEMDataSet::LoadData(), G4ShellEMDataSet::LoadData(), G4CrossSectionDataSet::LoadData(), G4DNACrossSectionDataSet::LoadData(), G4EMDataSet::LoadData(), G4GSPWACorrections::LoadDataElement(), G4GSMottCorrection::LoadMCDataElement(), G4GoudsmitSaundersonTable::LoadMSCData(), G4MicroElecCrossSectionDataSet::LoadNonLogData(), G4MuElecCrossSectionDataSet::LoadNonLogData(), G4ShellEMDataSet::LoadNonLogData(), G4CrossSectionDataSet::LoadNonLogData(), G4DNACrossSectionDataSet::LoadNonLogData(), G4EMDataSet::LoadNonLogData(), G4INCL::Store::loadParticles(), main(), G4LevelReader::MakeLevelManager(), G4MemStat::MemoryUsage(), G4TextPPRetriever::ModifyPropertyTable(), HadrontherapyModulator::ModulatorPropertiesFromFile(), G3EleTable::parse(), G4GeomTools::PointInPolygon(), G4AdjointCSMatrix::Read(), READ< G4String >(), G4ParticleHPThermalScattering::readACoherentFSDATA(), G4ParticleHPThermalScattering::readAnIncoherentFSDATA(), G4ParticleHPThermalScattering::readAnInelasticFSDATA(), G4GSMottCorrection::ReadCompressedFile(), DicomPhantomZSliceHeader::ReadDataFromFile(), readExfor(), G4OpticalSurface::ReadLUTDAVISFile(), G4OpticalSurface::ReadLUTFile(), G4PhysicsListHelper::ReadOrdingParameterTable(), DicomPartialDetectorConstruction::ReadPhantomDataFile(), DicomDetectorConstruction::ReadPhantomDataFile(), G4OpticalSurface::ReadReflectivityLUTFile(), CLHEP::RandGauss::restoreEngineStatus(), CLHEP::RandFlat::restoreEngineStatus(), CLHEP::MTwistEngine::restoreStatus(), CLHEP::HepJamesRandom::restoreStatus(), CLHEP::Ranlux64Engine::restoreStatus(), CLHEP::RanshiEngine::restoreStatus(), CLHEP::RanecuEngine::restoreStatus(), CLHEP::DualRand::restoreStatus(), CLHEP::RanluxEngine::restoreStatus(), G4OrderedTable::Retrieve(), G4ProductionCutsTable::RetrieveCutsInfo(), G4GMocrenIO::retrieveData(), G4GMocrenIO::retrieveData2(), G4GMocrenIO::retrieveData3(), G4GMocrenIO::retrieveData4(), G4PhysicsTable::RetrievePhysicsTable(), G4ExtDEDXTable::RetrievePhysicsTable(), G4QuasiElasticChannel::Scatter(), G4UIExecutive::SelectSessionByFile(), G4Radioactivation::SetDecayBias(), G4RadioactiveDecay::SetDecayBias(), G4MCTSimVertex::SetInParticle(), G4CollisionOutput::setOnShell(), G4Radioactivation::SetSourceTimeProfile(), G4RadioactiveDecay::SetSourceTimeProfile(), G4GDMLEvaluator::SolveBrackets(), G4OpenInventorXtExaminerViewer::viewPtFileSelectedCB().
leg = new TLegend(0.50,0.60,0.20,0.70) |
comparison.C 파일의 61 번째 라인에서 정의되었습니다.
Int_t nentries = (Int_t)experimentalTree -> GetEntries() |
comparison.C 파일의 29 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : CCalEventAction::EndOfEventAction(), ProcessSingleFile().
TNtuple* ntupleExperimental = new TNtuple("ntupleExperimental","Protons, exp. data", "depthExp:EdepExp") |
comparison.C 파일의 28 번째 라인에서 정의되었습니다.
TH1D* simulatedPeak = (TH1D*) simulationFile -> Get("braggPeak") |
comparison.C 파일의 45 번째 라인에서 정의되었습니다.
TFile* simulationFile = new TFile("../../../SimulationOutputs/proton/BraggPeak/protonBraggPeak.root","READ") |
comparison.C 파일의 42 번째 라인에서 정의되었습니다.
Float_t simulationNormalisationFactor = simulatedPeak -> GetBinContent(1) |
comparison.C 파일의 47 번째 라인에서 정의되었습니다.