FairRoot
|
#include <FairFastSimDetector.h>
Public Member Functions | |
FairFastSimDetector () | |
FairFastSimDetector (const char *name, Int_t DetId=0) | |
virtual | ~FairFastSimDetector () |
virtual void | Initialize ()=0 |
virtual Bool_t | ProcessHits (FairVolume *vol=0) final |
virtual void | EndOfEvent () |
virtual void | Register ()=0 |
virtual TClonesArray * | GetCollection (Int_t iColl) const =0 |
virtual void | Reset ()=0 |
virtual void | ConstructGeometry () |
Public Member Functions inherited from FairDetector | |
FairDetector (const char *Name, Bool_t Active, Int_t DetId=0) | |
FairDetector () | |
virtual | ~FairDetector () |
virtual void | CopyClones (TClonesArray *, TClonesArray *, Int_t) |
virtual void | FinishPrimary () |
virtual void | FinishRun () |
virtual void | BeginPrimary () |
virtual void | PostTrack () |
virtual void | PreTrack () |
virtual void | BeginEvent () |
virtual void | FinishEvent () |
void | SaveGeoParams () |
Int_t | GetDetId () |
Public Member Functions inherited from FairModule | |
FairModule () | |
FairModule (const char *Name, const char *title, Bool_t Active=kFALSE) | |
virtual | ~FairModule () |
virtual void | Print (Option_t *) const |
virtual void | SetGeometryFileName (TString fname, TString geoVer="0") |
virtual TString | GetGeometryFileName () |
virtual TString | GetGeometryFileVer () |
virtual void | ConstructOpGeometry () |
virtual void | ConstructRootGeometry (TGeoMatrix *shiftM=nullptr) |
virtual void | ConstructASCIIGeometry () |
virtual void | ModifyGeometry () __attribute__((deprecated("Use FairAlignmentHandler instead |
virtual void see Tutorial4 for examples | LOG (warn)<< "This function is deprecated. Use FairAlignmentHandler instead |
virtual void | RegisterAlignmentMatrices () |
virtual void | ConstructGDMLGeometry (__attribute__((unused)) TGeoMatrix *posrot) |
virtual void | SetSpecialPhysicsCuts () |
virtual FairModule * | CloneModule () const |
virtual void | BeginWorkerRun () const |
virtual void | FinishWorkerRun () const |
template<class T , class U > | |
void | ConstructASCIIGeometry (T *dataType1, TString containerName="", U *datatype2=nullptr) |
virtual Bool_t | IsSensitive (const std::string &name) |
virtual Bool_t | CheckIfSensitive (__attribute__((unused)) std::string name) __attribute__((deprecated("The method CheckIfSensitive is deprecated. Implement IsSensitive in the detector classes."))) |
virtual void | ExpandNode (TGeoNode *Node) |
virtual void | ExpandNodeForGDML (__attribute__((unused)) TGeoNode *curNode) |
virtual Int_t | getVolId (const TString &) const |
Int_t | GetModId () |
void | SetVerboseLevel (Int_t level) |
Bool_t | IsActive () |
void | SetModId (Int_t id) |
void | SetMotherVolume (TString volName) |
void | ProcessNodes (TList *aList) |
virtual void | SetParContainers () |
virtual void | InitParContainers () |
TList * | GetListOfGeoPar () |
FairVolume * | getFairVolume (FairGeoNode *fNode) |
void | AddSensitiveVolume (TGeoVolume *v) |
Protected Member Functions | |
virtual void | FastSimProcessParticle ()=0 |
FairFastSimDetector (const FairFastSimDetector &) | |
FairFastSimDetector & | operator= (const FairFastSimDetector &) |
ClassDef (FairFastSimDetector, 1) | |
Protected Member Functions inherited from FairDetector | |
FairDetector (const FairDetector &) | |
FairDetector & | operator= (const FairDetector &) |
void | DefineSensitiveVolumes () |
ClassDef (FairDetector, 1) | |
/// FairLogger More... | |
Protected Member Functions inherited from FairModule | |
FairModule (const FairModule &) | |
FairModule & | operator= (const FairModule &) |
ClassDef (FairModule, 4) | |
cahed pointer to MC (available only after initialization) More... | |
Protected Attributes | |
TGeoMedium * | fFastSimMedium |
Protected Attributes inherited from FairDetector | |
Int_t | fDetId |
FairLogger * | fLogger |
Protected Attributes inherited from FairModule | |
TString | fgeoVer |
TString | fgeoName |
Int_t | fModId |
Bool_t | fActive |
Int_t | fNbOfSensitiveVol |
Int_t | fVerboseLevel |
TList * | flGeoPar |
Bool_t | fGeoSaved |
list of Detector Geometry parameters More... | |
TVirtualMC * | fMC |
flag for initialisation More... | |
Additional Inherited Members | |
Public Attributes inherited from FairModule | |
virtual void see Tutorial4 for examples see Tutorial4 for | examples |
TString | fMotherVolumeName |
Static Public Attributes inherited from FairModule | |
static thread_local FairVolumeList * | vList = 0 |
static thread_local Int_t | fNbOfVolumes = 0 |
static thread_local TRefArray * | svList = 0 |
static thread_local TArrayI * | volNumber = 0 |
Definition at line 19 of file FairFastSimDetector.h.
FairFastSimDetector::FairFastSimDetector | ( | ) |
Definition at line 19 of file FairFastSimDetector.cxx.
FairFastSimDetector::FairFastSimDetector | ( | const char * | name, |
Int_t | DetId = 0 |
||
) |
Definition at line 24 of file FairFastSimDetector.cxx.
|
virtual |
Definition at line 34 of file FairFastSimDetector.cxx.
|
protected |
Definition at line 29 of file FairFastSimDetector.cxx.
|
protected |
|
virtual |
method called from the MC application to construct the geometry, has to be implimented by user
Reimplemented from FairModule.
Reimplemented in FairFastSimExample, and FairFastSimExample2.
Definition at line 36 of file FairFastSimDetector.cxx.
|
inlinevirtual |
this is called at the end of an event after the call to tree fill in the FairRootManager
Reimplemented from FairDetector.
Reimplemented in FairFastSimExample, and FairFastSimExample2.
Definition at line 32 of file FairFastSimDetector.h.
|
protectedpure virtual |
Implemented in FairFastSimExample, and FairFastSimExample2.
|
pure virtual |
Gets the produced collections
Implements FairDetector.
Implemented in FairFastSimExample, and FairFastSimExample2.
|
pure virtual |
Initialization of the detector is done here
Reimplemented from FairDetector.
Implemented in FairFastSimExample, and FairFastSimExample2.
|
protected |
|
finalvirtual |
this method is called for each step during simulation (see FairMCApplication::Stepping())
Implements FairDetector.
Definition at line 62 of file FairFastSimDetector.cxx.
|
pure virtual |
Registers the produced collections in FAIRRootManager.
Implements FairDetector.
Implemented in FairFastSimExample, and FairFastSimExample2.
|
pure virtual |
has to be called after each event to reset the containers
Implements FairDetector.
Implemented in FairFastSimExample, and FairFastSimExample2.
|
protected |
Definition at line 45 of file FairFastSimDetector.h.