Class Reference for E1039 Core & Analysis Software
|
#include </dev/shm/kenichi/update-github-e1039-doc/e1039-core/packages/reco/interface/TriggerRoad.h>
Public Member Functions | |
TriggerRoad () | |
TriggerRoad (std::list< int > uniqueIDs) | |
TriggerRoad (Tracklet &track) | |
TriggerRoad (SRecTrack &track) | |
bool | isValid () |
bool | isEnabled () |
TriggerRoad | reflectTB () |
TriggerRoad | reflectLR () |
void | addElement (int detectorID, int elementID) |
void | enable () |
void | disable () |
int | getNElements () |
int | getDetectorID (int i) |
int | getElementID (int i) |
int | getUniqueID (int i) |
int | getRoadID () |
double | weight () const |
double | ratio () const |
double | mratio () const |
int | getNEntries () const |
double | getpXMean () const |
double | getpXWidth () const |
int | getTB () |
int | getLR () |
void | print () |
void | clear () |
bool | operator== (const TriggerRoad &elem) const |
TriggerRoad & | operator+= (const TriggerRoad &elem) |
Static Public Member Functions | |
static bool | byTargetDump (const TriggerRoad &elem1, const TriggerRoad &elem2) |
static bool | byWeight (const TriggerRoad &elem1, const TriggerRoad &elem2) |
static bool | byMass (const TriggerRoad &elem1, const TriggerRoad &elem2) |
static bool | byPt (const TriggerRoad &elem1, const TriggerRoad &elem2) |
static bool | byRndFrequency (const TriggerRoad &elem1, const TriggerRoad &elem2) |
static std::list< TriggerRoad > | makeRoadList (int nHits, int dIDs[], int eIDs[], double z, double mass, double pX, double weight) |
Public Attributes | |
int | nPlus |
int | nMinus |
int | roadID |
int | groupID |
double | targetWeight |
double | dumpWeight |
double | lowMWeight |
double | highMWeight |
std::vector< double > | pXs |
double | px_min |
double | px_max |
double | px_mean |
double | rndf |
bool | enabled |
std::vector< int > | detectorIDs |
std::vector< int > | elementIDs |
Friends | |
std::ostream & | operator<< (std::ostream &os, const TriggerRoad &road) |
Definition at line 16 of file TriggerRoad.h.
TriggerRoad::TriggerRoad | ( | ) |
TriggerRoad::TriggerRoad | ( | std::list< int > | uniqueIDs | ) |
Definition at line 32 of file TriggerRoad.cxx.
References addElement().
TriggerRoad::TriggerRoad | ( | Tracklet & | track | ) |
Definition at line 45 of file TriggerRoad.cxx.
References detectorIDs, elementIDs, GeomSvc::getExpElementID(), Tracklet::getExpPositionX(), Tracklet::getExpPositionY(), GeomSvc::getPlanePosition(), GeomSvc::instance(), and GeomSvc::isInPlane().
TriggerRoad::TriggerRoad | ( | SRecTrack & | track | ) |
Definition at line 72 of file TriggerRoad.cxx.
References detectorIDs, elementIDs, GeomSvc::getExpElementID(), SRecTrack::getExpPositionFast(), GeomSvc::getPlanePosition(), GeomSvc::instance(), and GeomSvc::isInPlane().
void TriggerRoad::addElement | ( | int | detectorID, |
int | elementID | ||
) |
Definition at line 158 of file TriggerRoad.cxx.
References detectorIDs, and elementIDs.
Referenced by TriggerAnalyzer::init(), makeRoadList(), and TriggerRoad().
|
static |
Definition at line 190 of file TriggerRoad.cxx.
References mratio().
|
static |
Definition at line 195 of file TriggerRoad.cxx.
References px_min.
|
static |
Definition at line 200 of file TriggerRoad.cxx.
References rndf.
|
static |
Definition at line 180 of file TriggerRoad.cxx.
References ratio().
|
static |
Definition at line 185 of file TriggerRoad.cxx.
References weight().
void TriggerRoad::clear | ( | ) |
Definition at line 144 of file TriggerRoad.cxx.
References detectorIDs, dumpWeight, elementIDs, enabled, pXs, roadID, and targetWeight.
Referenced by TriggerAnalyzer::init().
|
inline |
Definition at line 37 of file TriggerRoad.h.
References enabled.
|
inline |
Definition at line 36 of file TriggerRoad.h.
References enabled.
Referenced by makeRoadList().
|
inline |
Definition at line 41 of file TriggerRoad.h.
References detectorIDs.
|
inline |
Definition at line 42 of file TriggerRoad.h.
References elementIDs.
int TriggerRoad::getLR | ( | ) |
Definition at line 252 of file TriggerRoad.cxx.
References detectorIDs, elementIDs, GeomSvc::getPlaneNElements(), and GeomSvc::instance().
|
inline |
Definition at line 40 of file TriggerRoad.h.
References detectorIDs.
|
inline |
Definition at line 53 of file TriggerRoad.h.
References pXs.
double TriggerRoad::getpXMean | ( | ) | const |
Definition at line 223 of file TriggerRoad.cxx.
References pXs.
double TriggerRoad::getpXWidth | ( | ) | const |
Definition at line 241 of file TriggerRoad.cxx.
int TriggerRoad::getRoadID | ( | ) |
Definition at line 234 of file TriggerRoad.cxx.
References detectorIDs, elementIDs, and getTB().
Referenced by TriggerAnalyzer::acceptEvent(), SQReco::fitTrackCand(), Tracklet::getSRecTrack(), TriggerAnalyzer::init(), KalmanFastTracking::processOneTracklet(), KalmanDSTrk::processOneTracklet(), and TriggerAnalyzer::search().
int TriggerRoad::getTB | ( | ) |
Definition at line 277 of file TriggerRoad.cxx.
References detectorIDs.
Referenced by getRoadID(), isValid(), and reflectTB().
|
inline |
Definition at line 43 of file TriggerRoad.h.
References detectorIDs, and elementIDs.
|
inline |
Definition at line 26 of file TriggerRoad.h.
References enabled.
bool TriggerRoad::isValid | ( | ) |
Definition at line 104 of file TriggerRoad.cxx.
References detectorIDs, enabled, and getTB().
Referenced by TriggerAnalyzer::init(), and makeRoadList().
|
static |
Definition at line 324 of file TriggerRoad.cxx.
References addElement(), dumpWeight, enable(), GeomSvc::getDetectorName(), highMWeight, GeomSvc::instance(), isValid(), lowMWeight, px_max, px_mean, px_min, pXs, reflectTB(), targetWeight, and weight().
|
inline |
Definition at line 50 of file TriggerRoad.h.
References highMWeight, and lowMWeight.
Referenced by byMass().
TriggerRoad & TriggerRoad::operator+= | ( | const TriggerRoad & | elem | ) |
Definition at line 205 of file TriggerRoad.cxx.
References dumpWeight, highMWeight, lowMWeight, nMinus, nPlus, px_max, px_mean, px_min, pXs, and targetWeight.
bool TriggerRoad::operator== | ( | const TriggerRoad & | elem | ) | const |
Definition at line 166 of file TriggerRoad.cxx.
References detectorIDs, and elementIDs.
void TriggerRoad::print | ( | ) |
Definition at line 115 of file TriggerRoad.cxx.
References detectorIDs, elementIDs, and ratio().
|
inline |
Definition at line 49 of file TriggerRoad.h.
References dumpWeight, and targetWeight.
Referenced by byTargetDump(), and print().
TriggerRoad TriggerRoad::reflectLR | ( | ) |
Definition at line 310 of file TriggerRoad.cxx.
References detectorIDs, elementIDs, GeomSvc::getPlaneNElements(), and GeomSvc::instance().
TriggerRoad TriggerRoad::reflectTB | ( | ) |
Definition at line 297 of file TriggerRoad.cxx.
References detectorIDs, and getTB().
Referenced by makeRoadList().
|
inline |
Definition at line 48 of file TriggerRoad.h.
References dumpWeight, and targetWeight.
Referenced by byWeight(), and makeRoadList().
|
friend |
Definition at line 125 of file TriggerRoad.cxx.
std::vector<int> TriggerRoad::detectorIDs |
Definition at line 115 of file TriggerRoad.h.
Referenced by addElement(), ClassImp(), clear(), getDetectorID(), getLR(), getNElements(), getRoadID(), getTB(), getUniqueID(), isValid(), operator==(), print(), reflectLR(), reflectTB(), and TriggerRoad().
double TriggerRoad::dumpWeight |
Definition at line 98 of file TriggerRoad.h.
Referenced by ClassImp(), clear(), makeRoadList(), operator+=(), ratio(), and weight().
std::vector<int> TriggerRoad::elementIDs |
Definition at line 116 of file TriggerRoad.h.
Referenced by addElement(), ClassImp(), clear(), getElementID(), getLR(), getRoadID(), getUniqueID(), operator==(), print(), reflectLR(), and TriggerRoad().
bool TriggerRoad::enabled |
Definition at line 112 of file TriggerRoad.h.
Referenced by ClassImp(), clear(), disable(), enable(), isEnabled(), and isValid().
int TriggerRoad::groupID |
Definition at line 94 of file TriggerRoad.h.
Referenced by TriggerAnalyzer::init().
double TriggerRoad::highMWeight |
Definition at line 100 of file TriggerRoad.h.
Referenced by ClassImp(), makeRoadList(), mratio(), and operator+=().
double TriggerRoad::lowMWeight |
Definition at line 99 of file TriggerRoad.h.
Referenced by ClassImp(), makeRoadList(), mratio(), and operator+=().
int TriggerRoad::nMinus |
Definition at line 63 of file TriggerRoad.h.
Referenced by ClassImp(), and operator+=().
int TriggerRoad::nPlus |
Definition at line 62 of file TriggerRoad.h.
Referenced by ClassImp(), and operator+=().
double TriggerRoad::px_max |
Definition at line 105 of file TriggerRoad.h.
Referenced by ClassImp(), makeRoadList(), and operator+=().
double TriggerRoad::px_mean |
Definition at line 106 of file TriggerRoad.h.
Referenced by ClassImp(), getpXWidth(), makeRoadList(), and operator+=().
double TriggerRoad::px_min |
Definition at line 104 of file TriggerRoad.h.
Referenced by byPt(), ClassImp(), makeRoadList(), and operator+=().
std::vector<double> TriggerRoad::pXs |
Definition at line 103 of file TriggerRoad.h.
Referenced by clear(), getNEntries(), getpXMean(), getpXWidth(), makeRoadList(), and operator+=().
double TriggerRoad::rndf |
Definition at line 109 of file TriggerRoad.h.
Referenced by byRndFrequency(), and ClassImp().
int TriggerRoad::roadID |
Definition at line 91 of file TriggerRoad.h.
Referenced by clear(), and TriggerAnalyzer::init().
double TriggerRoad::targetWeight |
Definition at line 97 of file TriggerRoad.h.
Referenced by ClassImp(), clear(), makeRoadList(), operator+=(), ratio(), and weight().