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

Go to the source code of this file.

Functions

gStyle SetOptStat (0000)
 
c1 Divide (2, 1)
 
 while (1)
 
 fclose (fp)
 
cout<< " Max and Min Energy
deposits (keV) == "<< edepMax
<< " ; "<< edepMin<< endl;cout
<< " Max and Min Dose deposits
(Gy) == "<< doseMax
<< " ; "<< doseMin<< endl;cout
<< " Maximum Basal Distance
(um) == "<< distMaxB
<< " "<< endl;cout<< " Maximum
Apical Distance (um) == "
<< distMaxA<< " "<< endl;c1-> 
cd (1)
 
h1 Draw ("P")
 
h1 SetMarkerSize (2)
 
h1 SetMarkerColor (4)
 
h1 SetMarkerStyle (27)
 
h1 SetFillStyle (3005)
 
h1 GetXaxis () -> SetTitle("Distance from Soma (um)")
 
h1 GetYaxis () -> SetRangeUser(edepMin, edepMax+3.)
 
 if (distMaxB > 0.)
 
 if (distMaxA > 0.)
 
c1 cd (2)
 
h2 SetMarkerColor (kRed)
 

Variables

 c1 = new TCanvas ("c1","",20,20,1200,600)
 
Int_t ncols =0
 
Int_t nlines = 0
 
FILE * fp = fopen("Dend3DEdep.out","r")
 
Float_t posX
 
Float_t posY
 
Float_t posZ
 
Float_t distB
 
Float_t distA
 
Float_t EdepR
 
Float_t DoseR
 
Float_t distMaxA = -1e-9
 
Float_t distMaxB = -1e-9
 
Float_t edepMax = -1e-9
 
Float_t doseMax = -1e-9
 
Float_t edepMin = 1e9
 
Float_t doseMin = 1e9
 
 h1 = new TProfile("Energy", "Energy deposits (keV) in dendritic compartments",1000,-1000,1000,0.001,1000)
 
 h2 = new TProfile("Dose", "Dose deposits (Gy) in dendritic compartments",1000,-1000,1000,0.001,1000)
 

Function Documentation

cout<< " Max and Min Energy deposits (keV) == " << edepMax << " ; "<< edepMin<<endl;cout << " Max and Min Dose deposits (Gy) == " << doseMax << " ; "<< doseMin<<endl;cout << " Maximum Basal Distance (um) == " << distMaxB << " "<<endl;cout << " Maximum Apical Distance (um) == " << distMaxA << " "<<endl;c1-> cd ( )
c1 cd ( )
c1 Divide ( ,
 
)
h2 Draw ( "P"  )
fclose ( fp  )
h1 GetXaxis ( ) -> SetTitle("Distance from Soma (um)")
h1 GetYaxis ( ) -> SetRangeUser(edepMin, edepMax+3.)
if ( distMaxB  ,
0.   
)

Definition at line 64 of file plotDend.C.

View newest version in sPHENIX GitHub at line 64 of file plotDend.C

if ( distMaxA  ,
0.   
)

Definition at line 69 of file plotDend.C.

View newest version in sPHENIX GitHub at line 69 of file plotDend.C

h2 SetFillStyle ( 3005  )
h1 SetMarkerColor ( )
h2 SetMarkerColor ( kRed  )
h1 SetMarkerSize ( )
h2 SetMarkerStyle ( 27  )
gStyle SetOptStat ( 0000  )
while ( )

Definition at line 31 of file plotDend.C.

View newest version in sPHENIX GitHub at line 31 of file plotDend.C

References distA, distB, DoseR, EdepR, h1, and h2.

Variable Documentation

c1 = new TCanvas ("c1","",20,20,1200,600)

Definition at line 13 of file plotDend.C.

View newest version in sPHENIX GitHub at line 13 of file plotDend.C

Float_t distA

Definition at line 21 of file plotDend.C.

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

Referenced by G4UnionSolid::DistanceToIn(), G4IntersectionSolid::DistanceToOut(), G4SubtractionSolid::DistanceToOut(), and while().

Float_t distB
Float_t distMaxA = -1e-9

Definition at line 22 of file plotDend.C.

View newest version in sPHENIX GitHub at line 22 of file plotDend.C

Float_t distMaxB = -1e-9

Definition at line 23 of file plotDend.C.

View newest version in sPHENIX GitHub at line 23 of file plotDend.C

Float_t doseMax = -1e-9

Definition at line 25 of file plotDend.C.

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

Float_t doseMin = 1e9

Definition at line 27 of file plotDend.C.

View newest version in sPHENIX GitHub at line 27 of file plotDend.C

Float_t DoseR

Definition at line 21 of file plotDend.C.

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

Referenced by while().

Float_t edepMax = -1e-9

Definition at line 24 of file plotDend.C.

View newest version in sPHENIX GitHub at line 24 of file plotDend.C

Referenced by LXeEventAction::EndOfEventAction().

Float_t edepMin = 1e9

Definition at line 26 of file plotDend.C.

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

Float_t EdepR

Definition at line 21 of file plotDend.C.

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

Referenced by while().

FILE* fp = fopen("Dend3DEdep.out","r")

Definition at line 19 of file plotDend.C.

View newest version in sPHENIX GitHub at line 19 of file plotDend.C

h1 = new TProfile("Energy", "Energy deposits (keV) in dendritic compartments",1000,-1000,1000,0.001,1000)

Definition at line 29 of file plotDend.C.

View newest version in sPHENIX GitHub at line 29 of file plotDend.C

h2 = new TProfile("Dose", "Dose deposits (Gy) in dendritic compartments",1000,-1000,1000,0.001,1000)

Definition at line 30 of file plotDend.C.

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

Int_t ncols =0

Definition at line 16 of file plotDend.C.

View newest version in sPHENIX GitHub at line 16 of file plotDend.C

Int_t nlines = 0

Definition at line 17 of file plotDend.C.

View newest version in sPHENIX GitHub at line 17 of file plotDend.C

Float_t posX

Definition at line 20 of file plotDend.C.

View newest version in sPHENIX GitHub at line 20 of file plotDend.C

Referenced by Acts::Test::BOOST_DATA_TEST_CASE(), PHTpcTrackFollower::get_projected_coordinate(), and G4Channeling::UpdateParameters().

Float_t posY

Definition at line 20 of file plotDend.C.

View newest version in sPHENIX GitHub at line 20 of file plotDend.C

Referenced by Acts::Test::BOOST_DATA_TEST_CASE(), PHTpcTrackFollower::get_projected_coordinate(), and G4Channeling::UpdateParameters().

Float_t posZ

Definition at line 20 of file plotDend.C.

View newest version in sPHENIX GitHub at line 20 of file plotDend.C

Referenced by Acts::Test::BOOST_DATA_TEST_CASE(), and PHTpcTrackFollower::get_projected_coordinate().