ATLAS Offline Software
Loading...
Searching...
No Matches
MuonVal::MetaDataAlg::SimMetaData Struct Reference
Collaboration diagram for MuonVal::MetaDataAlg::SimMetaData:

Public Member Functions

 ~SimMetaData ()=default
 SimMetaData (int dsid, unsigned int prw)
bool operator< (const SimMetaData &other) const

Public Attributes

int mc_channel {0}
 Mc channel number.
unsigned int prw_channel {0}
 run number used for the pile-up campaign
double prw_lumi {0}
 Expected luminosity.
Long64_t tot_events {0}
 Number of total events from the file upstream.
Long64_t proc_events {0}
 Number of processed events in the file itself.
double sum_w {0.}
 Sum of weights.
double sum_w_squared {0.}
std::string weight_name {}
 Name of the weight variation.
unsigned int variation_number {0}
 Position inside the weight vector.
bool has_book_keeper {false}
 Print the WARNING.
bool warned {false}
 Make sure that the WARNING is only printed once.

Detailed Description

Definition at line 66 of file MetaDataAlg.h.

Constructor & Destructor Documentation

◆ ~SimMetaData()

MuonVal::MetaDataAlg::SimMetaData::~SimMetaData ( )
default

◆ SimMetaData()

MuonVal::MetaDataAlg::SimMetaData::SimMetaData ( int dsid,
unsigned int prw )
inline

Definition at line 68 of file MetaDataAlg.h.

68: mc_channel{dsid}, prw_channel{prw} {}
unsigned int prw_channel
run number used for the pile-up campaign
Definition MetaDataAlg.h:77
int mc_channel
Mc channel number.
Definition MetaDataAlg.h:75

Member Function Documentation

◆ operator<()

bool MuonVal::MetaDataAlg::SimMetaData::operator< ( const SimMetaData & other) const
inline

Definition at line 69 of file MetaDataAlg.h.

69 {
70 if (other.mc_channel != mc_channel) return mc_channel < other.mc_channel;
71 if (other.prw_channel != prw_channel) return prw_channel < other.prw_channel;
72 return variation_number < other.variation_number;
73 }
unsigned int variation_number
Position inside the weight vector.
Definition MetaDataAlg.h:91

Member Data Documentation

◆ has_book_keeper

bool MuonVal::MetaDataAlg::SimMetaData::has_book_keeper {false}

Print the WARNING.

Definition at line 93 of file MetaDataAlg.h.

93{false};

◆ mc_channel

int MuonVal::MetaDataAlg::SimMetaData::mc_channel {0}

Mc channel number.

Definition at line 75 of file MetaDataAlg.h.

75{0};

◆ proc_events

Long64_t MuonVal::MetaDataAlg::SimMetaData::proc_events {0}

Number of processed events in the file itself.

Definition at line 83 of file MetaDataAlg.h.

83{0};

◆ prw_channel

unsigned int MuonVal::MetaDataAlg::SimMetaData::prw_channel {0}

run number used for the pile-up campaign

Definition at line 77 of file MetaDataAlg.h.

77{0};

◆ prw_lumi

double MuonVal::MetaDataAlg::SimMetaData::prw_lumi {0}

Expected luminosity.

Definition at line 79 of file MetaDataAlg.h.

79{0};

◆ sum_w

double MuonVal::MetaDataAlg::SimMetaData::sum_w {0.}

Sum of weights.

Definition at line 85 of file MetaDataAlg.h.

85{0.};

◆ sum_w_squared

double MuonVal::MetaDataAlg::SimMetaData::sum_w_squared {0.}

Definition at line 86 of file MetaDataAlg.h.

86{0.};

◆ tot_events

Long64_t MuonVal::MetaDataAlg::SimMetaData::tot_events {0}

Number of total events from the file upstream.

Definition at line 81 of file MetaDataAlg.h.

81{0};

◆ variation_number

unsigned int MuonVal::MetaDataAlg::SimMetaData::variation_number {0}

Position inside the weight vector.

Definition at line 91 of file MetaDataAlg.h.

91{0};

◆ warned

bool MuonVal::MetaDataAlg::SimMetaData::warned {false}

Make sure that the WARNING is only printed once.

Definition at line 95 of file MetaDataAlg.h.

95{false};

◆ weight_name

std::string MuonVal::MetaDataAlg::SimMetaData::weight_name {}

Name of the weight variation.

Definition at line 89 of file MetaDataAlg.h.

89{};

The documentation for this struct was generated from the following file: