ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
egs.C File Reference

Go to the source code of this file.

Functions

TFile f1 ("./Ta_1000keV_opt3.root")
 TFile f1("./Al_1033keV_opt3.root");.
 
h1 SetTitle ("Depth dose distribution of 1000 keV e- in Ta")
 
h1 GetXaxis () -> SetTitle("Edep (Mev.cm2/g) along x/r0 x/r0")
 
h1 GetYaxis () -> SetTitle("MeV*cm2/g")
 
h1 SetStats (kFALSE)
 
h1 SetLineColor (kBlack)
 
h1 Draw ("HIST")
 
in open ("./EGSnrc/Ta_1000keV_EGSnrc.ascii")
 in.open("./EGSnrc/Al_1033keV_EGSnrc.ascii");
 
 for (int i=0;i< nbdata;i++)
 
in close ()
 
legend AddEntry (h1,"ref10 ","l")
 
legend AddEntry (pt,"EGSnrc","P")
 
legend Draw ()
 

Variables

TH1D * h1 = (TH1D*) f1.Get("8")
 
ifstream in
 
TMarker * pt
 
Double_t x
 
Double_t y
 
int nbdata = 0
 
TLegend * legend = new TLegend(0.6,0.5,0.8,0.70)
 

Function Documentation

legend AddEntry ( h1  ,
"ref10 "  ,
"l"   
)
legend AddEntry ( pt  ,
"EGSnrc"  ,
"P"   
)
in close ( )
h1 Draw ( "HIST"  )
legend Draw ( )
TFile f1 ( "./Ta_1000keV_opt3.root"  )

TFile f1("./Al_1033keV_opt3.root");.

for ( )

Definition at line 30 of file egs.C.

View newest version in sPHENIX GitHub at line 30 of file egs.C

References y.

h1 GetXaxis ( ) -> SetTitle("Edep (Mev.cm2/g) along x/r0 x/r0")
h1 GetYaxis ( ) -> SetTitle("MeV*cm2/g")
in open ( "./EGSnrc/Ta_1000keV_EGSnrc.ascii"  )

in.open("./EGSnrc/Al_1033keV_EGSnrc.ascii");

h1 SetLineColor ( kBlack  )
h3 SetStats ( kFALSE  )

Referenced by Analysis::Analysis().

+ Here is the caller graph for this function:

h1 SetTitle ( "Depth dose distribution of 1000 keV e- in Ta"  )

Variable Documentation

TH1D* h1 = (TH1D*) f1.Get("8")

Definition at line 9 of file egs.C.

View newest version in sPHENIX GitHub at line 9 of file egs.C

ifstream in

Definition at line 21 of file egs.C.

View newest version in sPHENIX GitHub at line 21 of file egs.C

TLegend* legend = new TLegend(0.6,0.5,0.8,0.70)
in nbdata = 0

Definition at line 28 of file egs.C.

View newest version in sPHENIX GitHub at line 28 of file egs.C

TMarker* pt

Definition at line 25 of file egs.C.

View newest version in sPHENIX GitHub at line 25 of file egs.C

