Mēnsūra
|
Combines information related to pile-up. More...
#include <PileUpInfo.hpp>
Public Member Functions | |
PileUpInfo () noexcept | |
Constructor without parameters. | |
PileUpInfo (PileUpInfo const &)=default | |
Default copy constructor. | |
PileUpInfo & | operator= (PileUpInfo const &)=default |
Default assignment operator. | |
void | Reset () |
Resets the object to a state right after the default initialisation. | |
void | SetNumPV (unsigned numPV) |
Sets the number of good reconstructed primary vertices. | |
void | SetRho (float rho) |
Sets average angular pt density. | |
void | SetTrueNumPU (float lambda) |
Sets the true number of pile-up interactions. More... | |
void | SetInTimePU (unsigned n) |
Sets the number of pile-up interactions in the nominal bunch crossing. More... | |
unsigned | NumPV () const |
Returns the number of good reconstructed primary vertices. | |
float | Rho () const |
Returns average angular pt density, GeV. | |
float | TrueNumPU () const |
Returns the true number of pile-up interactions. More... | |
unsigned | InTimePU () const |
Returns the number of pile-up interactions in the nominal bunch crossing. More... | |
Combines information related to pile-up.
unsigned pec::PileUpInfo::InTimePU | ( | ) | const |
Returns the number of pile-up interactions in the nominal bunch crossing.
Returns a zero in case of real data.
void pec::PileUpInfo::SetInTimePU | ( | unsigned | n | ) |
Sets the number of pile-up interactions in the nominal bunch crossing.
The method must be used for simulation only.
void pec::PileUpInfo::SetTrueNumPU | ( | float | lambda | ) |
Sets the true number of pile-up interactions.
The method must be used for simulation only.
float pec::PileUpInfo::TrueNumPU | ( | ) | const |
Returns the true number of pile-up interactions.
Actually, this is instantaneous luminosity measured in terms of the number if pile-up interactions in a bunch crossing. When used with real data, the method is expected to return a zero.