![]() |
ATLAS Offline Software
|
A few functions for doing operations on particles / events. Currently holds code for dR, dPhi, MWT, HT, invariantMass, isSimulation and sorting containers in descending pT order. Note that the xAOD currently doesn't know if it's fast sim or full sim. More...
Go to the source code of this file.
Namespaces | |
xAOD | |
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region. | |
top | |
TopConfig A simple configuration that is NOT a singleton. | |
Functions | |
void | top::check (bool thingToCheck, const std::string &usefulFailureMessage) |
Print an error message and terminate if thingToCheck is false. More... | |
double | top::deltaR (const xAOD::IParticle &p1, const xAOD::IParticle &p2) |
Calculate the delta-r distance between two particles (e.g. More... | |
double | top::deltaPhi (const xAOD::IParticle &p1, const xAOD::IParticle &p2) |
Calculate delta-phi between two particles (e.g. More... | |
double | top::mwt (const xAOD::IParticle &lepton, const xAOD::MissingET &met) |
Calculate the transverse mass of the W from the charged lepton and the missing ET. More... | |
double | top::ht (const top::Event &event) |
HT calculation. More... | |
double | top::invariantMass (const xAOD::IParticle &p1, const xAOD::IParticle &p2) |
Calculate the invariant mass of two particles. More... | |
bool | top::isSimulation (const top::Event &event) |
Is this event MC simulation (True) or data (False)? More... | |
bool | top::descendingPtSorter (const xAOD::IParticle *p0, const xAOD::IParticle *p1) |
Used when sorting the e, mu, jet, tau containers after CP corrections. More... | |
std::vector< int > | top::calculateBootstrapWeights (int nreplicas, int eventNumber, int mcChannelNumber) |
Function used to create poisson weights (mean of 1) for bootstrapping. More... | |
A few functions for doing operations on particles / events. Currently holds code for dR, dPhi, MWT, HT, invariantMass, isSimulation and sorting containers in descending pT order. Note that the xAOD currently doesn't know if it's fast sim or full sim.
Definition in file EventTools.h.