Referenced by __example_2.f__(), __example_6.f__(), __example_7.f__(), __example_8.f__(), TpcSpaceChargeReconstruction::accept_track(), AddFlowToParent(), PHPy6JetTrigger::Apply(), PHPy8JetTrigger::Apply(), G4ParticleHPFissionFS::ApplyYourself(), G4Torus::ApproxSurfaceNormal(), Acts::Test::BOOST_AUTO_TEST_CASE(), G4Trap::BoundingLimits(), G4Trap::CalculateExtent(), G4tgbGeometryDumper::CheckIfPhysVolExists(), PHTruthTrackSeeding::circleFitSeed(), PHActsSiliconSeeding::circleFitSeed(), STCyclotronDetectorConstruction::Construct(), PHInitZVertexing::convertHelixCovarianceToEuclideanCovariance(), PHPatternReco::convertHelixCovarianceToEuclideanCovariance(), PHHoughSeeding::convertHelixCovarianceToEuclideanCovariance(), PHActsSiliconSeeding::createSvtxTrack(), G4QGSMSplitableHadron::DiffractiveSplitUp(), G4Abla::direct(), G4GenericTrap::DistanceToIn(), G4Torus::DistanceToIn(), G4GenericTrap::DistanceToOut(), G4Torus::DistanceToOut(), G4TwistTubsSide::DistanceToSurface(), dokinematics(), FW::TrackSelector::execute(), FW::ParticleSmearing::execute(), kdfinder::export_candidates_json(), kdfinder::export_candidates_json_old(), PHTpcEventExporter::exportEvent(), G4INCL::Nucleus::fillEventInfo(), JetEvaluator::fillOutputNtuples(), SvtxEvaluator::fillOutputNtuples(), G4JTPolynomialSolver::FindRoots(), G4RPGFragmentation::FragmentationIntegral(), G4InuclSpecialFunctions::generateWithFixedTheta(), G4InuclSpecialFunctions::generateWithRandomAngles(), TowerJetInput::get_input(), PHTpcTrackFollower::get_projected_coordinate(), PHGenFit2::Track::get_track_info(), PHTpcTrackFollower::get_track_layer(), G4Trap::GetCubicVolume(), G4ErrorPlaneSurfaceTarget::GetDistanceFromPoint(), kdfinder::TrackCandidate< T >::getMomForHit(), G4Trd::GetPointOnSurface(), G4Para::GetPointOnSurface(), G4Trap::GetPointOnSurface(), getqvec(), AnnularFieldSim::GetStepDistortion(), G4Trap::GetSurfaceArea(), AnnularFieldSim::GetTotalDistortion(), HepPolyhedron::GetVolume(), gmin(), hijcsc(), hijfrg(), hijhrd(), hijing(), hijini(), hijset(), hijsft(), hiptdi(), KFParticle_Tools::isGoodTrack(), jetini(), CaloCalibEmc_Pi0::Loop(), lucell(), luptdi(), lushow(), main(), G4Trap::MakePlanes(), kdfinder::Helix< T >::momentum(), PHSimpleKFProp::MoveToFirstTPCCluster(), FW::ParametricProcessGenerator::operator()(), operator*(), PHRTreeSeeding::Process(), MomentumEvaluator::process_event(), PHG4InputFilter::process_event(), PHG4ParticleGenerator::process_event(), PHG4ParticleGenerator_flat_pT::process_event(), PHG4ParticleGeneratorD0::process_event(), QAG4SimulationUpsilon::process_event(), PHHepMCParticleSelectorDecayProductChain::process_event(), PHG4SimpleEventGenerator::process_event(), G4SnglNtuple::process_event(), PHG4ParticleGeneratorVectorMeson::process_event(), G4SnglTree::process_event(), G4DIRCTree::process_event(), QAG4SimulationTracking::process_event(), PHTpcDeltaZCorrection::process_track(), PHInitZVertexing::pt_to_kappa(), PHPatternReco::pt_to_kappa(), PHHoughSeeding::ptToKappa(), sPHENIXTracker::ptToKappa(), sPHENIXTrackerTpc::ptToKappa(), sPHENIXSeedFinder::ptToKappa(), pycell(), pydisg(), pydocu(), pygaga(), pyhimult(), pyhiremn(), pyhithia(), pymign(), pymirm(), pymult(), pyptdi(), pyqqbh(), pyremn(), pyscat(), pyshow(), pystbh(), pythia(), quench(), G4RPGFragmentation::ReactionStage(), FW::Options::readParticleGunOptions(), G4INCL::EventInfo::remnantToParticle(), G4GeometryMessenger::ResetNavigator(), RUNME(), G4PenelopeBremsstrahlungFS::SampleGammaEnergy(), PHInitZVertexing::set_min_pT(), PHPatternReco::set_min_pT(), PHHoughSeeding::set_min_pT(), KFParticle_sPHENIX::setMinimumTrackPT(), G4LivermorePolarizedGammaConversionModel::SetPhi(), HelixHough::setPrintTimings(), PHSartreParticleTrigger::SetPtHigh(), PHPy8ParticleTrigger::SetPtHigh(), PHPy6ParticleTrigger::SetPtHigh(), PHSartreParticleTrigger::SetPtLow(), PHPy8ParticleTrigger::SetPtLow(), PHPy6ParticleTrigger::SetPtLow(), DetermineTowerBackground::SetSeedJetPt(), G4QGSDiffractiveExcitation::String(), G4Torus::SurfaceNormal(), AnnularFieldSim::swimToInAnalyticSteps(), and G4ErrorMatrix::T().

Double_t x

Definition at line 26 of file egs.C.

View newest version in sPHENIX GitHub at line 26 of file egs.C

Double_t y

Definition at line 26 of file egs.C.

View newest version in sPHENIX GitHub at line 26 of file egs.C