Specialization of the FairDetector for a common BSEmcDetector.
More...
#include <BSEmcDetector.h>
Specialization of the FairDetector for a common BSEmcDetector.
It implements common functionality between the different BSEmc detector components (e.g. Forward/Backward Endcaps, Barrel) such as the ProcessHits, Point-registration, etc. It is almost a one to one copy of T. Stockmanns PndSdsDetector.
- Author
- Tobias Stockmanns
-
B. Salisbury salis.nosp@m.bury.nosp@m.@hisk.nosp@m.p.un.nosp@m.i-bon.nosp@m.n.de
Definition at line 43 of file BSEmcDetector.h.
◆ BSEmcDetector() [1/3]
BSEmcDetector::BSEmcDetector |
( |
| ) |
|
◆ BSEmcDetector() [2/3]
Definition at line 47 of file BSEmcDetector.h.
References BSEmcDetector(), ConstructASCIIGeometry(), ConstructGeometry(), CopyClones(), EndOfEvent(), FinishRun(), GetCollection(), Initialize(), Print(), ProcessHits(), Register(), Reset(), ResetParameters(), SetSpecialPhysicsCuts(), and ~BSEmcDetector().
49 fOutBranchName(other.fOutBranchName), fFolderName(other.fFolderName), fPndEmcCollection(other.fPndEmcCollection), fTransformMatrix(other.fTransformMatrix)
PndSensorNameIdMap * fIdMap
static PndGeoHandling * Instance()
std::vector< std::string > fListOfSensitives
◆ BSEmcDetector() [3/3]
BSEmcDetector::BSEmcDetector |
( |
const char * |
t_name, |
|
|
Bool_t |
t_active |
|
) |
| |
Standard constructor.
- Parameters
-
name | detector name |
active | sensitivity flag |
◆ ~BSEmcDetector()
virtual BSEmcDetector::~BSEmcDetector |
( |
| ) |
|
|
virtual |
◆ AddHit()
BSEmcMCPoint* BSEmcDetector::AddHit |
( |
Int_t |
t_trackID, |
|
|
Int_t |
t_detID, |
|
|
Int_t |
t_evtID, |
|
|
TVector3 |
t_pos, |
|
|
TVector3 |
t_mom, |
|
|
Double_t |
t_tof, |
|
|
Double_t |
t_length, |
|
|
Double_t |
t_eLoss, |
|
|
Bool_t |
t_enterning, |
|
|
Bool_t |
t_exiting |
|
) |
| |
|
protected |
◆ CheckIfSensitive()
Bool_t BSEmcDetector::CheckIfSensitive |
( |
std::string |
t_name | ) |
|
|
protected |
◆ ConstructASCIIGeometry()
virtual void BSEmcDetector::ConstructASCIIGeometry |
( |
| ) |
|
|
virtual |
◆ ConstructGeometry()
virtual void BSEmcDetector::ConstructGeometry |
( |
| ) |
|
|
virtual |
◆ CopyClones()
virtual void BSEmcDetector::CopyClones |
( |
TClonesArray * |
t_origin, |
|
|
TClonesArray * |
t_target, |
|
|
Int_t |
t_offset |
|
) |
| |
|
virtual |
Virtual method CopyClones
Copies the hit collection with a given track index offset
- Parameters
-
cl1 | Origin |
cl2 | Target |
offset | Index offset |
Referenced by BSEmcDetector().
◆ EndOfEvent()
virtual void BSEmcDetector::EndOfEvent |
( |
| ) |
|
|
virtual |
Virtual method EndOfEvent
If verbosity level is set, Print hit collection at the end of the event and resets it afterwards.
Referenced by BSEmcDetector().
◆ FinishRun()
virtual void BSEmcDetector::FinishRun |
( |
| ) |
|
|
virtual |
◆ GetBranchOutName()
const TString& BSEmcDetector::GetBranchOutName |
( |
| ) |
const |
|
inline |
◆ GetCollection()
virtual TClonesArray* BSEmcDetector::GetCollection |
( |
Int_t |
t_iColl | ) |
const |
|
virtual |
◆ GetDetectorId()
virtual Int_t BSEmcDetector::GetDetectorId |
( |
| ) |
|
|
protectedvirtual |
◆ GetFolderName()
const TString& BSEmcDetector::GetFolderName |
( |
| ) |
const |
|
inline |
◆ GetIdMap()
◆ GetListOfSensitives()
const std::vector<std::string>& BSEmcDetector::GetListOfSensitives |
( |
| ) |
|
|
inline |
◆ GetTransformMatrix()
const TGeoMatrix* BSEmcDetector::GetTransformMatrix |
( |
| ) |
const |
|
inline |
◆ Initialize()
virtual void BSEmcDetector::Initialize |
( |
| ) |
|
|
virtual |
◆ Print()
virtual void BSEmcDetector::Print |
( |
| ) |
const |
|
virtual |
Virtual method Print
Screen output of hit collection.
Referenced by BSEmcDetector().
◆ ProcessHits()
virtual Bool_t BSEmcDetector::ProcessHits |
( |
FairVolume * |
t_vol = nullptr | ) |
|
|
virtual |
Virtual method ProcessHits
Defines the action to be taken when a step is inside the active volume. Creates CbmTrdPoints and adds them to the collection.
- Parameters
-
vol | Pointer to the active volume |
Referenced by BSEmcDetector().
◆ Register()
virtual void BSEmcDetector::Register |
( |
| ) |
|
|
virtual |
Virtual method Register
Registers the hit collection in the ROOT manager.
Referenced by BSEmcDetector().
◆ Reset()
virtual void BSEmcDetector::Reset |
( |
| ) |
|
|
virtual |
Virtual method Reset
Clears the hit collection
Referenced by BSEmcDetector().
◆ ResetParameters()
void BSEmcDetector::ResetParameters |
( |
| ) |
|
|
protected |
◆ SetBranchOutName()
void BSEmcDetector::SetBranchOutName |
( |
const TString & |
t_branchout | ) |
|
|
inline |
◆ SetDefaultSensitiveNames()
virtual void BSEmcDetector::SetDefaultSensitiveNames |
( |
| ) |
|
|
inlinevirtual |
◆ SetFolderName()
void BSEmcDetector::SetFolderName |
( |
const TString & |
t_folder | ) |
|
|
inline |
◆ SetIdMap()
◆ SetPersistency()
void BSEmcDetector::SetPersistency |
( |
Bool_t |
t_storePoints | ) |
|
|
inline |
◆ SetSensitiveNames()
void BSEmcDetector::SetSensitiveNames |
( |
const std::vector< std::string > & |
t_sensNames | ) |
|
|
inline |
◆ SetSpecialPhysicsCuts()
virtual void BSEmcDetector::SetSpecialPhysicsCuts |
( |
| ) |
|
|
virtual |
◆ SetTransformMatrix()
void BSEmcDetector::SetTransformMatrix |
( |
TGeoMatrix * |
t_transform | ) |
|
|
inline |
◆ fGeoH
◆ fIdMap
◆ fListOfSensitives
std::vector<std::string> BSEmcDetector::fListOfSensitives {} |
|
protected |
The documentation for this class was generated from the following file: