Simulation of EMC.  
 More...
#include <PndEmc.h>
 | 
|   | PndEmc () | 
|   | 
|   | PndEmc (const char *name, Bool_t active, Bool_t fast=kFALSE, Bool_t storepnts=kTRUE) | 
|   | 
| virtual  | ~PndEmc () | 
|   | 
| virtual void  | Initialize () | 
|   | 
| virtual Bool_t  | ProcessHits (FairVolume *vol=0) | 
|   | 
| virtual void  | EndOfEvent () | 
|   | 
| virtual void  | BeginEvent () | 
|   | 
| virtual void  | Register () | 
|   | 
| virtual TClonesArray *  | GetCollection (Int_t iColl) const | 
|   | 
| virtual void  | Print () const | 
|   | 
| virtual void  | Reset () | 
|   | 
| virtual void  | CopyClones (TClonesArray *cl1, TClonesArray *cl2, Int_t offset) | 
|   | 
| virtual void  | ConstructGeometry () | 
|   | 
| void  | ConstructASCIIGeometry () | 
|   | 
| void  | ConstructRootGeometry () | 
|   | 
| void  | ConstructRootGeomMod12 () | 
|   | 
| void  | ConstructRootGeomMod4 () | 
|   | 
| void  | ConstructRootGeomMod5 () | 
|   | 
| void  | ExpandNode (TGeoVolume *fVol, TGeoVolume *Cave) | 
|   | 
| virtual void  | SetGeometryVersion (const Int_t GeoNumber) | 
|   | 
| virtual void  | SetGeometryFileNameDouble (TString fname, TString fname2, Int_t fwbwchoice=0, TString geoVer="0") | 
|   | 
| virtual void  | SetGeometryFileNameTriple (TString fname, TString fname2, TString fname3, TString geoVer="0") | 
|   | 
| virtual void  | SetGeometryFileNameQuadruple (TString fname, TString fname2, TString fname3, TString fname4, TString geoVer="0") | 
|   | 
| PndEmcPoint *  | AddHit (Int_t trackID, Int_t detID, Int_t evtID, TVector3 pos, TVector3 mom, Double_t tof, Double_t length, Double_t eLoss, Short_t mod, Short_t row, Short_t crys, Short_t copy, Bool_t enterning, Bool_t exiting) | 
|   | 
| void  | SetStorageOfData (Bool_t val) | 
|   | 
| virtual void  | SetSpecialPhysicsCuts () | 
|   | 
Simulation of EMC. 
Definition at line 25 of file PndEmc.h.
 
