1#ifndef RECON_EVENT_CALOTRIGPRIM_H_
2#define RECON_EVENT_CALOTRIGPRIM_H_
18typedef std::vector<CaloTrigPrim> CaloTrigPrimCollection;
109 const CaloTrigPrimCollection &c);
Contains the trigger output for generic calo objects.
CaloTrigPrim(uint32_t tid, uint32_t tp=0)
Preferred Constructor.
friend std::ostream & operator<<(std::ostream &s, const CaloTrigPrim &c)
Stream the input CaloTP.
uint32_t getId() const
Get the id of the CaloTP.
void Print() const
Print a description of this object.
bool operator<(const CaloTrigPrim &c)
Sort the collection of CaloTPs by the raw ID.
CaloTrigPrim()=default
Default Constructor.
virtual ~CaloTrigPrim()=default
Destructor.
uint32_t getPrimitive() const
Get the trigger primitive value for the given channel.
ClassDef(CaloTrigPrim, 1)
ROOT Dictionary class definition macro.
friend std::ostream & operator<<(std::ostream &s, const CaloTrigPrimCollection &c)
Stream the input tp collection.
uint32_t tp_
the integer trigger primitive value for this channel
uint32_t tid_
the raw ID for this trigger channel
void setPrimitive(uint32_t tp)
Set the trigger primitive value for the given channel @params[in] tp the value of the trigger primiti...