![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
15 for (
unsigned int i=0;
i < nwt;
i++)
31 for (
size_t i = 0;
i < nwt;
i++) {
42 auto trans = std::make_unique<EventType>();
44 return(trans.release());
void add_type(EventTypeCode type_code)
Add a new event type.
void set_mc_channel_number(number_type chan)
Add in the MC generator channel number (aka gen run number)
This class represents the "type of event" where the type is given by one or more "characteristics".
std::vector< float > m_mc_event_weights
This class provides general information about an event. It extends EventInfo with a list of sub-evts ...
uint64_t m_mc_event_number
float mc_event_weight(unsigned int iweight=0) const
Access to MC weight.
number_type mc_channel_number() const
Access to the MC generator channel number (was used as run number for generator events)
virtual EventType * createTransientConst(const EventType_p3 *persObj, MsgStream &log) const override
virtual void transToPers(const EventType *transObj, EventType_p3 *persObj, MsgStream &log) const override
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_mc_event_number(uint64_t evt)
Add in the MC generator event number.
void set_user_type(const std::string &user_type)
Add user (string) type.
uint64_t mc_event_number() const
Access to the MC generator event number.
unsigned int n_mc_event_weights() const
Total number of MC weights.
virtual void persToTrans(const EventType_p3 *persObj, EventType *transObj, MsgStream &log) const override
number_type m_mc_channel_number
const std::string & user_type_raw(void) const
Access to user type.
const BitMask & bit_mask() const