![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
29 auto trans = std::make_unique<EventType>();
31 return(trans.release());
number_type m_mc_event_weight
void add_type(EventTypeCode type_code)
Add a new event type.
This class represents the "type of event" where the type is given by one or more "characteristics".
virtual EventType * createTransientConst(const EventType_p1 *persObj, MsgStream &log) const override
This class provides general information about an event. It extends EventInfo with a list of sub-evts ...
virtual void transToPers(const EventType *transObj, EventType_p1 *persObj, MsgStream &log) const override
float mc_event_weight(unsigned int iweight=0) const
Access to MC weight.
void set_mc_event_weight(float weight, unsigned int iweight=0, unsigned int nWeightsMax=0)
Add in MC weight. For more than 1 weight, add with iweight > 0.
void set_user_type(const std::string &user_type)
Add user (string) type.
unsigned int n_mc_event_weights() const
Total number of MC weights.
virtual void persToTrans(const EventType_p1 *persObj, EventType *transObj, MsgStream &log) const override
const std::string & user_type_raw(void) const
Access to user type.
const BitMask & bit_mask() const