#include <EncodedTruthId.h>
Public Member Functions | |
EncodedTruthId () | |
EncodedTruthId (EncodedEventId eid, int index) | |
int | index () const |
int | operator!= (const EncodedTruthId &id) const |
int | operator< (const EncodedTruthId &id) const |
int | operator== (const EncodedTruthId &id) const |
Public Member Functions inherited from EncodedEventId | |
int | bunchCrossing () const |
get the detector field from this detid More... | |
EncodedEventId () | |
Create an empty or null id (also for persistence) More... | |
EncodedEventId (uint32_t id) | |
Create an id from a raw number. More... | |
EncodedEventId (int bunchX, int event) | |
Create an id, filling the bunch crossing and event infomrations. More... | |
int | event () const |
get the contents of the subdetector field (should be protected?) More... | |
int | operator!= (const EncodedEventId &id) const |
inequality More... | |
uint32_t | operator() () const |
int | operator< (const EncodedEventId &id) const |
comparison More... | |
int | operator== (const EncodedEventId &id) const |
equality More... | |
uint32_t | rawId () const |
get the raw id More... | |
Private Attributes | |
int | index_ |
Friends | |
std::ostream & | operator<< (std::ostream &os, const EncodedTruthId &id) |
Additional Inherited Members | |
Protected Attributes inherited from EncodedEventId | |
uint32_t | id_ |
Definition at line 7 of file EncodedTruthId.h.
EncodedTruthId::EncodedTruthId | ( | ) |
Definition at line 3 of file EncodedTruthId.cc.
EncodedTruthId::EncodedTruthId | ( | EncodedEventId | eid, |
int | index | ||
) |
Definition at line 5 of file EncodedTruthId.cc.
|
inline |
Definition at line 16 of file EncodedTruthId.h.
References index_.
Referenced by BeautifulSoup.PageElement::_invert().
|
inline |
Definition at line 27 of file EncodedTruthId.h.
References operator==().
|
inline |
|
inline |
Definition at line 19 of file EncodedTruthId.h.
References index_, Utilities::operator, and EncodedEventId::operator==().
Referenced by operator!=().
|
friend |
|
private |
Definition at line 38 of file EncodedTruthId.h.
Referenced by index(), operator<(), and operator==().