![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
16 std::string user_type;
22 for (
size_t ii = 0; ii <
bit_mask.size(); ii++) {
double decode(number_type binnedWeight)
Convert weight from unsigned to double.
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".
This class provides general information about an event. It extends EventInfo with a list of sub-evts ...
void UITostr(std::string &n, std::vector< unsigned int >::const_iterator &i, bool bugcompat)
float mc_event_weight(unsigned int iweight=0) const
Access to MC weight.
void strToUI(const std::string &m, std::vector< unsigned int > &v)
number_type mc_channel_number() const
Access to the MC generator channel number (was used as run number for generator events)
void UITobitmap(std::vector< bool > &n, std::vector< unsigned int >::const_iterator &i, bool bugcompat)
void bitmapToUI(const std::vector< bool > &m, std::vector< unsigned int > &v)
number_type encode(double weight)
Helper functions for MC weight insider the namespace AtlasMcWeight.
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 transToPers(const EventType *transObj, std::vector< unsigned int > &persObj) const
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.
void persToTrans(std::vector< unsigned int >::const_iterator &persObj, EventType *transObj, int version, bool bugcompat) const
unsigned int n_mc_event_weights() const
Total number of MC weights.
const std::string & user_type_raw(void) const
Access to user type.
const BitMask & bit_mask() const