Back to home page

EIC code displayed by LXR

 
 

    


Warning, /geant4/examples/advanced/CaTS/Examples.md is written in an unsupported language. File is not indexed.

0001 # Examples
0002 Here we provide examples for running CaTS (without Opticks). The examples consist of a gdml file to define the detector configuration. 
0003 
0004 ## homogeneous Crystal Calorimeter
0005 Here we just read out the energy deposited in a huge Crystal.
0006 
0007     time ./CaTS -g homogeneous_pbwo_crystalcal.gdml  -pl 'FTFP_BERT'  -m pip_IO_Calo.mac
0008     time ./readCalorimeterHits CaloHits_Run0.root CaloHistos.root CalorimeterVolume
0009 
0010 The created histogram can then be looked at using ROOT
0011 
0012 ![alt text](https://github.com/hanswenzel/CaTS/blob/master/images/CaloHistos.png)
0013 
0014 ## Dual Read out Crystal Calorimeter
0015 
0016 Here in addtion to the deposited energy in the calorimeter cell we readout the number of Cerenkov photons that have been produced.
0017 
0018     ./CaTS -g crystalcal_pbwo.gdml -pl 'FTFP_BERT+OPTICAL'  -m pip_IO_DR.mac 
0019     ./readDRCalorimeterHits  DRCaloHits_Run0.root DRCaloHhstos.root CalorimeterVolume
0020 
0021 ## multiple scattering at a thin Diamond layer
0022 
0023 In this example we register the momentum of a particle as it undergaos multiple scatering in a thin Diamond layer. 
0024 
0025     ./CaTS -g DiamondTarget.gdml -pl 'FTFP_BERT' -m msc.mac
0026     ./readMscHits  Msc_Run0.root ms_histos.root 'volTarget'
0027 
0028 
0029 The created histogram can then be looked at using ROOT
0030 
0031 ![alt text](https://github.com/hanswenzel/CaTS/blob/master/images/mscHistos.png)