![]() |
EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <EicToyModel/blob/master/include/EtmDetectorStack.h>
Inheritance diagram for EtmDetectorStack:
Collaboration diagram for EtmDetectorStack:Public Member Functions | |
| EtmDetectorStack (const char *label=0, double etamin=0.0, double etamax=0.0) | |
| ~EtmDetectorStack () | |
| EtmDetector * | add (const char *tag, double length) |
| EtmDetector * | add (const char *tag, int color, double length) |
| EtmDetector * | gap (double length) |
| EtmDetector * | marker (void) |
| EtmDetector * | insert (const char *tag, double length, const char *after, unsigned order=0) |
| void | rm (const char *dname) |
| void | rm (const char *dname, unsigned order) |
| void | offset (double dstart=0.0) |
| double | etamin (void) const |
| double | etamax (void) const |
| EtmDetector * | get (const char *dname, unsigned order=0) const |
| void | SetEtaBoundaries (double min, double max) |
| EtmEtaBoundary * | EtaBoundary (unsigned mm) const |
| const TVector2 & | AlignmentAxis (void) const |
| const TString & | GetLabel (void) const |
| unsigned | DetectorCount (void) const |
| const EtmDetector * | GetDetector (unsigned id) const |
Private Member Functions | |
| double | FullLength (void) const |
| void | CalculateAlignmentAxis (void) |
| EtmDetector * | CreateDetector (const char *tag, double length) |
| void | Build (void) |
| void | CalculateActualDistances (void) |
Private Attributes | |
| TString | mLabel |
| std::vector< EtmDetector * > | mDetectors |
| EtmEtaBoundary * | mEtaBoundaries [2] |
| double | mStartingDistance |
| double | mFullLength |
| TVector2 | mAlignmentAxis |
| EtmDetector * | mDummyDetector |
Friends | |
| class | EicToyModel |
| class | EtmAzimuthalScan |
Definition at line 13 of file EtmDetectorStack.h.
View newest version in sPHENIX GitHub at line 13 of file EtmDetectorStack.h
| EtmDetectorStack::EtmDetectorStack | ( | const char * | label = 0, |
| double | etamin = 0.0, |
||
| double | etamax = 0.0 |
||
| ) |
Definition at line 10 of file EtmDetectorStack.cc.
View newest version in sPHENIX GitHub at line 10 of file EtmDetectorStack.cc
References mDummyDetector, mEtaBoundaries, mLabel, and SetEtaBoundaries().
Here is the call graph for this function:
|
inline |
Definition at line 19 of file EtmDetectorStack.h.
View newest version in sPHENIX GitHub at line 19 of file EtmDetectorStack.h
| EtmDetector * EtmDetectorStack::add | ( | const char * | tag, |
| double | length | ||
| ) |
Definition at line 67 of file EtmDetectorStack.cc.
View newest version in sPHENIX GitHub at line 67 of file EtmDetectorStack.cc
References CreateDetector(), EicToyModel::home(), EicToyModel::Instance(), and mDetectors.
Referenced by add(), gap(), and marker().
Here is the call graph for this function:
Here is the caller graph for this function:| EtmDetector * EtmDetectorStack::add | ( | const char * | tag, |
| int | color, | ||
| double | length | ||
| ) |
Definition at line 82 of file EtmDetectorStack.cc.
View newest version in sPHENIX GitHub at line 82 of file EtmDetectorStack.cc
References add(), AddEntry(), and EicToyModel::Instance().
Here is the call graph for this function:
|
inline |
Definition at line 54 of file EtmDetectorStack.h.
View newest version in sPHENIX GitHub at line 54 of file EtmDetectorStack.h
References mAlignmentAxis.
Referenced by EtmDetector::Build(), and EtmDetector::PlaceG4Volume().
Here is the caller graph for this function:
|
private |
Definition at line 215 of file EtmDetectorStack.cc.
View newest version in sPHENIX GitHub at line 215 of file EtmDetectorStack.cc
References mDetectors.
|
private |
Definition at line 198 of file EtmDetectorStack.cc.
View newest version in sPHENIX GitHub at line 198 of file EtmDetectorStack.cc
References eic, EicToyModel::Instance(), mDetectors, mFullLength, and mStartingDistance.
Here is the call graph for this function:
|
private |
Definition at line 128 of file EtmDetectorStack.cc.
View newest version in sPHENIX GitHub at line 128 of file EtmDetectorStack.cc
References cos(), EtmEtaBoundary::GetEta(), M_PI, mAlignmentAxis, and mEtaBoundaries.
Referenced by SetEtaBoundaries().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 42 of file EtmDetectorStack.cc.
View newest version in sPHENIX GitHub at line 42 of file EtmDetectorStack.cc
References color, eic, EicToyModel::Instance(), and printf().
Referenced by add(), and insert().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 56 of file EtmDetectorStack.h.
View newest version in sPHENIX GitHub at line 56 of file EtmDetectorStack.h
References mDetectors.
Referenced by EtmDetector::GetOrder().
Here is the caller graph for this function:
|
inline |
Definition at line 51 of file EtmDetectorStack.h.
View newest version in sPHENIX GitHub at line 51 of file EtmDetectorStack.h
References mEtaBoundaries.
Referenced by EtmDetector::Build(), EicToyModel::ExecuteBoundaryModificationRequests(), and EicToyModel::GetStack().
Here is the caller graph for this function:
|
inline |
Definition at line 43 of file EtmDetectorStack.h.
View newest version in sPHENIX GitHub at line 43 of file EtmDetectorStack.h
References EtmEtaBoundary::GetEta(), and mEtaBoundaries.
Referenced by genevent(), getdeltat(), init(), insudaint(), pdfint(), splitfncint(), and xsecint().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 42 of file EtmDetectorStack.h.
View newest version in sPHENIX GitHub at line 42 of file EtmDetectorStack.h
References EtmEtaBoundary::GetEta(), and mEtaBoundaries.
Referenced by EicToyModel::GetStack().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprivate |
Definition at line 62 of file EtmDetectorStack.h.
View newest version in sPHENIX GitHub at line 62 of file EtmDetectorStack.h
References mFullLength.
Referenced by EicToyModel::CalculateDefaultEtaBoundaries().
Here is the caller graph for this function:
|
inline |
Definition at line 27 of file EtmDetectorStack.h.
View newest version in sPHENIX GitHub at line 27 of file EtmDetectorStack.h
References add().
Here is the call graph for this function:| EtmDetector * EtmDetectorStack::get | ( | const char * | dname, |
| unsigned | order = 0 |
||
| ) | const |
Definition at line 179 of file EtmDetectorStack.cc.
View newest version in sPHENIX GitHub at line 179 of file EtmDetectorStack.cc
References mDetectors, and mDummyDetector.
Referenced by EtmDetector::stretch().
Here is the caller graph for this function:
|
inline |
Definition at line 57 of file EtmDetectorStack.h.
View newest version in sPHENIX GitHub at line 57 of file EtmDetectorStack.h
References mDetectors.
Referenced by EtmDetector::GetOrder().
Here is the caller graph for this function:
|
inline |
Definition at line 55 of file EtmDetectorStack.h.
View newest version in sPHENIX GitHub at line 55 of file EtmDetectorStack.h
References mLabel.
Referenced by EtmDetector::PlaceG4Volume().
Here is the caller graph for this function:| EtmDetector * EtmDetectorStack::insert | ( | const char * | tag, |
| double | length, | ||
| const char * | after, | ||
| unsigned | order = 0 |
||
| ) |
Definition at line 104 of file EtmDetectorStack.cc.
View newest version in sPHENIX GitHub at line 104 of file EtmDetectorStack.cc
References CreateDetector(), eic, EicToyModel::Instance(), it, and mDetectors.
Here is the call graph for this function:| EtmDetector * EtmDetectorStack::marker | ( | void | ) |
Definition at line 90 of file EtmDetectorStack.cc.
View newest version in sPHENIX GitHub at line 90 of file EtmDetectorStack.cc
References _MARKER_, add(), mDummyDetector, and printf().
Here is the call graph for this function:| void EtmDetectorStack::offset | ( | double | dstart = 0.0 | ) |
Definition at line 35 of file EtmDetectorStack.cc.
View newest version in sPHENIX GitHub at line 35 of file EtmDetectorStack.cc
References mStartingDistance.
| void EtmDetectorStack::rm | ( | const char * | dname | ) |
Definition at line 144 of file EtmDetectorStack.cc.
View newest version in sPHENIX GitHub at line 144 of file EtmDetectorStack.cc
References eic, EicToyModel::Instance(), it, and mDetectors.
Referenced by pyqqbh(), pyrvg1(), pyrvg2(), pyrvg3(), pyrvg4(), pyrvi1(), pyrvi2(), pyrvi3(), pyrvr(), strc10(), strc11(), strc20(), and strc21().
Here is the call graph for this function:
Here is the caller graph for this function:| void EtmDetectorStack::rm | ( | const char * | dname, |
| unsigned | order | ||
| ) |
Definition at line 164 of file EtmDetectorStack.cc.
View newest version in sPHENIX GitHub at line 164 of file EtmDetectorStack.cc
References eic, EicToyModel::Instance(), it, and mDetectors.
Here is the call graph for this function:| void EtmDetectorStack::SetEtaBoundaries | ( | double | min, |
| double | max | ||
| ) |
Definition at line 25 of file EtmDetectorStack.cc.
View newest version in sPHENIX GitHub at line 25 of file EtmDetectorStack.cc
References CalculateAlignmentAxis(), mEtaBoundaries, and EtmEtaBoundary::SetEta().
Referenced by EicToyModel::acceptance(), and EtmDetectorStack().
Here is the call graph for this function:
Here is the caller graph for this function:
|
friend |
Definition at line 14 of file EtmDetectorStack.h.
View newest version in sPHENIX GitHub at line 14 of file EtmDetectorStack.h
|
friend |
Definition at line 15 of file EtmDetectorStack.h.
View newest version in sPHENIX GitHub at line 15 of file EtmDetectorStack.h
|
private |
Definition at line 80 of file EtmDetectorStack.h.
View newest version in sPHENIX GitHub at line 80 of file EtmDetectorStack.h
Referenced by AlignmentAxis(), and CalculateAlignmentAxis().
|
private |
Definition at line 74 of file EtmDetectorStack.h.
View newest version in sPHENIX GitHub at line 74 of file EtmDetectorStack.h
Referenced by add(), Build(), CalculateActualDistances(), DetectorCount(), get(), GetDetector(), insert(), and rm().
|
private |
Definition at line 84 of file EtmDetectorStack.h.
View newest version in sPHENIX GitHub at line 84 of file EtmDetectorStack.h
Referenced by EtmDetectorStack(), get(), and marker().
|
private |
Definition at line 76 of file EtmDetectorStack.h.
View newest version in sPHENIX GitHub at line 76 of file EtmDetectorStack.h
Referenced by CalculateAlignmentAxis(), EicToyModel::CalculateDefaultEtaBoundaries(), EtaBoundary(), etamax(), etamin(), EtmDetectorStack(), and SetEtaBoundaries().
|
private |
Definition at line 77 of file EtmDetectorStack.h.
View newest version in sPHENIX GitHub at line 77 of file EtmDetectorStack.h
Referenced by CalculateActualDistances(), and FullLength().
|
private |
Definition at line 70 of file EtmDetectorStack.h.
View newest version in sPHENIX GitHub at line 70 of file EtmDetectorStack.h
Referenced by EtmDetectorStack(), and GetLabel().
|
private |
Definition at line 77 of file EtmDetectorStack.h.
View newest version in sPHENIX GitHub at line 77 of file EtmDetectorStack.h
Referenced by CalculateActualDistances(), EicToyModel::CalculateDefaultEtaBoundaries(), and offset().