- bouchet's home page
- Posts
- 2016
- 2015
- December (1)
- November (3)
- October (2)
- September (2)
- August (2)
- June (2)
- April (5)
- March (2)
- February (3)
- January (2)
- 2014
- December (2)
- November (2)
- October (3)
- September (2)
- August (3)
- July (1)
- June (3)
- May (6)
- April (6)
- March (1)
- February (2)
- January (1)
- 2013
- December (2)
- November (3)
- October (3)
- September (4)
- August (1)
- July (1)
- May (4)
- April (6)
- March (4)
- February (3)
- 2012
- 2011
- December (2)
- November (2)
- October (4)
- September (1)
- August (2)
- July (6)
- June (2)
- May (3)
- April (3)
- March (2)
- 2010
- 2009
- December (2)
- November (1)
- October (3)
- September (1)
- August (1)
- July (1)
- June (2)
- April (1)
- March (2)
- February (2)
- January (1)
- 2008
- My blog
- Post new blog entry
- All blogs
use of StarBASE to plot detector material
# Checkout and compile the StarBASE library
$ cvs co StarVMC/StarBASE $ cons
# Create symbolic links for convenience
$ ln -s StarVMC/StarBASE/macros/starbase.py . $ ln -s StarVMC/StarBASE/macros/differential.py .
# Get the options for the two codes
$ ./starbase.py --help $ ./differential.py --help
# Run the code for two geometry tags which you are interested in comparing
$ ./starbase.py --phimin=-1.5 --phimax=+1.5 --geom=y2006 $ ./starbase.py --phimin=-1.5 --phimax=+1.5 --geom=y2006h
note : y2006, y2006h geometry files must be created and placed where you run
# Generate a comparison of the two geometries
$ ./differential --base=y2006 --geom=y2006h
# Examine in more details changes made to specific volumes
$ ./differential --base=y2006 --geom=y2006h --volume=SVTT $ ./differential --base=y2006 --geom=y2006h --volume=EMSS $ ./differential --base=y2006 --geom=y2006h --volume=CALB
- setup starbase.C :
//-- const Float_t eta_min = -6.0; // min pseudorapidity const Float_t eta_max = +6.0; // max pseudorapidity const Float_t deta = 0.02; // size of etabin //-- //const Float_t phi_min =-1.00; // min phi (in degrees) //const Float_t phi_max =+1.00; // max phi (in degrees) const Float_t phi_min =-15.000; // min phi (in degrees) const Float_t phi_max =+15.000; // max phi (in degrees) const Float_t dphi = 0.120; // size of phibin (in degrees) //-- const Float_t nsample = 4.0; // number of tracks / bin
- upgr15 material length
The following pdf shows, for each of the GEANT volumes :
- SFMO = SSD
- PXMO = PXL
- IBMO = IST
the radiation length vs :
- phi
- eta
- r
- z
The setup I've chosen is :
- -6 < eta < 6 with binning deta=0.1
- -1.5 < phi < 1.5 with binning dphi=1
- 50 geantinos in each of the 12/0.1=120 * 3/1=3 = 360 bins
Feb. , 4th
PXMO volumes vs phi : here
|eta|<.2, deta=0.1, |phi|<180, dphi=.05 ntrig=100
PXMO volumes vs eta,z,R : here
|eta|<6, deta=0.1, |phi|<.1, dphi=.1, ntrig=100
Feb, 13th
to modify the binning of histograms / add anothers :
in StMCStepping.cxx :
hRadlenHist1D_r[ vid ] = new TH1D( Form("h_radlen_%s_r",vname), Form("Depth vs r [%s];r [cm];L/#chi_{0}",vname), 500,0.0,+500.0);
to modify the position of z vertex :
in StarBASE.cxx
mGenerator->SetGenerator( nsample, 48, 10, 10, eta-deta/2, eta+deta/2, phi-dphi/2, phi+dphi/2, 0., 0., "G" );
- bouchet's blog
- Login or register to post comments