#include <EventInfo_v1.h>
Public Member Functions | |
SubEvent (uint16_t time, PileUpType type, const ElementLink< EventInfoContainer_v1 > &link) | |
Constructor giving all relevant information to the object. | |
uint16_t | time () const |
Get the time wrt. the signal event (which has time() == 0). | |
PileUpType | type () const |
Get the type of the pileup event. | |
const std::string & | typeName () const |
The string name of the type. | |
const ElementLink < EventInfoContainer_v1 > & | link () const |
Get a link to the EventInfo object describing the pileup event. | |
const EventInfo_v1 * | ptr () const |
Get a pointer to the EventInfo object describing the pileup event. |
Class describing the properties of one pileup sub-event
This class mirrors the setup of PileUpEventInfo::SubEvent. But uses a bit simpler structure on its inside.