◆ PndEmc() [1/2]
◆ PndEmc() [2/2]
      
        
          | PndEmc::PndEmc  | 
          ( | 
          const char *  | 
          name,  | 
        
        
           | 
           | 
          Bool_t  | 
          active,  | 
        
        
           | 
           | 
          Bool_t  | 
          fast = kFALSE,  | 
        
        
           | 
           | 
          Bool_t  | 
          storepnts = kTRUE  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Standard constructor. 
- Parameters
 - 
  
    | name | detetcor name  | 
    | active | sensitivity flag  | 
  
   
 
 
◆ ~PndEmc()
  
  
      
        
          | virtual PndEmc::~PndEmc  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
◆ AddHit()
      
        
          | PndEmcPoint* PndEmc::AddHit  | 
          ( | 
          Int_t  | 
          trackID,  | 
        
        
           | 
           | 
          Int_t  | 
          detID,  | 
        
        
           | 
           | 
          Int_t  | 
          evtID,  | 
        
        
           | 
           | 
          TVector3  | 
          pos,  | 
        
        
           | 
           | 
          TVector3  | 
          mom,  | 
        
        
           | 
           | 
          Double_t  | 
          tof,  | 
        
        
           | 
           | 
          Double_t  | 
          length,  | 
        
        
           | 
           | 
          Double_t  | 
          eLoss,  | 
        
        
           | 
           | 
          Short_t  | 
          mod,  | 
        
        
           | 
           | 
          Short_t  | 
          row,  | 
        
        
           | 
           | 
          Short_t  | 
          crys,  | 
        
        
           | 
           | 
          Short_t  | 
          copy,  | 
        
        
           | 
           | 
          Bool_t  | 
          enterning,  | 
        
        
           | 
           | 
          Bool_t  | 
          exiting  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ BeginEvent()
  
  
      
        
          | virtual void PndEmc::BeginEvent  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
◆ ConstructASCIIGeometry()
      
        
          | void PndEmc::ConstructASCIIGeometry  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ ConstructGeometry()
  
  
      
        
          | virtual void PndEmc::ConstructGeometry  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
Virtual method Construct geometry 
 
 
◆ ConstructRootGeometry()
      
        
          | void PndEmc::ConstructRootGeometry  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ ConstructRootGeomMod12()
      
        
          | void PndEmc::ConstructRootGeomMod12  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ ConstructRootGeomMod4()
      
        
          | void PndEmc::ConstructRootGeomMod4  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ ConstructRootGeomMod5()
      
        
          | void PndEmc::ConstructRootGeomMod5  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ CopyClones()
  
  
      
        
          | virtual void PndEmc::CopyClones  | 
          ( | 
          TClonesArray *  | 
          cl1,  | 
         
        
           | 
           | 
          TClonesArray *  | 
          cl2,  | 
         
        
           | 
           | 
          Int_t  | 
          offset  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
virtual   | 
  
 
Virtual method CopyClones
Copies the hit collection with a given track index offset 
- Parameters
 - 
  
    | cl1 | Origin  | 
    | cl2 | Target  | 
    | offset | Index offset  | 
  
   
 
 
◆ EndOfEvent()
  
  
      
        
          | virtual void PndEmc::EndOfEvent  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
Virtual method EndOfEvent
If verbosity level is set, print hit collection at the end of the event and resets it afterwards. 
 
 
◆ ExpandNode()
      
        
          | void PndEmc::ExpandNode  | 
          ( | 
          TGeoVolume *  | 
          fVol,  | 
        
        
           | 
           | 
          TGeoVolume *  | 
          Cave  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ GetCollection()
  
  
      
        
          | virtual TClonesArray* PndEmc::GetCollection  | 
          ( | 
          Int_t  | 
          iColl | ) | 
           const | 
         
       
   | 
  
virtual   | 
  
 
Accessor to the hit collection 
 
 
◆ Initialize()
  
  
      
        
          | virtual void PndEmc::Initialize  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
Virtual method Initialize Initialises detector. Stores volume IDs for MUO detector and mirror. 
 
 
◆ Print()
  
  
      
        
          | virtual void PndEmc::Print  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
virtual   | 
  
 
Virtual method Print
Screen output of hit collection. 
 
 
◆ ProcessHits()
  
  
      
        
          | virtual Bool_t PndEmc::ProcessHits  | 
          ( | 
          FairVolume *  | 
          vol = 0 | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
Virtual method ProcessHits
Defines the action to be taken when a step is inside the active volume. Creates PndEmcPoints and PndEmcMirrorPoints and adds them to the collections. 
- Parameters
 - 
  
    | vol | Pointer to the active volume  | 
  
   
 
 
◆ Register()
  
  
      
        
          | virtual void PndEmc::Register  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
Virtual method Register
Registers the hit collection in the ROOT manager. 
 
 
◆ Reset()
  
  
      
        
          | virtual void PndEmc::Reset  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
Virtual method Reset
Clears the hit collection 
 
 
◆ SetGeometryFileNameDouble()
  
  
      
        
          | virtual void PndEmc::SetGeometryFileNameDouble  | 
          ( | 
          TString  | 
          fname,  | 
         
        
           | 
           | 
          TString  | 
          fname2,  | 
         
        
           | 
           | 
          Int_t  | 
          fwbwchoice = 0,  | 
         
        
           | 
           | 
          TString  | 
          geoVer = "0"  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
virtual   | 
  
 
 
◆ SetGeometryFileNameQuadruple()
  
  
      
        
          | virtual void PndEmc::SetGeometryFileNameQuadruple  | 
          ( | 
          TString  | 
          fname,  | 
         
        
           | 
           | 
          TString  | 
          fname2,  | 
         
        
           | 
           | 
          TString  | 
          fname3,  | 
         
        
           | 
           | 
          TString  | 
          fname4,  | 
         
        
           | 
           | 
          TString  | 
          geoVer = "0"  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
virtual   | 
  
 
 
◆ SetGeometryFileNameTriple()
  
  
      
        
          | virtual void PndEmc::SetGeometryFileNameTriple  | 
          ( | 
          TString  | 
          fname,  | 
         
        
           | 
           | 
          TString  | 
          fname2,  | 
         
        
           | 
           | 
          TString  | 
          fname3,  | 
         
        
           | 
           | 
          TString  | 
          geoVer = "0"  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
virtual   | 
  
 
 
◆ SetGeometryVersion()
  
  
      
        
          | virtual void PndEmc::SetGeometryVersion  | 
          ( | 
          const Int_t  | 
          GeoNumber | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
◆ SetSpecialPhysicsCuts()
  
  
      
        
          | virtual void PndEmc::SetSpecialPhysicsCuts  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
◆ SetStorageOfData()
      
        
          | void PndEmc::SetStorageOfData  | 
          ( | 
          Bool_t  | 
          val | ) | 
           | 
        
      
 
 
The documentation for this class was generated from the following file: