FairRoot
|
#include <FairTutorialDet4.h>
Public Member Functions | |
FairTutorialDet4 (const char *Name, Bool_t Active) | |
FairTutorialDet4 () | |
virtual | ~FairTutorialDet4 () |
virtual void | Initialize () |
virtual void | InitParContainers () |
virtual Bool_t | ProcessHits (FairVolume *v=0) |
virtual void | Register () |
virtual TClonesArray * | GetCollection (Int_t iColl) const |
virtual void | Reset () |
void | ConstructGeometry () |
void | SetParContainers () |
FairTutorialDet4Point * | AddHit (Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, Double_t time, Double_t length, Double_t eLoss) |
virtual void | SetSpecialPhysicsCuts () |
virtual void | EndOfEvent () |
virtual void | FinishPrimary () |
virtual void | FinishRun () |
virtual void | BeginPrimary () |
virtual void | PostTrack () |
virtual void | PreTrack () |
virtual void | BeginEvent () |
void | SetModifyGeometry (Bool_t val) |
void | SetGlobalCoordinates (Bool_t val) |
virtual FairModule * | CloneModule () const |
std::map< std::string, TGeoHMatrix > | getMisalignmentMatrices () |
virtual void | RegisterAlignmentMatrices () |
virtual Bool_t | IsSensitive (const std::string &name) |
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 | 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 | ModifyGeometry () __attribute__((deprecated("Use FairAlignmentHandler instead |
virtual void see Tutorial4 for examples | LOG (warn)<< "This function is deprecated. Use FairAlignmentHandler instead |
virtual void | ConstructGDMLGeometry (__attribute__((unused)) TGeoMatrix *posrot) |
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 | 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) |
TList * | GetListOfGeoPar () |
FairVolume * | getFairVolume (FairGeoNode *fNode) |
void | AddSensitiveVolume (TGeoVolume *v) |
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 |
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 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... | |
Definition at line 29 of file FairTutorialDet4.h.
FairTutorialDet4::FairTutorialDet4 | ( | const char * | Name, |
Bool_t | Active | ||
) |
Name : Detector Name Active: kTRUE for active detectors (ProcessHits() will be called) kFALSE for inactive detectors
Definition at line 53 of file FairTutorialDet4.cxx.
FairTutorialDet4::FairTutorialDet4 | ( | ) |
default constructor
Definition at line 30 of file FairTutorialDet4.cxx.
|
virtual |
destructor
Definition at line 99 of file FairTutorialDet4.cxx.
FairTutorialDet4Point * FairTutorialDet4::AddHit | ( | Int_t | trackID, |
Int_t | detID, | ||
TVector3 | pos, | ||
TVector3 | mom, | ||
Double_t | time, | ||
Double_t | length, | ||
Double_t | eLoss | ||
) |
This method is an example of how to add your own point of type FairTutorialDet4Point to the clones array
Definition at line 343 of file FairTutorialDet4.cxx.
|
inlinevirtual |
User actions at beginning of event
Reimplemented from FairDetector.
Definition at line 87 of file FairTutorialDet4.h.
|
inlinevirtual |
User actions at beginning of a primary track
Reimplemented from FairDetector.
Definition at line 84 of file FairTutorialDet4.h.
|
virtual |
Clone this object (used in MT mode only)
Reimplemented from FairModule.
Definition at line 356 of file FairTutorialDet4.cxx.
|
virtual |
Create the detector geometry
Reimplemented from FairModule.
Definition at line 239 of file FairTutorialDet4.cxx.
|
virtual |
this is called at the end of an event after the call to tree fill in the FairRootManager
Reimplemented from FairDetector.
Definition at line 215 of file FairTutorialDet4.cxx.
|
inlinevirtual |
User actions after finishing of a primary track
Reimplemented from FairDetector.
Definition at line 82 of file FairTutorialDet4.h.
|
inlinevirtual |
|
virtual |
Gets the produced collections
Implements FairDetector.
Definition at line 228 of file FairTutorialDet4.cxx.
std::map< std::string, TGeoHMatrix > FairTutorialDet4::getMisalignmentMatrices | ( | ) |
Definition at line 270 of file FairTutorialDet4.cxx.
|
virtual |
Initialization of the detector is done here
Reimplemented from FairDetector.
Definition at line 122 of file FairTutorialDet4.cxx.
|
virtual |
Init parameter containers
Reimplemented from FairModule.
Definition at line 145 of file FairTutorialDet4.cxx.
|
virtual |
Set the sensitivity flag for volumes, called from ConstructASCIIRootGeometry(), and has to be implimented for detectors which use ConstructASCIIRootGeometry() to build the geometry
Reimplemented from FairModule.
Definition at line 253 of file FairTutorialDet4.cxx.
|
inlinevirtual |
User actions after finishing of each track
Reimplemented from FairDetector.
Definition at line 85 of file FairTutorialDet4.h.
|
inlinevirtual |
User actions at beginning of each track
Reimplemented from FairDetector.
Definition at line 86 of file FairTutorialDet4.h.
|
virtual |
this method is called for each step during simulation (see FairMCApplication::Stepping())
This method is called from the MC stepping
Implements FairDetector.
Definition at line 157 of file FairTutorialDet4.cxx.
|
virtual |
Registers the produced collections in FAIRRootManager.
This will create a branch in the output tree called FairTutorialDet4Point, setting the last parameter to kFALSE means: this collection will not be written to the file, it will exist only during the simulation.
Implements FairDetector.
Definition at line 217 of file FairTutorialDet4.cxx.
|
virtual |
Reimplemented from FairModule.
Definition at line 305 of file FairTutorialDet4.cxx.
|
virtual |
has to be called after each event to reset the containers
Implements FairDetector.
Definition at line 237 of file FairTutorialDet4.cxx.
|
inline |
Definition at line 90 of file FairTutorialDet4.h.
|
inline |
Definition at line 89 of file FairTutorialDet4.h.
|
virtual |
Set the parameter containers
Reimplemented from FairModule.
Definition at line 109 of file FairTutorialDet4.cxx.
|
inlinevirtual |
The following methods can be implemented if you need to make any optional action in your detector during the transport.
Reimplemented from FairModule.
Definition at line 80 of file FairTutorialDet4.h.