Classes | |
class | MC_JetAnalysis |
Base class providing common functionality for MC jet validation analyses. More... | |
class | Analysis |
This is the base class of all analysis classes in Rivet. More... | |
struct | AnaHandleLess |
class | AnalysisHandler |
class | AnalysisInfo |
class | AnalysisLoader |
Internal class which loads and registers analyses from plugin libs. More... | |
class | Cmp |
class | Rivet::Cmp< Projection > |
Specialization of Cmp for checking the ordering of two {Projection}s. More... | |
class | Rivet::Cmp< double > |
Specialization of Cmp for checking the ordering of two floating point numbers. More... | |
class | Event |
class | Error |
Generic runtime Rivet error. More... | |
class | RangeError |
Error for e.g. use of invalid bin ranges. More... | |
class | LogicError |
Error specialisation for places where alg logic has failed. More... | |
class | PidError |
Error specialisation for failures relating to particle ID codes. More... | |
class | WeightError |
Errors relating to event/bin weights Arises in computing statistical quantities because e.g. the bin weight is zero or negative. More... | |
class | HistoHandler |
The projection handler is a central repository for histograms (and other analysis stats objects) to be used in a Rivet analysis run. This eliminates the need for analysis classes to contain large numbers of histogram pointer members, and allows histograms to be accessed via more user-friendly names than C++ variable names allow. More... | |
class | LorentzTransform |
Object implementing Lorentz transform calculations and boosts. More... | |
class | Matrix3 |
Specialisation of MatrixN to aid 3 dimensional rotations. More... | |
class | EigenSystem |
Handy object containing results of a diagonalization. More... | |
struct | EigenPairCmp |
Comparison functor for "eigen-pairs". More... | |
class | Matrix |
General ![]() | |
class | Vector3 |
Three-dimensional specialisation of Vector. More... | |
class | FourVector |
Specialisation of VectorN to a general (non-momentum) Lorentz 4-vector. More... | |
class | FourMomentum |
Specialized version of the FourVector with momentum/energy functionality. More... | |
class | Vector |
A minimal base class for ![]() | |
class | Particle |
Representation of particles from a HepMC::GenEvent. More... | |
class | ParticleBase |
Base class for particle-like things like Particle and Jet. More... | |
class | ParticleNames |
class | Projection |
Base class for all Rivet projections. More... | |
class | ProjectionApplier |
Common base class for Projection and Analysis, used for internal polymorphism. More... | |
class | ProjectionHandler |
The projection handler is a central repository for projections to be used in a Rivet analysis run. More... | |
class | AxesDefinition |
Base class for projections which define a spatial basis. More... | |
class | Beam |
Project out the incoming beams. More... | |
class | CentralEtHCM |
Summed ![]() | |
class | ChargedFinalState |
Project only charged final state particles. More... | |
class | ChargedLeptons |
Get charged final-state leptons. More... | |
class | ClusteredPhotons |
Find final state photons which in a cone around any particle in the "signal" final state. More... | |
class | ConstRandomFilter |
Functor used to implement constant random lossiness. More... | |
class | ConstLossyFinalState |
Randomly lose a constant fraction of particles. More... | |
class | DISKinematics |
Get the DIS kinematic variables and relevant boosts for an event. More... | |
class | DISLepton |
Get the incoming and outgoing leptons in a DIS event. More... | |
class | FastJets |
Project out jets found using the FastJet package jet algorithms. More... | |
class | FinalState |
Project out all final-state particles in an event. Probably the most important projection in Rivet! More... | |
class | FinalStateHCM |
Final state particles boosted to the hadronic center of mass system. More... | |
class | FoxWolframMoments |
Calculate Fox-Wolfram moments. More... | |
class | HadronicFinalState |
Project only hadronic final state particles. More... | |
class | Hemispheres |
Calculate the hemisphere masses and broadenings. More... | |
class | IdentifiedFinalState |
Produce a final state which only contains specified particle IDs. More... | |
class | InitialQuarks |
Project out quarks from the hard process in ![]() | |
class | InvMassFinalState |
Identify particles which can be paired to fit within a given invariant mass window. More... | |
class | IsolationProjection |
class | JetAlg |
Abstract base class for projections which can return a set of Jets. More... | |
class | JetShape |
Calculate the jet shape. More... | |
class | LeadingParticlesFinalState |
Get the highest-pT occurrences of FS particles with the specified PDG IDs. More... | |
class | LossyFinalState |
Templated FS projection which can lose some of the supplied particles. More... | |
class | MergedFinalState |
Get final state particles merged from two FinalState projections. More... | |
class | Multiplicity |
Count the final-state particles in an event. More... | |
class | NeutralFinalState |
Project only neutral final state particles. More... | |
class | ParisiTensor |
Calculate the Parisi event shape tensor (or linear momentum tensor). More... | |
class | PVertex |
Get the position of the primary vertex of an event. More... | |
class | Sphericity |
Calculate the sphericity event shape. More... | |
class | SVertex |
Determine secondary vertices. More... | |
class | Thrust |
Get the e+ e- thrust basis and the thrust, thrust major and thrust minor scalars. More... | |
class | TotalVisibleMomentum |
Get the total energy vector, allowing missing ![]() | |
class | TriggerCDFRun0Run1 |
Access to the min bias triggers used by CDF in Run 0 and Run 1. More... | |
class | TriggerCDFRun2 |
Access to the min bias triggers used by CDF in Run 0 and Run 1. More... | |
class | TriggerUA5 |
Access to the min bias triggers used by UA5. More... | |
class | UnstableFinalState |
Project out all physical-but-decayed particles in an event. More... | |
class | VetoedFinalState |
FS modifier to exclude classes of particles from the final state. More... | |
class | WFinder |
Convenience finder of leptonically decaying Ws. More... | |
class | ZFinder |
Convenience finder of leptonically decaying Zs. More... | |
struct | DPSXPoint |
Container for x-axis point details. More... | |
struct | DPSXYPoint |
Container for x-axis point details. More... | |
class | Run |
Interface to handle a run of events read from a HepMC stream or file. More... | |
class | BinnedHistogram |
class | Log |
class | ALEPH_1991_S2435284 |
ALEPH LEP1 charged multiplicity in hadronic Z decay. More... | |
class | ALEPH_1996_S3196992 |
ALEPH measurement of quark-to-photon fragmentation function. More... | |
class | ALEPH_1996_S3486095 |
ALEPH QCD study with event shapes and identified particles. More... | |
class | ALEPH_2004_S5765862 |
ALEPH jet rates and event shapes at LEP 1 and 2. More... | |
class | ATLAS_2010_S8591806 |
ATLAS minimum bias analysis at 900 GeV. More... | |
class | BELLE_2006_S6265367 |
BELLE charmed mesons and baryons from fragmentation. More... | |
class | CDF_1988_S1865951 |
CDF track ![]() | |
class | CDF_1990_S2089246 |
CDF pseudorapidity analysis at 630 and 1800 GeV. More... | |
class | CDF_1991_S2313472 |
CDF W boson ![]() | |
class | CDF_1993_S2742446 |
CDF <what is this analysis doing?>. More... | |
class | CDF_1994_S2952106 |
CDF Run I color coherence analysis. More... | |
class | CDF_1996_S3108457 |
CDF properties of high-mass multi-jet events. More... | |
class | CDF_1996_S3349578 |
CDF properties of high-mass multi-jet events. More... | |
class | CDF_1996_S3418421 |
CDF dijet angular distributions. More... | |
class | CDF_1997_S3541940 |
CDF properties of 6-jet events with large 6-jet mass. More... | |
class | CDF_1998_S3618439 |
CDF diff cross-section in events with large missing energy. More... | |
class | CDF_2000_S4155203 |
CDF Run I Z ![]() | |
class | CDF_2000_S4266730 |
CDF dijet cross-section, differential in dijet mass. More... | |
class | CDF_2001_S4517016 |
CDF two jet tripply-differential cross-section. More... | |
class | CDF_2001_S4563131 |
CDF Run I inclusive jet cross-section. More... | |
class | CDF_2001_S4751469 |
class | CDF_2002_S4796047 |
class | CDF_2004_S5839831 |
CDF calo jet underlying event analysis at 630 and 1800 GeV. More... | |
class | CDF_2005_S6080774 |
CDF diff cross-sections for prompt di-photon production. More... | |
class | CDF_2005_S6217184 |
CDF Run II jet shape analysis. More... | |
class | CDF_2006_S6450792 |
CDF Inclusive jet cross-section differential in ![]() | |
class | CDF_2006_S6653332 |
class | CDF_2007_S7057202 |
CDF inclusive jet cross-section using the ![]() | |
class | CDF_2008_LEADINGJETS |
CDF Run II underlying event in leading jet events. More... | |
class | CDF_2008_NOTE_9351 |
CDF Run II underlying event in Drell-Yan. More... | |
class | CDF_2008_S7540469 |
Measurement differential Z/![]() ![]() | |
class | CDF_2008_S7541902 |
CDF jet pT and multiplicity distributions in W + jets events. More... | |
class | CDF_2008_S7782535 |
CDF Run II b-jet shape paper. More... | |
class | CDF_2008_S7828950 |
CDF Run II inclusive jet cross-section using the Midpoint algorithm. More... | |
class | CDF_2008_S8093652 |
CDF dijet mass spectrum. More... | |
class | CDF_2008_S8095620 |
CDF Run II Z + b-jet cross-section measurement. More... | |
class | CDF_2009_NOTE_9936 |
class | CDF_2009_S8057893 |
CDF in-jet kT distribution analysis. More... | |
class | CDF_2009_S8233977 |
class | CDF_2009_S8383952 |
CDF Z boson rapidity measurement. More... | |
class | CDF_2009_S8436959 |
CDF inclusive isolated prompt photon cross-section. More... | |
class | D0_1996_S3214044 |
D0 topological distributions of 3- and 4-jet events. More... | |
class | D0_1996_S3324664 |
D0 azimuthal correlation of jets widely separated in rapidity. More... | |
class | D0_1998_S3711838 |
D0 Run I Z boson ![]() | |
class | D0_2000_S4480767 |
class | D0_2001_S4674421 |
D0 Run I differential W/Z boson cross-section analysis. More... | |
class | D0_2004_S5992206 |
class | D0_2006_S6438750 |
D0 inclusive isolated photon cross-section vs. ![]() | |
class | D0_2007_S7075677 |
Measurement of D0 Run II Z ![]() | |
class | D0_2008_S6879055 |
D0 measurement of the ratio ![]() | |
class | D0_2008_S7554427 |
D0 Run II Z ![]() | |
class | D0_2008_S7662670 |
D0 differential jet cross sections. More... | |
class | D0_2008_S7719523 |
Measurement of isolated gamma + jet + X differential cross-sections. More... | |
class | D0_2008_S7837160 |
D0 Run II measurement of W charge asymmetry. More... | |
class | D0_2008_S7863608 |
D0 differential Z/![]() ![]() | |
class | D0_2009_S8202443 |
D0 Z + jet + ![]() ![]() | |
class | D0_2009_S8320160 |
D0 dijet angular distributions. More... | |
class | D0_2009_S8349509 |
D0 Z+jets angular distributions. More... | |
class | D0_2010_S8566488 |
D0 dijet invariant mass measurement. More... | |
class | D0_2010_S8570965 |
D0 direct photon pair production. More... | |
class | D0_2010_S8671338 |
Measurement of Z(->muon muon) pT differential cross-section. More... | |
class | DELPHI_1995_S3137023 |
DELPHI strange baryon paper. More... | |
class | DELPHI_2002_069_CONF_603 |
DELPHI b-fragmentation measurement. More... | |
class | E735_1998_S3905616 |
E735 charged multiplicity in NSD-triggered events. More... | |
class | ExampleAnalysis |
Just measures a few random things as an example. More... | |
class | H1_1994_S2919893 |
H1 energy flow and charged particle spectra. More... | |
class | H1_1995_S3167097 |
H1 energy flow in DIS. More... | |
class | H1_2000_S4129130 |
H1 energy flow and charged particle spectra. More... | |
class | JADE_OPAL_2000_S4300807 |
Jet rates in ![]() | |
class | MC_DIJET |
MC validation analysis for di-jet events. More... | |
class | MC_DIPHOTON |
MC validation analysis for isolated di-photon events. More... | |
class | MC_GENERIC |
Generic analysis looking at various distributions of final state particles. More... | |
class | MC_HJETS |
MC validation analysis for higgs [-> tau tau] + jets events. More... | |
class | MC_JETS |
MC validation analysis for jet events. More... | |
class | MC_LEADINGJETS |
MC validation analysis for underlying event in jet events. More... | |
class | MC_PHOTONJETS |
MC validation analysis for photon + jets events. More... | |
class | MC_PHOTONJETUE |
MC validation analysis for underlying event in jet + isolated photon events. More... | |
class | MC_SUSY |
MC validation analysis for SUSY events. More... | |
class | MC_TTBAR |
MC validation analysis for Z + jets events. More... | |
class | MC_WJETS |
MC validation analysis for W + jets events. More... | |
class | MC_WWJETS |
MC validation analysis for W^+[enu]W^-[munu] + jets events. More... | |
class | MC_ZJETS |
MC validation analysis for Z + jets events. More... | |
class | MC_ZZJETS |
MC validation analysis for Z[ee]Z[mumu] + jets events. More... | |
class | OPAL_1993_S2692198 |
OPAL photon production. More... | |
class | OPAL_1998_S3780481 |
OPAL flavour-dependent fragmentation paper. More... | |
class | OPAL_2001_S4553896 |
class | OPAL_2004_S6132243 |
OPAL event shapes and moments at 91, 133, 177, and 197 GeV. More... | |
class | PDG_HADRON_MULTIPLICITIES |
Implementation of PDG hadron multiplicities. More... | |
class | PDG_HADRON_MULTIPLICITIES_RATIOS |
Implementation of PDG hadron multiplicities as ratios to ![]() | |
class | SFM_1984_S1178091 |
SFM charged multiplicities in NSD and inelastic minbias events. More... | |
class | STAR_2006_S6500200 |
STAR identified hadron spectra in pp at 200 GeV. More... | |
class | STAR_2006_S6860818 |
STAR strange particle spectra in pp at 200 GeV. More... | |
class | STAR_2006_S6870392 |
STAR inclusive jet cross-section in pp at 200 GeV. More... | |
class | STARRandomFilter |
class | STAR_2008_S7869363 |
class | STAR_2008_S7993412 |
STAR di-hadron correlations in d-Au at 200 GeV. More... | |
class | STAR_2009_UE_HELEN |
STAR underlying event. More... | |
class | UA1_1990_S2044935 |
UA1 minbias track multiplicities, ![]() ![]() | |
class | UA5_1982_S875503 |
UA5 multiplicity and ![]() | |
class | UA5_1986_S1583476 |
UA5 ![]() | |
class | UA5_1987_S1640666 |
class | UA5_1988_S1867512 |
UA5 charged particle correlations at 200, 546 and 900 GeV. More... | |
class | UA5_1989_S1926373 |
UA5 min bias charged multiplicities in central ![]() | |
class | ZEUS_2001_S4815815 |
ZEUS dijet photoproduction study used in the ZEUS Jets PDF fit. More... | |
Namespaces | |
namespace | PID |
Number comparisons etc. | |
enum | RangeBoundary { OPEN = 0, SOFT = 0, CLOSED = 1, HARD = 1 } |
bool | isZero (double val, double tolerance=1E-8) |
bool | isZero (long val, double UNUSED(tolerance)=1E-8) |
int | sign (double val) |
Find the sign of a number. | |
int | sign (int val) |
Find the sign of a number. | |
int | sign (long val) |
Find the sign of a number. | |
bool | fuzzyEquals (double a, double b, double tolerance=1E-5) |
bool | fuzzyEquals (long a, long b, double UNUSED(tolerance)=1E-5) |
template<typename NUM> | |
bool | inRange (NUM value, NUM low, NUM high, RangeBoundary lowbound=CLOSED, RangeBoundary highbound=OPEN) |
bool | inRange (int value, int low, int high, RangeBoundary lowbound=CLOSED, RangeBoundary highbound=CLOSED) |
template<typename Num> | |
Num | sqr (Num a) |
Named number-type squaring operation. | |
Typedefs | |
typedef Analysis * | AnalysisPtr |
Smart (shared) pointer for handling projections. | |
typedef shared_ptr< Analysis > | AnaHandle |
Typedef for Analysis (smart) pointer. | |
typedef Cmp< Projection > | PCmp |
Typedef for Cmp<Projection>. | |
typedef Error | Exception |
Rivet::Exception is a synonym for Rivet::Error. | |
typedef std::map< HistoFormat, std::string > | HistoFormatMap |
Typedef for a map of histogram format enums to strings. | |
typedef std::map< std::string, HistoFormat > | HistoFormatMapR |
Typedef for a map of histogram format name strings to enums. | |
typedef std::vector< HistoFormat > | HistoFormatList |
Typedef for a collection of histogram format name enums. | |
typedef Matrix< 4 > | Matrix4 |
typedef Vector3 | ThreeVector |
typedef FourVector | Vector4 |
typedef Projection * | ProjectionPtr |
typedef const Projection * | ConstProjectionPtr |
typedef shared_ptr< const Projection > | ProjHandle |
Typedef for Projection (smart) pointer. | |
typedef vector < fastjet::PseudoJet > | PseudoJets |
Typedef for a collection of PseudoJets. | |
typedef IsolationProjection < JetAlg, JetAlg > | AllJetsIso |
typedef IsolationProjection < FinalState, FinalState > | AllParticleIso |
typedef IsolationProjection < FinalState, JetAlg > | ParticleFromJetIso |
typedef std::vector< double > | BinEdges |
Typedef for a collection of bin edges. | |
typedef boost::minstd_rand | RngBase |
typedef boost::uniform_real | UniformRealDist |
typedef boost::variate_generator < RngBase &, UniformRealDist > | UniformRealRNG |
typedef boost::uniform_int | UniformIntDist |
typedef boost::variate_generator < RngBase &, UniformIntDist > | UniformIntRNG |
typedef std::pair< double, double > | doublepair |
Particle declarations | |
typedef std::vector< Particle > | ParticleVector |
Typedef for a vector of Particle objects. | |
typedef std::pair< Particle, Particle > | ParticlePair |
Typedef for a pair of Particle objects. | |
PdgId declarations | |
typedef int | PdgId |
Typedef for a PDG ID code. | |
typedef std::pair< PdgId, PdgId > | PdgIdPair |
Typedef for a pair of particle names. | |
Enumerations | |
enum | CmpState { UNDEFINED = -2, ORDERED = -1, EQUIVALENT = 0, UNORDERED = 1 } |
Enumerate the possible states of a Cmp object. More... | |
enum | HistoFormat { AIDAML, FLAT, ROOT } |
Enumeration of available histogram output formats. More... | |
enum | Sign { MINUS = -1, ZERO = 0, PLUS = 1 } |
Enum for signs of numbers. More... | |
enum | DeltaRScheme { PSEUDORAPIDITY, RAPIDITY } |
Enum for longitudinal variable to be used in calculating ![]() | |
enum | PhiMapping { MINUSPI_PLUSPI, ZERO_2PI } |
Enum for range of ![]() | |
Functions | |
std::string | toString (const AnalysisInfo &ai) |
String representation. | |
std::ostream & | operator<< (std::ostream &os, const AnalysisInfo &ai) |
Stream an AnalysisInfo as a text description. | |
bool | compatible (PdgId p, PdgId allowed) |
bool | compatible (const PdgIdPair &pair, const PdgIdPair &allowedpair) |
bool | compatible (const ParticlePair &ppair, const PdgIdPair &allowedpair) |
Check particle compatibility of Particle pairs. | |
bool | compatible (const PdgIdPair &allowedpair, const ParticlePair &ppair) |
Check particle compatibility of Particle pairs (for symmetric completeness). | |
bool | compatible (const PdgIdPair &pair, const set< PdgIdPair > &allowedpairs) |
set< PdgIdPair > | intersection (const set< PdgIdPair > &a, const set< PdgIdPair > &b) |
Return the intersection of two sets of PdgIdPairs. | |
template<typename T> | |
Cmp< T > | cmp (const T &t1, const T &t2) |
Global helper function for easy creation of Cmp objects. | |
Cmp< Projection > | pcmp (const Projection &p1, const Projection &p2) |
Global helper function for easy creation of Cmp<Projection> objects. | |
Cmp< Projection > | pcmp (const Projection &parent1, const Projection &parent2, const string &pname) |
Cmp< Projection > | pcmp (const Projection *parent1, const Projection &parent2, const string &pname) |
Cmp< Projection > | pcmp (const Projection &parent1, const Projection *parent2, const string &pname) |
Cmp< Projection > | pcmp (const Projection *parent1, const Projection *parent2, const string &pname) |
HistoFormatMap | getKnownHistoFormats () |
Function which returns a map from histogram format enums to the corresponding name strings. | |
HistoFormatMapR | getKnownHistoFormatsR () |
Function which returns a map from histogram format name strings to the corresponding enums. | |
HistoFormatList | getKnownHistoFormatEnums () |
std::vector< std::string > | getKnownHistoFormatNames () |
Function which returns a vector of all the histogram format name strings. | |
double | lorentzGamma (const double beta) |
LorentzTransform | inverse (const LorentzTransform <) |
LorentzTransform | combine (const LorentzTransform &a, const LorentzTransform &b) |
FourVector | transform (const LorentzTransform <, const FourVector &v4) |
string | toString (const LorentzTransform <) |
ostream & | operator<< (std::ostream &out, const LorentzTransform <) |
template<size_t N> | |
EigenSystem< N > | diagonalize (const Matrix< N > &m) |
template<size_t N> | |
const string | toString (const typename EigenSystem< N >::EigenPair &e) |
template<size_t N> | |
ostream & | operator<< (std::ostream &out, const typename EigenSystem< N >::EigenPair &e) |
template<size_t N> | |
Matrix< N > | multiply (const Matrix< N > &a, const Matrix< N > &b) |
template<size_t N> | |
Matrix< N > | divide (const Matrix< N > &, const double) |
template<size_t N> | |
Matrix< N > | operator* (const Matrix< N > &a, const Matrix< N > &b) |
template<size_t N> | |
Matrix< N > | add (const Matrix< N > &a, const Matrix< N > &b) |
template<size_t N> | |
Matrix< N > | subtract (const Matrix< N > &a, const Matrix< N > &b) |
template<size_t N> | |
Matrix< N > | operator+ (const Matrix< N > a, const Matrix< N > &b) |
template<size_t N> | |
Matrix< N > | operator- (const Matrix< N > a, const Matrix< N > &b) |
template<size_t N> | |
Matrix< N > | multiply (const double a, const Matrix< N > &m) |
template<size_t N> | |
Matrix< N > | multiply (const Matrix< N > &m, const double a) |
template<size_t N> | |
Matrix< N > | operator* (const double a, const Matrix< N > &m) |
template<size_t N> | |
Matrix< N > | operator* (const Matrix< N > &m, const double a) |
template<size_t N> | |
Vector< N > | multiply (const Matrix< N > &a, const Vector< N > &b) |
template<size_t N> | |
Vector< N > | operator* (const Matrix< N > &a, const Vector< N > &b) |
template<size_t N> | |
Matrix< N > | transpose (const Matrix< N > &m) |
template<size_t N> | |
Matrix< N > | inverse (const Matrix< N > &m) |
template<size_t N> | |
double | det (const Matrix< N > &m) |
template<size_t N> | |
double | trace (const Matrix< N > &m) |
template<size_t N> | |
string | toString (const Matrix< N > &m) |
Make string representation. | |
template<size_t N> | |
ostream & | operator<< (std::ostream &out, const Matrix< N > &m) |
Stream out string representation. | |
template<size_t N> | |
bool | fuzzyEquals (const Matrix< N > &ma, const Matrix< N > &mb, double tolerance=1E-5) |
Compare two matrices by index, allowing for numerical precision. | |
template<size_t N> | |
bool | isZero (const Matrix< N > &m, double tolerance=1E-5) |
External form of numerically safe nullness check. | |
Vector3 | multiply (const double, const Vector3 &) |
Vector3 | multiply (const Vector3 &, const double) |
Vector3 | add (const Vector3 &, const Vector3 &) |
Vector3 | operator* (const double, const Vector3 &) |
Vector3 | operator* (const Vector3 &, const double) |
Vector3 | operator/ (const Vector3 &, const double) |
Vector3 | operator+ (const Vector3 &, const Vector3 &) |
Vector3 | operator- (const Vector3 &, const Vector3 &) |
double | dot (const Vector3 &a, const Vector3 &b) |
Vector3 | cross (const Vector3 &a, const Vector3 &b) |
Vector3 | subtract (const Vector3 &a, const Vector3 &b) |
double | angle (const Vector3 &a, const Vector3 &b) |
Angle (in radians) between two 3-vectors. | |
double | polarRadius2 (const Vector3 &v) |
Calculate transverse length sq. ![]() | |
double | perp2 (const Vector3 &v) |
Synonym for polarRadius2. | |
double | rho2 (const Vector3 &v) |
Synonym for polarRadius2. | |
double | polarRadius (const Vector3 &v) |
Calculate transverse length ![]() | |
double | perp (const Vector3 &v) |
Synonym for polarRadius. | |
double | rho (const Vector3 &v) |
Synonym for polarRadius. | |
double | azimuthalAngle (const Vector3 &v, const PhiMapping mapping=ZERO_2PI) |
Calculate azimuthal angle of a 3-vector. Returns a number in (-pi, pi] or in [0, 2pi) according to the mapping scheme selected. | |
double | phi (const Vector3 &v, const PhiMapping mapping=ZERO_2PI) |
Synonym for azimuthalAngle. | |
double | polarAngle (const Vector3 &v) |
Calculate polar angle of a 3-vector. | |
double | theta (const Vector3 &v) |
Synonym for polarAngle. | |
double | pseudorapidity (const Vector3 &v) |
Calculate pseudorapidity of a 3-vector. | |
double | eta (const Vector3 &v) |
Synonym for pseudorapidity. | |
double | deltaR (const Vector3 &a, const Vector3 &b) |
double | deltaR (const Vector3 &v, double eta2, double phi2) |
double | deltaR (double eta1, double phi1, const Vector3 &v) |
double | contract (const FourVector &a, const FourVector &b) |
Contract two 4-vectors, with metric signature (+ - - -). | |
double | dot (const FourVector &a, const FourVector &b) |
Contract two 4-vectors, with metric signature (+ - - -). | |
FourVector | multiply (const double a, const FourVector &v) |
FourVector | multiply (const FourVector &v, const double a) |
FourVector | operator* (const double a, const FourVector &v) |
FourVector | operator* (const FourVector &v, const double a) |
FourVector | operator/ (const FourVector &v, const double a) |
FourVector | add (const FourVector &a, const FourVector &b) |
FourVector | operator+ (const FourVector &a, const FourVector &b) |
FourVector | operator- (const FourVector &a, const FourVector &b) |
double | invariant (const FourVector &lv) |
double | angle (const FourVector &a, const FourVector &b) |
Angle (in radians) between spatial parts of two Lorentz vectors. | |
double | angle (const Vector3 &a, const FourVector &b) |
Angle (in radians) between spatial parts of two Lorentz vectors. | |
double | angle (const FourVector &a, const Vector3 &b) |
Angle (in radians) between spatial parts of two Lorentz vectors. | |
double | polarRadius2 (const FourVector &v) |
Calculate transverse length sq. ![]() | |
double | perp2 (const FourVector &v) |
Synonym for polarRadius2. | |
double | rho2 (const FourVector &v) |
Synonym for polarRadius2. | |
double | polarRadius (const FourVector &v) |
Calculate transverse length ![]() | |
double | perp (const FourVector &v) |
Synonym for polarRadius. | |
double | rho (const FourVector &v) |
Synonym for polarRadius. | |
double | azimuthalAngle (const FourVector &v, const PhiMapping mapping=ZERO_2PI) |
Calculate azimuthal angle of a Lorentz vector. | |
double | phi (const FourVector &v, const PhiMapping mapping=ZERO_2PI) |
Synonym for azimuthalAngle. | |
double | polarAngle (const FourVector &v) |
Calculate polar angle of a Lorentz vector. | |
double | theta (const FourVector &v) |
Synonym for polarAngle. | |
double | pseudorapidity (const FourVector &v) |
Calculate pseudorapidity of a Lorentz vector. | |
double | eta (const FourVector &v) |
Synonym for pseudorapidity. | |
double | mass2 (const FourMomentum &v) |
Get squared mass ![]() | |
double | mass (const FourMomentum &v) |
Get mass ![]() | |
double | rapidity (const FourMomentum &v) |
Calculate rapidity of a momentum 4-vector. | |
double | pT2 (const FourMomentum &v) |
Calculate squared transverse momentum ![]() | |
double | pT (const FourMomentum &v) |
Calculate transverse momentum ![]() | |
double | Et2 (const FourMomentum &v) |
Calculate transverse energy squared, ![]() | |
double | Et (const FourMomentum &v) |
Calculate transverse energy ![]() | |
Vector3 | boostVector (const FourMomentum &v) |
Calculate velocity boost vector of a momentum 4-vector. | |
double | deltaR (const FourVector &a, const FourVector &b, DeltaRScheme scheme=PSEUDORAPIDITY) |
double | deltaR (const FourVector &v, double eta2, double phi2, DeltaRScheme scheme=PSEUDORAPIDITY) |
double | deltaR (double eta1, double phi1, const FourVector &v, DeltaRScheme scheme=PSEUDORAPIDITY) |
double | deltaR (const FourMomentum &a, const FourMomentum &b, DeltaRScheme scheme=PSEUDORAPIDITY) |
double | deltaR (const FourMomentum &v, double eta2, double phi2, DeltaRScheme scheme=PSEUDORAPIDITY) |
double | deltaR (double eta1, double phi1, const FourMomentum &v, DeltaRScheme scheme=PSEUDORAPIDITY) |
const string | toString (const FourVector &lv) |
Render a 4-vector as a string. | |
std::ostream & | operator<< (std::ostream &out, const FourVector &lv) |
Write a 4-vector to an ostream. | |
template<size_t N> | |
double | mod2 (const Vector< N > &v) |
template<size_t N> | |
double | mod (const Vector< N > &v) |
template<size_t N> | |
const string | toString (const Vector< N > &v) |
Make string representation. | |
template<size_t N> | |
std::ostream & | operator<< (std::ostream &out, const Vector< N > &v) |
Stream out string representation. | |
template<size_t N> | |
bool | fuzzyEquals (const Vector< N > &va, const Vector< N > &vb, double tolerance=1E-5) |
Compare two vectors by index, allowing for numerical precision. | |
template<size_t N> | |
bool | isZero (const Vector< N > &v, double tolerance=1E-5) |
External form of numerically safe nullness check. | |
const std::string & | toParticleName (PdgId p) |
Print a PdgId as a named string. | |
PdgId | toParticleId (const std::string &pname) |
Print a PdgId as a named string. | |
std::pair< PdgId, PdgId > | make_pdgid_pair (PdgId a, PdgId b) |
Convenience maker of particle ID pairs from PdgIds. | |
std::pair< PdgId, PdgId > | make_pdgid_pair (const std::string &a, const std::string &b) |
Convenience maker of particle ID pairs from particle names. | |
std::string | toBeamsString (const PdgIdPair &pair) |
Print a PdgIdPair as a string. | |
template<typename PROJ> | |
const PROJ & | pcast (const Projection &p) |
Convenience method for casting to a const Projection reference. | |
template<typename PROJ> | |
const PROJ * | pcast (const Projection *p) |
Convenience method for casting to a const Projection pointer. | |
Vector3 | momentum3 (const fastjet::PseudoJet &pj) |
Make a 3-momentum vector from a FastJet pseudo-jet. | |
FourMomentum | momentum (const fastjet::PseudoJet &pj) |
Make a 4-momentum vector from a FastJet pseudo-jet. | |
bool | cmpMomByPt (const FourMomentum &a, const FourMomentum &b) |
bool | cmpMomByAscPt (const FourMomentum &a, const FourMomentum &b) |
bool | cmpMomByEt (const FourMomentum &a, const FourMomentum &b) |
bool | cmpMomByAscEt (const FourMomentum &a, const FourMomentum &b) |
bool | cmpMomByE (const FourMomentum &a, const FourMomentum &b) |
bool | cmpMomByAscE (const FourMomentum &a, const FourMomentum &b) |
bool | cmpMomByDescPseudorapidity (const FourMomentum &a, const FourMomentum &b) |
bool | cmpMomByAscPseudorapidity (const FourMomentum &a, const FourMomentum &b) |
bool | cmpMomByDescAbsPseudorapidity (const FourMomentum &a, const FourMomentum &b) |
bool | cmpMomByAscAbsPseudorapidity (const FourMomentum &a, const FourMomentum &b) |
bool | cmpMomByDescRapidity (const FourMomentum &a, const FourMomentum &b) |
bool | cmpMomByAscRapidity (const FourMomentum &a, const FourMomentum &b) |
bool | cmpMomByDescAbsRapidity (const FourMomentum &a, const FourMomentum &b) |
bool | cmpMomByAscAbsRapidity (const FourMomentum &a, const FourMomentum &b) |
string | version () |
A function to get the Rivet version string. | |
template<typename T> | |
std::ostream & | operator<< (std::ostream &os, const std::vector< T > &vec) |
Convenient function for streaming out vectors of any streamable object. | |
template<typename T> | |
std::ostream & | operator<< (std::ostream &os, const std::list< T > &vec) |
Convenient function for streaming out lists of any streamable object. | |
AIDA::IAnalysisFactory * | createAnalysisFactory () |
Get an AIDA system (LWH impl.). | |
const map< string, BinEdges > | getBinEdges (string papername) |
const map< string, BinEdges > | getBinEdges (const map< string, vector< DPSXPoint > > &xpoints) |
const map< string, vector < DPSXPoint > > | getDPSXValsErrs (string papername) |
const map< string, vector < DPSXYPoint > > | getDPSXYValsErrs (string papername) |
const string | getDataPath (string papername) |
Get the file system path to the AIDA reference file for this paper. | |
double | integral (AIDA::IHistogram1D *histo) |
Return the integral over the histogram bins. | |
vector< GenParticle * > | particles (const GenEvent &ge) |
vector< GenParticle * > | particles (const GenEvent *ge) |
vector< GenVertex * > | vertices (const GenEvent &ge) |
vector< GenVertex * > | vertices (const GenEvent *ge) |
const vector< GenParticle * > | particles_in (const GenVertex *gv) |
const vector< GenParticle * > | particles_out (const GenVertex *gv) |
vector< GenParticle * > | particles (GenVertex *gv, HepMC::IteratorRange range=HepMC::relatives) |
std::ostream & | operator<< (Log &log, int level) |
Streaming output to a logger must have a Log::Level/int as its first argument. | |
const std::string | getLibPath () |
Get library install path. | |
const std::string | getDataPath () |
Get data install path. | |
const std::string | getRivetDataPath () |
Get Rivet data install path. | |
const std::vector< std::string > | getAnalysisLibPaths () |
Get Rivet analysis plugin library search paths. | |
const std::vector< std::string > | getAnalysisRefPaths () |
Get Rivet analysis reference data search paths. | |
const std::vector< std::string > | getAnalysisInfoPaths () |
Get Rivet analysis info metadata search paths. | |
int | nocase_cmp (const string &s1, const string &s2) |
string | toLower (const string &s) |
string | toUpper (const string &s) |
bool | startsWith (const string &s, const string &start) |
bool | endsWith (const string &s, const string &end) |
vector< string > | split (string path, const string delim=":") |
string | makeAxisCode (const size_t datasetId, const size_t xAxisId, const size_t yAxisId) |
void | _geRot180x (GenEvent &ge) |
bool | chargedParticleFilter (const Particle &p) |
bool | hadronFilter (const Particle &p) |
double | get2dClosestApproach (const HepMC::GenParticle &track, const Vector3 &vtx3pos) |
double | get3dClosestApproach (const HepMC::GenParticle &track, const Vector3 &vtx3pos) |
double | get2dDecayLength (const Vector3 &vtx1, const Vector3 &vtx2, const FourMomentum &jetaxis) |
Return Decay Length Significance between two vertices in transverse plane. | |
double | get3dDecayLength (const Vector3 &vtx1, const Vector3 &vtx2, const FourMomentum &jetaxis) |
Return 3 dimensional Decay Length Significance between vertices. | |
bool | mod2Cmp (const Vector3 &a, const Vector3 &b) |
void | _calcT (const vector< Vector3 > &momenta, double &t, Vector3 &taxis) |
void | _setup_vfs (VetoedFinalState &vfs) |
void | _updateLevels (const Log::LevelMap &defaultLevels, Log::LogMap &existingLogs) |
const string | getDatafilePath (string papername) |
Statistics functions | |
double | mean (const vector< int > &sample) |
Calculate the mean of a sample. | |
double | covariance (const vector< int > &sample1, const vector< int > &sample2) |
Calculate the covariance (variance) between two samples. | |
double | correlation (const vector< int > &sample1, const vector< int > &sample2) |
Calculate the correlation strength between two samples. | |
Angle range mappings | |
double | _mapAngleM2PITo2Pi (double angle) |
double | mapAngleMPiToPi (double angle) |
Map an angle into the range (-PI, PI]. | |
double | mapAngle0To2Pi (double angle) |
Map an angle into the range [0, 2PI). | |
double | mapAngle0ToPi (double angle) |
Map an angle into the range [0, PI]. | |
Phase space measure helpers | |
double | deltaPhi (double phi1, double phi2) |
double | deltaR (double y1, double phi1, double y2, double phi2) |
double | rapidity (double E, double pz) |
Calculate a rapidity value from the supplied energy E and longitudinal momentum . | |
String representation | |
std::string | toString (const ParticlePair &pair) |
Print a ParticlePair as a string. | |
std::ostream & | operator<< (std::ostream &os, const ParticlePair &pp) |
Allow ParticlePair to be passed to an ostream. | |
Comparison functors | |
bool | cmpParticleByPt (const Particle &a, const Particle &b) |
Sort by descending transverse momentum, ![]() | |
bool | cmpParticleByAscPt (const Particle &a, const Particle &b) |
Sort by ascending transverse momentum, ![]() | |
bool | cmpParticleByEt (const Particle &a, const Particle &b) |
Sort by descending transverse energy, ![]() | |
bool | cmpParticleByAscEt (const Particle &a, const Particle &b) |
Sort by ascending transverse energy, ![]() | |
bool | cmpParticleByE (const Particle &a, const Particle &b) |
Sort by descending energy, ![]() | |
bool | cmpParticleByAscE (const Particle &a, const Particle &b) |
Sort by ascending energy, ![]() | |
bool | cmpParticleByDescPseudorapidity (const Particle &a, const Particle &b) |
Sort by descending pseudorapidity, ![]() | |
bool | cmpParticleByAscPseudorapidity (const Particle &a, const Particle &b) |
Sort by ascending pseudorapidity, ![]() | |
bool | cmpParticleByDescAbsPseudorapidity (const Particle &a, const Particle &b) |
Sort by descending absolute pseudorapidity, ![]() | |
bool | cmpParticleByAscAbsPseudorapidity (const Particle &a, const Particle &b) |
Sort by ascending absolute pseudorapidity, ![]() | |
bool | cmpParticleByDescRapidity (const Particle &a, const Particle &b) |
Sort by descending rapidity, ![]() | |
bool | cmpParticleByAscRapidity (const Particle &a, const Particle &b) |
Sort by ascending rapidity, ![]() | |
bool | cmpParticleByDescAbsRapidity (const Particle &a, const Particle &b) |
Sort by descending absolute rapidity, ![]() | |
bool | cmpParticleByAscAbsRapidity (const Particle &a, const Particle &b) |
Sort by ascending absolute rapidity, ![]() | |
Stand-alone functions | |
ParticlePair | beams (const Event &e) |
Function to get beam particles from an event. | |
PdgIdPair | beamIds (const Event &e) |
Function to get beam particle IDs from an event. | |
PdgIdPair | beamIds (const ParticlePair &beams) |
Function to get beam particle IDs from a pair of particles. | |
double | sqrtS (const Event &e) |
Function to get beam centre of mass energy from an event. | |
double | sqrtS (const ParticlePair &beams) |
Function to get beam centre of mass energy from a pair of particles. | |
double | sqrtS (const FourMomentum &pa, const FourMomentum &pb) |
Function to get beam centre of mass energy from a pair of beam momenta. | |
Jet angle calculator functions | |
double | calc_BZ (const vector< fastjet::PseudoJet > &jets) |
double | calc_KSW (const vector< fastjet::PseudoJet > &jets) |
double | calc_NR (const vector< fastjet::PseudoJet > &jets) |
double | calc_ALPHA34 (const vector< fastjet::PseudoJet > &jets) |
Jet angle calculator functions | |
double | calc_BZ (const vector< fastjet::PseudoJet > &jets) |
double | calc_KSW (const vector< fastjet::PseudoJet > &jets) |
double | calc_NR (const vector< fastjet::PseudoJet > &jets) |
double | calc_ALPHA34 (const vector< fastjet::PseudoJet > &jets) |
Variables | |
static const double | pi = 3.14159265358979323846 |
static const double | twopi = 2*pi |
static const double | halfpi = pi/2 |
static const double | pi2 = pi*pi |
static const double | Avogadro = 6.0221367e+23/mole |
static const double | c_light = 2.99792458e+8 * m/s |
static const double | c_squared = c_light * c_light |
static const double | h_Planck = 6.6260755e-34 * joule*s |
static const double | hbar_Planck = h_Planck/twopi |
static const double | hbarc = hbar_Planck * c_light |
static const double | hbarc_squared = hbarc * hbarc |
static const double | electron_charge = - eplus |
static const double | e_squared = eplus * eplus |
static const double | electron_mass_c2 = 0.51099906 * MeV |
static const double | proton_mass_c2 = 938.27231 * MeV |
static const double | neutron_mass_c2 = 939.56563 * MeV |
static const double | amu_c2 = 931.49432 * MeV |
static const double | amu = amu_c2/c_squared |
static const double | mu0 = 4*pi*1.e-7 * henry/m |
static const double | epsilon0 = 1./(c_squared*mu0) |
static const double | elm_coupling = e_squared/(4*pi*epsilon0) |
static const double | fine_structure_const = elm_coupling/hbarc |
static const double | classic_electr_radius = elm_coupling/electron_mass_c2 |
static const double | electron_Compton_length = hbarc/electron_mass_c2 |
static const double | Bohr_radius = electron_Compton_length/fine_structure_const |
static const double | alpha_rcl2 |
static const double | twopi_mc2_rcl2 |
static const double | k_Boltzmann = 8.617385e-11 * MeV/kelvin |
static const double | STP_Temperature = 273.15*kelvin |
static const double | STP_Pressure = 1.*atmosphere |
static const double | kGasThreshold = 10.*mg/cm3 |
static const double | universe_mean_density = 1.e-25*g/cm3 |
const double | MAXDOUBLE = std::numeric_limits<double>::max() |
const double | MAXINT = std::numeric_limits<int>::max() |
const double | PI = M_PI |
A pre-defined value of ![]() | |
const double | TWOPI = 2*M_PI |
A pre-defined value of ![]() | |
const double | HALFPI = M_PI_2 |
A pre-defined value of ![]() | |
static const double | millimeter = 1. |
static const double | millimeter2 = millimeter*millimeter |
static const double | millimeter3 = millimeter*millimeter*millimeter |
static const double | centimeter = 10.*millimeter |
static const double | centimeter2 = centimeter*centimeter |
static const double | centimeter3 = centimeter*centimeter*centimeter |
static const double | meter = 1000.*millimeter |
static const double | meter2 = meter*meter |
static const double | meter3 = meter*meter*meter |
static const double | kilometer = 1000.*meter |
static const double | kilometer2 = kilometer*kilometer |
static const double | kilometer3 = kilometer*kilometer*kilometer |
static const double | parsec = 3.0856775807e+16*meter |
static const double | micrometer = 1.e-6 *meter |
static const double | nanometer = 1.e-9 *meter |
static const double | angstrom = 1.e-10*meter |
static const double | picometer = 1.e-12*meter |
static const double | femtometer = 1.e-15*meter |
static const double | attometer = 1.e-18*meter |
static const double | fermi = femtometer |
static const double | mm = millimeter |
static const double | mm2 = millimeter2 |
static const double | mm3 = millimeter3 |
static const double | cm = centimeter |
static const double | cm2 = centimeter2 |
static const double | cm3 = centimeter3 |
static const double | m = meter |
static const double | m2 = meter2 |
static const double | m3 = meter3 |
static const double | km = kilometer |
static const double | km2 = kilometer2 |
static const double | km3 = kilometer3 |
static const double | pc = parsec |
static const double | picobarn = 1.0 |
static const double | barn = 1.0e+12* picobarn |
static const double | millibarn = 1.0e-3 * barn |
static const double | microbarn = 1.0e-6 * barn |
static const double | nanobarn = 1.0e-9 * barn |
static const double | femtobarn = 1.0e-15 * barn |
static const double | attobarn = 1.0e-18 * barn |
static const double | radian = 1. |
static const double | milliradian = 1.e-3*radian |
static const double | degree = (3.14159265358979323846/180.0)*radian |
static const double | steradian = 1. |
static const double | rad = radian |
static const double | mrad = milliradian |
static const double | sr = steradian |
static const double | deg = degree |
static const double | nanosecond = 1.0 |
static const double | second = 1.e+9 *nanosecond |
static const double | millisecond = 1.e-3 *second |
static const double | microsecond = 1.e-6 *second |
static const double | picosecond = 1.e-12*second |
static const double | hertz = 1.0/second |
static const double | kilohertz = 1.e+3*hertz |
static const double | megahertz = 1.e+6*hertz |
static const double | ns = nanosecond |
static const double | s = second |
static const double | ms = millisecond |
static const double | eplus = 1.0 |
static const double | e_SI = 1.60217733e-19 |
static const double | coulomb = eplus/e_SI |
static const double | gigaelectronvolt = 1. |
static const double | electronvolt = 1.e-9*gigaelectronvolt |
static const double | kiloelectronvolt = 1.e-6*gigaelectronvolt |
static const double | megaelectronvolt = 1.e-3*gigaelectronvolt |
static const double | teraelectronvolt = 1.e+3*gigaelectronvolt |
static const double | petaelectronvolt = 1.e+6*gigaelectronvolt |
static const double | joule = electronvolt/e_SI |
static const double | eV = electronvolt |
static const double | keV = kiloelectronvolt |
static const double | MeV = megaelectronvolt |
static const double | GeV = gigaelectronvolt |
static const double | TeV = teraelectronvolt |
static const double | PeV = petaelectronvolt |
static const double | eV2 = eV*eV |
static const double | keV2 = keV*keV |
static const double | MeV2 = MeV*MeV |
static const double | GeV2 = GeV*GeV |
static const double | TeV2 = TeV*TeV |
static const double | PeV2 = PeV*PeV |
static const double | kilogram = joule*second*second/(meter*meter) |
static const double | gram = 1.e-3*kilogram |
static const double | milligram = 1.e-3*gram |
static const double | kg = kilogram |
static const double | g = gram |
static const double | mg = milligram |
static const double | watt = joule/second |
static const double | newton = joule/meter |
static const double | hep_pascal = newton/m2 |
static const double | bar = 100000*pascal |
static const double | atmosphere = 101325*pascal |
static const double | ampere = coulomb/second |
static const double | milliampere = 1.e-3*ampere |
static const double | microampere = 1.e-6*ampere |
static const double | nanoampere = 1.e-9*ampere |
static const double | megavolt = megaelectronvolt/eplus |
static const double | kilovolt = 1.e-3*megavolt |
static const double | volt = 1.e-6*megavolt |
static const double | ohm = volt/ampere |
static const double | farad = coulomb/volt |
static const double | millifarad = 1.e-3*farad |
static const double | microfarad = 1.e-6*farad |
static const double | nanofarad = 1.e-9*farad |
static const double | picofarad = 1.e-12*farad |
static const double | weber = volt*second |
static const double | tesla = volt*second/meter2 |
static const double | gauss = 1.e-4*tesla |
static const double | kilogauss = 1.e-1*tesla |
static const double | henry = weber/ampere |
static const double | kelvin = 1. |
static const double | mole = 1. |
static const double | becquerel = 1./second |
static const double | curie = 3.7e+10 * becquerel |
static const double | gray = joule/kilogram |
static const double | candela = 1. |
static const double | lumen = candela*steradian |
static const double | lux = lumen/meter2 |
static const double | perCent = 0.01 |
static const double | perThousand = 0.001 |
static const double | perMillion = 0.000001 |
static const double | MAXRAPIDITY = 100000.0 |
A sensible default maximum value of rapidity for Rivet analyses to use. | |
static const double | MaxRapidity = 100000.0 |
AnalysisBuilder < ALEPH_1991_S2435284 > | plugin_ALEPH_1991_S2435284 |
AnalysisBuilder < ALEPH_1996_S3196992 > | plugin_ALEPH_1996_S3196992 |
AnalysisBuilder < ALEPH_1996_S3486095 > | plugin_ALEPH_1996_S3486095 |
AnalysisBuilder < ALEPH_2004_S5765862 > | plugin_ALEPH_2004_S5765862 |
AnalysisBuilder < ATLAS_2010_S8591806 > | plugin_ATLAS_2010_S8591806 |
AnalysisBuilder < BELLE_2006_S6265367 > | plugin_BELLE_2006_S6265367 |
AnalysisBuilder < CDF_1988_S1865951 > | plugin_CDF_1988_S1865951 |
AnalysisBuilder < CDF_1990_S2089246 > | plugin_CDF_1990_S2089246 |
AnalysisBuilder < CDF_1991_S2313472 > | plugin_CDF_1991_S2313472 |
AnalysisBuilder < CDF_1993_S2742446 > | plugin_CDF_1993_S2742446 |
AnalysisBuilder < CDF_1994_S2952106 > | plugin_CDF_1994_S2952106 |
AnalysisBuilder < CDF_1996_S3108457 > | plugin_CDF_1996_S3108457 |
AnalysisBuilder < CDF_1996_S3349578 > | plugin_CDF_1996_S3349578 |
AnalysisBuilder < CDF_1996_S3418421 > | plugin_CDF_1996_S3418421 |
AnalysisBuilder < CDF_1997_S3541940 > | plugin_CDF_1997_S3541940 |
AnalysisBuilder < CDF_1998_S3618439 > | plugin_CDF_1998_S3618439 |
AnalysisBuilder < CDF_2000_S4155203 > | plugin_CDF_2000_S4155203 |
AnalysisBuilder < CDF_2000_S4266730 > | plugin_CDF_2000_S4266730 |
AnalysisBuilder < CDF_2001_S4517016 > | plugin_CDF_2001_S4517016 |
AnalysisBuilder < CDF_2001_S4563131 > | plugin_CDF_2001_S4563131 |
AnalysisBuilder < CDF_2001_S4751469 > | plugin_CDF_2001_S4751469 |
AnalysisBuilder < CDF_2002_S4796047 > | plugin_CDF_2002_S4796047 |
AnalysisBuilder < CDF_2004_S5839831 > | plugin_CDF_2004_S5839831 |
AnalysisBuilder < CDF_2005_S6080774 > | plugin_CDF_2005_S6080774 |
AnalysisBuilder < CDF_2005_S6217184 > | plugin_CDF_2005_S6217184 |
AnalysisBuilder < CDF_2006_S6450792 > | plugin_CDF_2006_S6450792 |
AnalysisBuilder < CDF_2006_S6653332 > | plugin_CDF_2006_S6653332 |
AnalysisBuilder < CDF_2007_S7057202 > | plugin_CDF_2007_S7057202 |
AnalysisBuilder < CDF_2008_LEADINGJETS > | plugin_CDF_2008_LEADINGJETS |
AnalysisBuilder < CDF_2008_NOTE_9351 > | plugin_CDF_2008_NOTE_9351 |
AnalysisBuilder < CDF_2008_S7540469 > | plugin_CDF_2008_S7540469 |
AnalysisBuilder < CDF_2008_S7541902 > | plugin_CDF_2008_S7541902 |
AnalysisBuilder < CDF_2008_S7782535 > | plugin_CDF_2008_S7782535 |
AnalysisBuilder < CDF_2008_S7828950 > | plugin_CDF_2008_S7828950 |
AnalysisBuilder < CDF_2008_S8093652 > | plugin_CDF_2008_S8093652 |
AnalysisBuilder < CDF_2008_S8095620 > | plugin_CDF_2008_S8095620 |
AnalysisBuilder < CDF_2009_NOTE_9936 > | plugin_CDF_2009_NOTE_9936 |
AnalysisBuilder < CDF_2009_S8057893 > | plugin_CDF_2009_S8057893 |
AnalysisBuilder < CDF_2009_S8233977 > | plugin_CDF_2009_S8233977 |
AnalysisBuilder < CDF_2009_S8383952 > | plugin_CDF_2009_S8383952 |
AnalysisBuilder < CDF_2009_S8436959 > | plugin_CDF_2009_S8436959 |
AnalysisBuilder< D0_1996_S3214044 > | plugin_D0_1996_S3214044 |
AnalysisBuilder< D0_1996_S3324664 > | plugin_D0_1996_S3324664 |
AnalysisBuilder< D0_1998_S3711838 > | plugin_D0_1998_S3711838 |
AnalysisBuilder< D0_2000_S4480767 > | plugin_D0_2000_S4480767 |
AnalysisBuilder< D0_2001_S4674421 > | plugin_D0_2001_S4674421 |
AnalysisBuilder< D0_2004_S5992206 > | plugin_D0_2004_S5992206 |
AnalysisBuilder< D0_2006_S6438750 > | plugin_D0_2006_S6438750 |
AnalysisBuilder< D0_2007_S7075677 > | plugin_D0_2007_S7075677 |
AnalysisBuilder< D0_2008_S6879055 > | plugin_D0_2008_S6879055 |
AnalysisBuilder< D0_2008_S7554427 > | plugin_D0_2008_S7554427 |
AnalysisBuilder< D0_2008_S7662670 > | plugin_D0_2008_S7662670 |
AnalysisBuilder< D0_2008_S7719523 > | plugin_D0_2008_S7719523 |
AnalysisBuilder< D0_2008_S7837160 > | plugin_D0_2008_S7837160 |
AnalysisBuilder< D0_2008_S7863608 > | plugin_D0_2008_S7863608 |
AnalysisBuilder< D0_2009_S8202443 > | plugin_D0_2009_S8202443 |
AnalysisBuilder< D0_2009_S8320160 > | plugin_D0_2009_S8320160 |
AnalysisBuilder< D0_2009_S8349509 > | plugin_D0_2009_S8349509 |
AnalysisBuilder< D0_2010_S8566488 > | plugin_D0_2010_S8566488 |
AnalysisBuilder< D0_2010_S8570965 > | plugin_D0_2010_S8570965 |
AnalysisBuilder< D0_2010_S8671338 > | plugin_D0_2010_S8671338 |
AnalysisBuilder < DELPHI_1995_S3137023 > | plugin_DELPHI_1995_S3137023 |
AnalysisBuilder < DELPHI_2002_069_CONF_603 > | plugin_DELPHI_2002_069_CONF_603 |
AnalysisBuilder < E735_1998_S3905616 > | plugin_E735_1998_S3905616 |
AnalysisBuilder< ExampleAnalysis > | plugin_ExampleAnalysis |
AnalysisBuilder< H1_1994_S2919893 > | plugin_H1_1994_S2919893 |
AnalysisBuilder< H1_1995_S3167097 > | plugin_H1_1995_S3167097 |
AnalysisBuilder< H1_2000_S4129130 > | plugin_H1_2000_S4129130 |
AnalysisBuilder < JADE_OPAL_2000_S4300807 > | plugin_JADE_OPAL_2000_S4300807 |
AnalysisBuilder< MC_DIJET > | plugin_MC_DIJET |
AnalysisBuilder< MC_DIPHOTON > | plugin_MC_DIPHOTON |
AnalysisBuilder< MC_GENERIC > | plugin_MC_GENERIC |
AnalysisBuilder< MC_HJETS > | plugin_MC_HJETS |
AnalysisBuilder< MC_JETS > | plugin_MC_JETS |
AnalysisBuilder< MC_LEADINGJETS > | plugin_MC_LEADINGJETS |
AnalysisBuilder< MC_PHOTONJETS > | plugin_MC_PHOTONJETS |
AnalysisBuilder< MC_PHOTONJETUE > | plugin_MC_PHOTONJETUE |
AnalysisBuilder< MC_SUSY > | plugin_MC_SUSY |
AnalysisBuilder< MC_TTBAR > | plugin_MC_TTBAR |
AnalysisBuilder< MC_WJETS > | plugin_MC_WJETS |
AnalysisBuilder< MC_WWJETS > | plugin_MC_WWJETS |
AnalysisBuilder< MC_ZJETS > | plugin_MC_ZJETS |
AnalysisBuilder< MC_ZZJETS > | plugin_MC_ZZJETS |
AnalysisBuilder < OPAL_1993_S2692198 > | plugin_OPAL_1993_S2692198 |
AnalysisBuilder < OPAL_1998_S3780481 > | plugin_OPAL_1998_S3780481 |
AnalysisBuilder < OPAL_2001_S4553896 > | plugin_OPAL_2001_S4553896 |
AnalysisBuilder < OPAL_2004_S6132243 > | plugin_OPAL_2004_S6132243 |
AnalysisBuilder < PDG_HADRON_MULTIPLICITIES > | plugin_PDG_HADRON_MULTIPLICITIES |
AnalysisBuilder < PDG_HADRON_MULTIPLICITIES_RATIOS > | plugin_PDG_HADRON_MULTIPLICITIES_RATIOS |
AnalysisBuilder < SFM_1984_S1178091 > | plugin_SFM_1984_S1178091 |
AnalysisBuilder < STAR_2006_S6500200 > | plugin_STAR_2006_S6500200 |
AnalysisBuilder < STAR_2006_S6860818 > | plugin_STAR_2006_S6860818 |
AnalysisBuilder < STAR_2006_S6870392 > | plugin_STAR_2006_S6870392 |
AnalysisBuilder < STAR_2008_S7869363 > | plugin_STAR_2008_S7869363 |
AnalysisBuilder < STAR_2008_S7993412 > | plugin_STAR_2008_S7993412 |
AnalysisBuilder < STAR_2009_UE_HELEN > | plugin_STAR_2009_UE_HELEN |
AnalysisBuilder < UA1_1990_S2044935 > | plugin_UA1_1990_S2044935 |
AnalysisBuilder< UA5_1982_S875503 > | plugin_UA5_1982_S875503 |
AnalysisBuilder < UA5_1986_S1583476 > | plugin_UA5_1986_S1583476 |
AnalysisBuilder < UA5_1987_S1640666 > | plugin_UA5_1987_S1640666 |
AnalysisBuilder < UA5_1988_S1867512 > | plugin_UA5_1988_S1867512 |
AnalysisBuilder < UA5_1989_S1926373 > | plugin_UA5_1989_S1926373 |
AnalysisBuilder < ZEUS_2001_S4815815 > | plugin_ZEUS_2001_S4815815 |
Static const convenience particle ID names | |
static const PdgId | ELECTRON = 11 |
static const PdgId | POSITRON = -11 |
static const PdgId | PROTON = 2212 |
static const PdgId | ANTIPROTON = -2212 |
static const PdgId | PHOTON = 22 |
static const PdgId | NEUTRON = 2112 |
static const PdgId | ANTINEUTRON = -2112 |
static const PdgId | MUON = 13 |
static const PdgId | ANTIMUON = -13 |
static const PdgId | NU_E = 12 |
static const PdgId | NU_EBAR = -12 |
static const PdgId | NU_MU = 14 |
static const PdgId | NU_MUBAR = -14 |
static const PdgId | NU_TAU = 16 |
static const PdgId | NU_TAUBAR = -16 |
static const PdgId | PIPLUS = 211 |
static const PdgId | PIMINUS = -211 |
static const PdgId | K0L = 130 |
static const PdgId | K0S = 310 |
static const PdgId | KPLUS = 321 |
static const PdgId | KMINUS = -321 |
static const PdgId | LAMBDA = 3122 |
static const PdgId | LAMBDABAR = -3122 |
static const PdgId | XIMINUS = 3312 |
static const PdgId | XIPLUS = -3312 |
static const PdgId | OMEGAMINUS = 3334 |
static const PdgId | OMEGAPLUS = -3334 |
static const PdgId | TAU = 15 |
static const PdgId | ANTITAU = -15 |
static const PdgId | EMINUS = 11 |
static const PdgId | EPLUS = -11 |
static const PdgId | P = 2212 |
static const PdgId | PBAR = -2212 |
static const PdgId | GLUON = 21 |
static const PdgId | GAMMA = 22 |
static const PdgId | WPLUSBOSON = 24 |
static const PdgId | WMINUSBOSON = -24 |
static const PdgId | ZBOSON = 23 |
static const PdgId | HIGGS = 25 |
static const PdgId | DQUARK = 1 |
static const PdgId | UQUARK = 2 |
static const PdgId | SQUARK = 3 |
static const PdgId | CQUARK = 4 |
static const PdgId | BQUARK = 5 |
static const PdgId | TQUARK = 6 |
static const PdgId | ANY = 10000 |
typedef IsolationProjection<JetAlg, JetAlg> AllJetsIso |
Definition at line 11 of file IsolationTools.hh.
Definition at line 13 of file IsolationTools.hh.
typedef Analysis* AnalysisPtr |
typedef std::vector<double> BinEdges |
typedef const Projection* ConstProjectionPtr |
Definition at line 11 of file Projection.fhh.
typedef std::pair<double, double> doublepair |
Definition at line 11 of file D0_2010_S8570965.cc.
typedef std::vector<HistoFormat> HistoFormatList |
Typedef for a collection of histogram format name enums.
Definition at line 44 of file HistoFormat.hh.
typedef std::map<HistoFormat, std::string> HistoFormatMap |
Typedef for a map of histogram format enums to strings.
Definition at line 14 of file HistoFormat.hh.
typedef std::map<std::string, HistoFormat> HistoFormatMapR |
Typedef for a map of histogram format name strings to enums.
Definition at line 18 of file HistoFormat.hh.
Definition at line 14 of file MatrixN.hh.
Definition at line 15 of file IsolationTools.hh.
typedef std::pair<Particle, Particle> ParticlePair |
typedef std::vector<Particle> ParticleVector |
typedef Cmp<Projection> PCmp |
typedef int PdgId |
typedef Projection* ProjectionPtr |
Definition at line 9 of file Projection.fhh.
typedef shared_ptr<const Projection> ProjHandle |
typedef vector<fastjet::PseudoJet> PseudoJets |
typedef boost::minstd_rand RngBase |
Definition at line 31 of file RivetBoost.hh.
typedef Vector3 ThreeVector |
Definition at line 11 of file Vector3.hh.
typedef boost::uniform_int UniformIntDist |
Definition at line 34 of file RivetBoost.hh.
typedef boost::variate_generator<RngBase&, UniformIntDist> UniformIntRNG |
Definition at line 35 of file RivetBoost.hh.
typedef boost::uniform_real UniformRealDist |
Definition at line 32 of file RivetBoost.hh.
typedef boost::variate_generator<RngBase&, UniformRealDist> UniformRealRNG |
Definition at line 33 of file RivetBoost.hh.
typedef FourVector Vector4 |
Definition at line 14 of file Vector4.hh.
enum CmpState |
Enumerate the possible states of a Cmp object.
Definition at line 14 of file Cmp.fhh.
00014 { 00015 UNDEFINED = -2, //< Undefined state. 00016 ORDERED = -1, //< The two corresponding objects are ordered. 00017 EQUIVALENT = 0, //< The two corresponding objects are equivalent. 00018 UNORDERED = 1 //< The two corresponding objects are unordered. 00019 };
enum DeltaRScheme |
Enum for longitudinal variable to be used in calculating .
Definition at line 55 of file MathHeader.hh.
00055 { PSEUDORAPIDITY, RAPIDITY };
enum HistoFormat |
enum PhiMapping |
Enum for range of to be mapped into.
Definition at line 58 of file MathHeader.hh.
00058 { MINUSPI_PLUSPI, ZERO_2PI };
enum RangeBoundary |
Represents whether an interval is open (non-inclusive) or closed (inclusive). For example, the interval is closed (an inclusive boundary) at 0, and open (a non-inclusive boundary) at
.
Definition at line 69 of file MathUtils.hh.
enum Sign |
void Rivet::_calcT | ( | const vector< Vector3 > & | momenta, | |
double & | t, | |||
Vector3 & | taxis | |||
) |
Definition at line 48 of file Thrust.cc.
References Vector3::dot(), mod(), mod2Cmp(), Rivet::PID::n, sign(), and Vector3::unit().
Referenced by Thrust::_calcThrust().
00048 { 00049 /* This function implements the iterative algorithm as described in the 00050 * Pythia manual. We take eight (four) different starting vectors 00051 * constructed from the four (three) leading particles to make sure that 00052 * we don't find a local maximum. 00053 */ 00054 vector<Vector3> p = momenta; 00055 assert(p.size() >= 3); 00056 unsigned int n = 3; 00057 if (p.size() == 3) n = 3; 00058 vector<Vector3> tvec; 00059 vector<double> tval; 00060 std::sort(p.begin(), p.end(), mod2Cmp); 00061 for (unsigned int i=0 ; i<pow(2,n-1) ; i++) { 00062 // Create an initial vector from the leading four jets 00063 Vector3 foo(0,0,0); 00064 int sign=i; 00065 for (unsigned int k=0 ; k<n ; k++) { 00066 (sign%2)==1 ? foo+=p[k] : foo-=p[k]; 00067 sign/=2; 00068 } 00069 foo=foo.unit(); 00070 00071 // Iterate 00072 double diff=999.; 00073 while (diff>1e-5) { 00074 Vector3 foobar(0,0,0); 00075 for (unsigned int k=0 ; k<p.size() ; k++) 00076 foo.dot(p[k])>0 ? foobar+=p[k] : foobar-=p[k]; 00077 diff=(foo-foobar.unit()).mod(); 00078 foo=foobar.unit(); 00079 } 00080 00081 // Calculate the thrust value for the vector we found 00082 t=0.; 00083 for (unsigned int k=0 ; k<p.size() ; k++) 00084 t+=fabs(foo.dot(p[k])); 00085 00086 // Store everything 00087 tval.push_back(t); 00088 tvec.push_back(foo); 00089 } 00090 00091 // Pick the solution with the largest thrust 00092 t=0.; 00093 for (unsigned int i=0 ; i<tvec.size() ; i++) 00094 if (tval[i]>t){ 00095 t=tval[i]; 00096 taxis=tvec[i]; 00097 } 00098 }
void Rivet::_geRot180x | ( | GenEvent & | ge | ) |
Definition at line 10 of file Event.cc.
Referenced by Event::_geNormAlignment().
00010 { 00011 for (HepMC::GenEvent::particle_iterator ip = ge.particles_begin(); ip != ge.particles_end(); ++ip) { 00012 const HepMC::FourVector& mom = (*ip)->momentum(); 00013 (*ip)->set_momentum(HepMC::FourVector(mom.px(), -mom.py(), -mom.pz(), mom.e())); 00014 } 00015 for (HepMC::GenEvent::vertex_iterator iv = ge.vertices_begin(); iv != ge.vertices_end(); ++iv) { 00016 const HepMC::FourVector& pos = (*iv)->position(); 00017 (*iv)->set_position(HepMC::FourVector(pos.x(), -pos.y(), -pos.z(), pos.t())); 00018 } 00019 }
double Rivet::_mapAngleM2PITo2Pi | ( | double | angle | ) | [inline] |
Reduce any number to the range [-2PI, 2PI] by repeated addition or subtraction of 2PI as required. Used to normalise angular measures.
Definition at line 162 of file MathUtils.hh.
References isZero(), and TWOPI.
Referenced by mapAngle0To2Pi(), and mapAngleMPiToPi().
00162 { 00163 double rtn = fmod(angle, TWOPI); 00164 if (isZero(rtn)) return 0; 00165 assert(rtn >= -TWOPI && rtn <= TWOPI); 00166 return rtn; 00167 }
void Rivet::@255::_setup_vfs | ( | VetoedFinalState & | vfs | ) | [static] |
Definition at line 12 of file VisibleFinalState.cc.
References VetoedFinalState::addVetoId(), and VetoedFinalState::vetoNeutrinos().
00012 { 00013 vfs.vetoNeutrinos(); 00014 vfs.addVetoId(1000022); // lightest neutralino 00015 vfs.addVetoId(1000039); // gravitino 00016 /// @todo More? 00017 }
void Rivet::_updateLevels | ( | const Log::LevelMap & | defaultLevels, | |
Log::LogMap & | existingLogs | |||
) |
Definition at line 28 of file Logging.cc.
Referenced by Log::setLevels().
00028 { 00029 /// @todo Check ordering - "Foo" should come before "Foo.Bar" 00030 for (Log::LevelMap::const_iterator lev = defaultLevels.begin(); lev != defaultLevels.end(); ++lev) { 00031 for (Log::LogMap::iterator log = existingLogs.begin(); log != existingLogs.end(); ++log) { 00032 if (log->first.find(lev->first) == 0) { 00033 log->second->setLevel(lev->second); 00034 } 00035 } 00036 } 00037 }
FourVector Rivet::add | ( | const FourVector & | a, | |
const FourVector & | b | |||
) | [inline] |
Vector3 add | ( | const Vector3 & | a, | |
const Vector3 & | b | |||
) | [inline] |
Matrix<N> Rivet::add | ( | const Matrix< N > & | a, | |
const Matrix< N > & | b | |||
) | [inline] |
Definition at line 263 of file MatrixN.hh.
References Matrix::_matrix.
00263 { 00264 Matrix<N> result; 00265 result._matrix = a._matrix + b._matrix; 00266 return result; 00267 }
double Rivet::angle | ( | const FourVector & | a, | |
const Vector3 & | b | |||
) | [inline] |
Angle (in radians) between spatial parts of two Lorentz vectors.
Definition at line 245 of file Vector4.hh.
References FourVector::angle().
double Rivet::angle | ( | const Vector3 & | a, | |
const FourVector & | b | |||
) | [inline] |
Angle (in radians) between spatial parts of two Lorentz vectors.
Definition at line 240 of file Vector4.hh.
References angle(), and FourVector::vector3().
00240 { 00241 return angle( a, b.vector3() ); 00242 }
double Rivet::angle | ( | const FourVector & | a, | |
const FourVector & | b | |||
) | [inline] |
Angle (in radians) between spatial parts of two Lorentz vectors.
Definition at line 235 of file Vector4.hh.
References FourVector::angle().
double Rivet::angle | ( | const Vector3 & | a, | |
const Vector3 & | b | |||
) | [inline] |
Angle (in radians) between two 3-vectors.
Definition at line 269 of file Vector3.hh.
References Vector3::angle().
Referenced by MC_DIJET::analyze(), angle(), DISKinematics::project(), and Matrix3::setAsRotation().
double Rivet::azimuthalAngle | ( | const FourVector & | v, | |
const PhiMapping | mapping = ZERO_2PI | |||
) | [inline] |
Calculate azimuthal angle of a Lorentz vector.
Definition at line 276 of file Vector4.hh.
References FourVector::azimuthalAngle().
double Rivet::azimuthalAngle | ( | const Vector3 & | v, | |
const PhiMapping | mapping = ZERO_2PI | |||
) | [inline] |
Calculate azimuthal angle of a 3-vector. Returns a number in (-pi, pi] or in [0, 2pi) according to the mapping scheme selected.
Definition at line 302 of file Vector3.hh.
References Vector3::azimuthalAngle().
Referenced by MC_DIJET::analyze(), and CDF_2008_NOTE_9351::analyze().
PdgIdPair beamIds | ( | const ParticlePair & | beams | ) |
PdgIdPair beamIds | ( | const Event & | e | ) |
Function to get beam particle IDs from an event.
Definition at line 15 of file Beam.cc.
References Beam::beamIds(), and Beam::project().
Referenced by AnalysisHandler::analyze(), Beam::beamIds(), and AnalysisHandler::beamIds().
ParticlePair beams | ( | const Event & | e | ) |
Function to get beam particles from an event.
Definition at line 9 of file Beam.cc.
References Beam::beams(), and Beam::project().
Referenced by AnalysisHandler::init(), DISLepton::project(), and DISKinematics::project().
Vector3 Rivet::boostVector | ( | const FourMomentum & | v | ) | [inline] |
Calculate velocity boost vector of a momentum 4-vector.
Definition at line 478 of file Vector4.hh.
References FourMomentum::boostVector().
double Rivet::@189::calc_ALPHA34 | ( | const vector< fastjet::PseudoJet > & | jets | ) | [static] |
Definition at line 50 of file OPAL_2001_S4553896.cc.
References dot(), Vector::mod(), and momentum3().
00050 { 00051 assert(jets.size() == 4); 00052 Vector3 p3 = momentum3(jets[2]); 00053 Vector3 p4 = momentum3(jets[3]); 00054 return dot(p3,p4) / (p3.mod()*p4.mod()); 00055 }
double Rivet::@165::calc_ALPHA34 | ( | const vector< fastjet::PseudoJet > & | jets | ) | [static] |
Definition at line 52 of file DELPHI_2003_WUD_03_11.cc.
References dot(), Vector::mod(), and momentum3().
Referenced by OPAL_2001_S4553896::analyze().
00052 { 00053 assert(jets.size() == 4); 00054 Vector3 p3 = momentum3(jets[2]); 00055 Vector3 p4 = momentum3(jets[3]); 00056 return dot(p3,p4) / (p3.mod()*p4.mod()); 00057 }
double Rivet::@189::calc_BZ | ( | const vector< fastjet::PseudoJet > & | jets | ) | [static] |
Definition at line 18 of file OPAL_2001_S4553896.cc.
References cross(), dot(), Vector::mod(), and momentum3().
00018 { 00019 assert(jets.size() == 4); 00020 Vector3 p12 = cross( momentum3(jets[0]), momentum3(jets[1])); 00021 Vector3 p34 = cross( momentum3(jets[2]), momentum3(jets[3])); 00022 return dot(p12,p34) / (p12.mod()*p34.mod()); 00023 }
double Rivet::@165::calc_BZ | ( | const vector< fastjet::PseudoJet > & | jets | ) | [static] |
Definition at line 20 of file DELPHI_2003_WUD_03_11.cc.
References cross(), dot(), Vector::mod(), and momentum3().
Referenced by OPAL_2001_S4553896::analyze().
00020 { 00021 assert(jets.size() == 4); 00022 Vector3 p12 = cross( momentum3(jets[0]), momentum3(jets[1])); 00023 Vector3 p34 = cross( momentum3(jets[2]), momentum3(jets[3])); 00024 return dot(p12,p34) / (p12.mod()*p34.mod()); 00025 }
double Rivet::@189::calc_KSW | ( | const vector< fastjet::PseudoJet > & | jets | ) | [static] |
Definition at line 28 of file OPAL_2001_S4553896.cc.
References cross(), dot(), Vector::mod(), and momentum3().
00028 { 00029 assert(jets.size() == 4); 00030 Vector3 p13 = cross( momentum3(jets[0]), momentum3(jets[2])); 00031 Vector3 p24 = cross( momentum3(jets[1]), momentum3(jets[3])); 00032 Vector3 p14 = cross( momentum3(jets[0]), momentum3(jets[3])); 00033 Vector3 p23 = cross( momentum3(jets[1]), momentum3(jets[2])); 00034 return cos (0.5*( acos (dot(p14,p23) / (p14.mod()*p23.mod())) + 00035 acos (dot(p13,p24) / (p13.mod()*p24.mod())) )); 00036 }
double Rivet::@165::calc_KSW | ( | const vector< fastjet::PseudoJet > & | jets | ) | [static] |
Definition at line 30 of file DELPHI_2003_WUD_03_11.cc.
References cross(), dot(), Vector::mod(), and momentum3().
Referenced by OPAL_2001_S4553896::analyze().
00030 { 00031 assert(jets.size() == 4); 00032 Vector3 p13 = cross( momentum3(jets[0]), momentum3(jets[2])); 00033 Vector3 p24 = cross( momentum3(jets[1]), momentum3(jets[3])); 00034 Vector3 p14 = cross( momentum3(jets[0]), momentum3(jets[3])); 00035 Vector3 p23 = cross( momentum3(jets[1]), momentum3(jets[2])); 00036 return cos (0.5*( acos (dot(p14,p23) / (p14.mod()*p23.mod())) + 00037 acos (dot(p13,p24) / (p13.mod()*p24.mod())) )); 00038 }
double Rivet::@189::calc_NR | ( | const vector< fastjet::PseudoJet > & | jets | ) | [static] |
Definition at line 41 of file OPAL_2001_S4553896.cc.
References dot(), Vector::mod(), and momentum3().
00041 { 00042 assert(jets.size() == 4); 00043 Vector3 p12 = momentum3(jets[0]) - momentum3(jets[1]); 00044 Vector3 p34 = momentum3(jets[2]) - momentum3(jets[3]); 00045 return dot(p12,p34) / (p12.mod()*p34.mod()); 00046 }
double Rivet::@165::calc_NR | ( | const vector< fastjet::PseudoJet > & | jets | ) | [static] |
Definition at line 43 of file DELPHI_2003_WUD_03_11.cc.
References dot(), Vector::mod(), and momentum3().
Referenced by OPAL_2001_S4553896::analyze().
00043 { 00044 assert(jets.size() == 4); 00045 Vector3 p12 = momentum3(jets[0]) - momentum3(jets[1]); 00046 Vector3 p34 = momentum3(jets[2]) - momentum3(jets[3]); 00047 return dot(p12,p34) / (p12.mod()*p34.mod()); 00048 }
bool Rivet::chargedParticleFilter | ( | const Particle & | p | ) |
Definition at line 35 of file ChargedFinalState.cc.
References Particle::pdgId(), and Rivet::PID::threeCharge().
Referenced by ChargedFinalState::project().
00035 { 00036 return PID::threeCharge(p.pdgId()) == 0; 00037 }
Cmp<T> Rivet::cmp | ( | const T & | t1, | |
const T & | t2 | |||
) | [inline] |
Global helper function for easy creation of Cmp objects.
Definition at line 283 of file Cmp.hh.
Referenced by ZFinder::compare(), WFinder::compare(), VetoedFinalState::compare(), UnstableFinalState::compare(), SVertex::compare(), Sphericity::compare(), NeutralFinalState::compare(), JetShape::compare(), IsolationProjection::compare(), InvMassFinalState::compare(), IdentifiedFinalState::compare(), FinalState::compare(), FastJets::compare(), ConstRandomFilter::compare(), and ClusteredPhotons::compare().
bool Rivet::cmpMomByAscAbsPseudorapidity | ( | const FourMomentum & | a, | |
const FourMomentum & | b | |||
) | [inline] |
bool Rivet::cmpMomByAscAbsRapidity | ( | const FourMomentum & | a, | |
const FourMomentum & | b | |||
) | [inline] |
bool Rivet::cmpMomByAscE | ( | const FourMomentum & | a, | |
const FourMomentum & | b | |||
) | [inline] |
bool Rivet::cmpMomByAscEt | ( | const FourMomentum & | a, | |
const FourMomentum & | b | |||
) | [inline] |
bool Rivet::cmpMomByAscPseudorapidity | ( | const FourMomentum & | a, | |
const FourMomentum & | b | |||
) | [inline] |
bool Rivet::cmpMomByAscPt | ( | const FourMomentum & | a, | |
const FourMomentum & | b | |||
) | [inline] |
bool Rivet::cmpMomByAscRapidity | ( | const FourMomentum & | a, | |
const FourMomentum & | b | |||
) | [inline] |
bool Rivet::cmpMomByDescAbsPseudorapidity | ( | const FourMomentum & | a, | |
const FourMomentum & | b | |||
) | [inline] |
bool Rivet::cmpMomByDescAbsRapidity | ( | const FourMomentum & | a, | |
const FourMomentum & | b | |||
) | [inline] |
bool Rivet::cmpMomByDescPseudorapidity | ( | const FourMomentum & | a, | |
const FourMomentum & | b | |||
) | [inline] |
bool Rivet::cmpMomByDescRapidity | ( | const FourMomentum & | a, | |
const FourMomentum & | b | |||
) | [inline] |
bool Rivet::cmpMomByE | ( | const FourMomentum & | a, | |
const FourMomentum & | b | |||
) | [inline] |
bool Rivet::cmpMomByEt | ( | const FourMomentum & | a, | |
const FourMomentum & | b | |||
) | [inline] |
bool Rivet::cmpMomByPt | ( | const FourMomentum & | a, | |
const FourMomentum & | b | |||
) | [inline] |
bool Rivet::cmpParticleByAscAbsPseudorapidity | ( | const Particle & | a, | |
const Particle & | b | |||
) | [inline] |
Sort by ascending absolute pseudorapidity, .
Definition at line 169 of file Particle.hh.
References Particle::momentum(), and FourVector::pseudorapidity().
Referenced by FinalState::particlesByModEta().
00169 { 00170 return fabs(a.momentum().pseudorapidity()) < fabs(b.momentum().pseudorapidity()); 00171 }
bool Rivet::cmpParticleByAscAbsRapidity | ( | const Particle & | a, | |
const Particle & | b | |||
) | [inline] |
Sort by ascending absolute rapidity, .
Definition at line 185 of file Particle.hh.
References Particle::momentum(), and FourMomentum::rapidity().
bool Rivet::cmpParticleByAscE | ( | const Particle & | a, | |
const Particle & | b | |||
) | [inline] |
Sort by ascending energy, .
Definition at line 153 of file Particle.hh.
References FourMomentum::E(), and Particle::momentum().
bool Rivet::cmpParticleByAscEt | ( | const Particle & | a, | |
const Particle & | b | |||
) | [inline] |
Sort by ascending transverse energy, .
Definition at line 145 of file Particle.hh.
References FourMomentum::Et(), and Particle::momentum().
bool Rivet::cmpParticleByAscPseudorapidity | ( | const Particle & | a, | |
const Particle & | b | |||
) | [inline] |
Sort by ascending pseudorapidity, .
Definition at line 161 of file Particle.hh.
References Particle::momentum(), and FourVector::pseudorapidity().
Referenced by FinalState::particlesByEta().
bool Rivet::cmpParticleByAscPt | ( | const Particle & | a, | |
const Particle & | b | |||
) | [inline] |
Sort by ascending transverse momentum, .
Definition at line 137 of file Particle.hh.
References Particle::momentum(), and FourMomentum::pT().
bool Rivet::cmpParticleByAscRapidity | ( | const Particle & | a, | |
const Particle & | b | |||
) | [inline] |
Sort by ascending rapidity, .
Definition at line 177 of file Particle.hh.
References Particle::momentum(), and FourMomentum::rapidity().
bool Rivet::cmpParticleByDescAbsPseudorapidity | ( | const Particle & | a, | |
const Particle & | b | |||
) | [inline] |
Sort by descending absolute pseudorapidity, .
Definition at line 165 of file Particle.hh.
References Particle::momentum(), and FourVector::pseudorapidity().
00165 { 00166 return fabs(a.momentum().pseudorapidity()) > fabs(b.momentum().pseudorapidity()); 00167 }
bool Rivet::cmpParticleByDescAbsRapidity | ( | const Particle & | a, | |
const Particle & | b | |||
) | [inline] |
Sort by descending absolute rapidity, .
Definition at line 181 of file Particle.hh.
References Particle::momentum(), and FourMomentum::rapidity().
bool Rivet::cmpParticleByDescPseudorapidity | ( | const Particle & | a, | |
const Particle & | b | |||
) | [inline] |
Sort by descending pseudorapidity, .
Definition at line 157 of file Particle.hh.
References Particle::momentum(), and FourVector::pseudorapidity().
bool Rivet::cmpParticleByDescRapidity | ( | const Particle & | a, | |
const Particle & | b | |||
) | [inline] |
Sort by descending rapidity, .
Definition at line 173 of file Particle.hh.
References Particle::momentum(), and FourMomentum::rapidity().
bool Rivet::cmpParticleByE | ( | const Particle & | a, | |
const Particle & | b | |||
) | [inline] |
Sort by descending energy, .
Definition at line 149 of file Particle.hh.
References FourMomentum::E(), and Particle::momentum().
Referenced by FinalState::particlesByE().
bool Rivet::cmpParticleByEt | ( | const Particle & | a, | |
const Particle & | b | |||
) | [inline] |
Sort by descending transverse energy, .
Definition at line 141 of file Particle.hh.
References FourMomentum::Et(), and Particle::momentum().
Referenced by FinalState::particlesByEt().
bool Rivet::cmpParticleByPt | ( | const Particle & | a, | |
const Particle & | b | |||
) | [inline] |
Sort by descending transverse momentum, .
Definition at line 133 of file Particle.hh.
References Particle::momentum(), and FourMomentum::pT().
Referenced by D0_2010_S8570965::analyze(), and FinalState::particlesByPt().
LorentzTransform Rivet::combine | ( | const LorentzTransform & | a, | |
const LorentzTransform & | b | |||
) | [inline] |
bool Rivet::compatible | ( | const PdgIdPair & | pair, | |
const set< PdgIdPair > & | allowedpairs | |||
) | [inline] |
Find whether a PdgIdPair pair is compatible with at least one template beam pair in a set allowedpairs.
Definition at line 48 of file BeamConstraint.hh.
References compatible().
00048 { 00049 for (set<PdgIdPair>::const_iterator bp = allowedpairs.begin(); bp != allowedpairs.end(); ++bp) { 00050 if (compatible(pair, *bp)) return true; 00051 } 00052 return false; 00053 }
bool Rivet::compatible | ( | const PdgIdPair & | allowedpair, | |
const ParticlePair & | ppair | |||
) | [inline] |
Check particle compatibility of Particle pairs (for symmetric completeness).
Definition at line 40 of file BeamConstraint.hh.
References compatible().
00041 { 00042 return compatible(ppair, allowedpair); 00043 }
bool Rivet::compatible | ( | const ParticlePair & | ppair, | |
const PdgIdPair & | allowedpair | |||
) | [inline] |
Check particle compatibility of Particle pairs.
Definition at line 34 of file BeamConstraint.hh.
References compatible(), and make_pdgid_pair().
00035 { 00036 return compatible(make_pdgid_pair(ppair.first.pdgId(), 00037 ppair.second.pdgId()), allowedpair); 00038 }
bool Rivet::compatible | ( | const PdgIdPair & | pair, | |
const PdgIdPair & | allowedpair | |||
) | [inline] |
Find whether PdgIdPair pair is compatible with the template PdgIdPair allowedpair. This assesses whether either of the two possible pairings of pair's constituents is compatible.
Definition at line 24 of file BeamConstraint.hh.
References compatible().
00024 { 00025 bool oneToOne = compatible(pair.first, allowedpair.first); 00026 bool twoToTwo = compatible(pair.second, allowedpair.second); 00027 bool oneToTwo = compatible(pair.first, allowedpair.second); 00028 bool twoToOne = compatible(pair.second, allowedpair.first); 00029 return (oneToOne && twoToTwo) || (oneToTwo && twoToOne); 00030 }
bool Rivet::compatible | ( | PdgId | p, | |
PdgId | allowed | |||
) | [inline] |
Find whether ParticleName p is compatible with the template ParticleName allowed. Effectively this is asking whether p is a subset of allowed.
Definition at line 16 of file BeamConstraint.hh.
References ANY.
Referenced by AnalysisHandler::analyze(), compatible(), intersection(), and Analysis::isCompatible().
00016 { 00017 //assert(p != ANY); 00018 return (allowed == ANY || p == allowed); 00019 }
double Rivet::contract | ( | const FourVector & | a, | |
const FourVector & | b | |||
) | [inline] |
Contract two 4-vectors, with metric signature (+ - - -).
Definition at line 183 of file Vector4.hh.
References FourVector::contract().
Referenced by dot().
double Rivet::correlation | ( | const vector< int > & | sample1, | |
const vector< int > & | sample2 | |||
) | [inline] |
Calculate the correlation strength between two samples.
Definition at line 145 of file MathUtils.hh.
References covariance().
Referenced by UA5_1988_S1867512::finalize().
00145 { 00146 const double cov = covariance(sample1, sample2); 00147 const double var1 = covariance(sample1, sample1); 00148 const double var2 = covariance(sample2, sample2); 00149 const double correlation = cov/sqrt(var1*var2); 00150 const double corr_strength = correlation*sqrt(var2/var1); 00151 return corr_strength; 00152 }
double Rivet::covariance | ( | const vector< int > & | sample1, | |
const vector< int > & | sample2 | |||
) | [inline] |
Calculate the covariance (variance) between two samples.
Definition at line 130 of file MathUtils.hh.
References mean().
Referenced by correlation().
00130 { 00131 double mean1 = mean(sample1); 00132 double mean2 = mean(sample2); 00133 int N = sample1.size(); 00134 double cov = 0.0; 00135 for (int i = 0; i < N; i++) { 00136 double cov_i = (sample1[i] - mean1)*(sample2[i] - mean2); 00137 cov += cov_i; 00138 } 00139 if (N > 1) return cov/(N-1); 00140 else return 0.0; 00141 }
AIDA::IAnalysisFactory * createAnalysisFactory | ( | ) |
Get an AIDA system (LWH impl.).
Definition at line 15 of file RivetAIDA.cc.
Referenced by AnalysisHandler::AnalysisHandler().
Vector3 Rivet::cross | ( | const Vector3 & | a, | |
const Vector3 & | b | |||
) | [inline] |
Definition at line 220 of file Vector3.hh.
References Vector3::cross().
Referenced by Thrust::_calcThrust(), calc_BZ(), calc_KSW(), and Matrix3::setAsRotation().
double Rivet::deltaPhi | ( | double | phi1, | |
double | phi2 | |||
) | [inline] |
Calculate the difference between two angles in radians, returning in the range [0, PI].
Definition at line 205 of file MathUtils.hh.
References mapAngle0ToPi().
Referenced by STAR_2009_UE_HELEN::analyze(), STAR_2008_S7993412::analyze(), MC_PHOTONJETUE::analyze(), MC_LEADINGJETS::analyze(), D0_2009_S8349509::analyze(), D0_2004_S5992206::analyze(), CDF_2008_NOTE_9351::analyze(), CDF_2008_LEADINGJETS::analyze(), CDF_2001_S4751469::analyze(), CDF_1994_S2952106::analyze(), and deltaR().
00205 { 00206 return mapAngle0ToPi(phi1 - phi2); 00207 }
double Rivet::deltaR | ( | double | eta1, | |
double | phi1, | |||
const FourMomentum & | v, | |||
DeltaRScheme | scheme = PSEUDORAPIDITY | |||
) | [inline] |
Definition at line 587 of file Vector4.hh.
References FourVector::azimuthalAngle(), deltaR(), PSEUDORAPIDITY, FourMomentum::rapidity(), RAPIDITY, and FourVector::vector3().
00589 { 00590 switch (scheme) { 00591 case PSEUDORAPIDITY: 00592 return deltaR(eta1, phi1, v.vector3()); 00593 case RAPIDITY: 00594 return deltaR(eta1, phi1, v.rapidity(), v.azimuthalAngle()); 00595 default: 00596 throw std::runtime_error("The specified deltaR scheme is not yet implemented"); 00597 } 00598 }
double Rivet::deltaR | ( | const FourMomentum & | v, | |
double | eta2, | |||
double | phi2, | |||
DeltaRScheme | scheme = PSEUDORAPIDITY | |||
) | [inline] |
Definition at line 573 of file Vector4.hh.
References FourVector::azimuthalAngle(), deltaR(), PSEUDORAPIDITY, FourMomentum::rapidity(), RAPIDITY, and FourVector::vector3().
00575 { 00576 switch (scheme) { 00577 case PSEUDORAPIDITY: 00578 return deltaR(v.vector3(), eta2, phi2); 00579 case RAPIDITY: 00580 return deltaR(v.rapidity(), v.azimuthalAngle(), eta2, phi2); 00581 default: 00582 throw std::runtime_error("The specified deltaR scheme is not yet implemented"); 00583 } 00584 }
double Rivet::deltaR | ( | const FourMomentum & | a, | |
const FourMomentum & | b, | |||
DeltaRScheme | scheme = PSEUDORAPIDITY | |||
) | [inline] |
Calculate the 2D rapidity-azimuthal ("eta-phi") distance between two four-vectors. There is a scheme ambiguity for momentum-type four vectors as to whether the pseudorapidity (a purely geometric concept) or the rapidity (a relativistic energy-momentum quantity) is to be used: this can be chosen via the optional scheme parameter.
Definition at line 561 of file Vector4.hh.
References FourVector::azimuthalAngle(), deltaR(), PSEUDORAPIDITY, FourMomentum::rapidity(), RAPIDITY, and FourVector::vector3().
00562 { 00563 switch (scheme) { 00564 case PSEUDORAPIDITY: 00565 return deltaR(a.vector3(), b.vector3()); 00566 case RAPIDITY: 00567 return deltaR(a.rapidity(), a.azimuthalAngle(), b.rapidity(), b.azimuthalAngle()); 00568 default: 00569 throw std::runtime_error("The specified deltaR scheme is not yet implemented"); 00570 } 00571 }
double Rivet::deltaR | ( | double | eta1, | |
double | phi1, | |||
const FourVector & | v, | |||
DeltaRScheme | scheme = PSEUDORAPIDITY | |||
) | [inline] |
Definition at line 535 of file Vector4.hh.
References deltaR(), PSEUDORAPIDITY, RAPIDITY, and FourVector::vector3().
00537 { 00538 switch (scheme) { 00539 case PSEUDORAPIDITY : 00540 return deltaR(eta1, phi1, v.vector3()); 00541 case RAPIDITY: 00542 { 00543 const FourMomentum* mv = dynamic_cast<const FourMomentum*>(&v); 00544 if (!mv) { 00545 string err = "deltaR with scheme RAPIDITY, can be called with FourMomenta only"; 00546 throw std::runtime_error(err); 00547 } 00548 return deltaR(eta1, phi1, *mv, scheme); 00549 } 00550 default: 00551 throw std::runtime_error("The specified deltaR scheme is not yet implemented"); 00552 } 00553 }
double Rivet::deltaR | ( | const FourVector & | v, | |
double | eta2, | |||
double | phi2, | |||
DeltaRScheme | scheme = PSEUDORAPIDITY | |||
) | [inline] |
Definition at line 514 of file Vector4.hh.
References deltaR(), PSEUDORAPIDITY, RAPIDITY, and FourVector::vector3().
00516 { 00517 switch (scheme) { 00518 case PSEUDORAPIDITY : 00519 return deltaR(v.vector3(), eta2, phi2); 00520 case RAPIDITY: 00521 { 00522 const FourMomentum* mv = dynamic_cast<const FourMomentum*>(&v); 00523 if (!mv) { 00524 string err = "deltaR with scheme RAPIDITY, can be called with FourMomenta only"; 00525 throw std::runtime_error(err); 00526 } 00527 return deltaR(*mv, eta2, phi2, scheme); 00528 } 00529 default: 00530 throw std::runtime_error("The specified deltaR scheme is not yet implemented"); 00531 } 00532 }
double Rivet::deltaR | ( | const FourVector & | a, | |
const FourVector & | b, | |||
DeltaRScheme | scheme = PSEUDORAPIDITY | |||
) | [inline] |
Calculate the 2D rapidity-azimuthal ("eta-phi") distance between two four-vectors. There is a scheme ambiguity for momentum-type four vectors as to whether the pseudorapidity (a purely geometric concept) or the rapidity (a relativistic energy-momentum quantity) is to be used: this can be chosen via the optional scheme parameter, which is discouraged in this case since RAPIDITY
is only a valid option for vectors whose type is really the FourMomentum derived class.
Definition at line 493 of file Vector4.hh.
References deltaR(), PSEUDORAPIDITY, RAPIDITY, and FourVector::vector3().
00494 { 00495 switch (scheme) { 00496 case PSEUDORAPIDITY : 00497 return deltaR(a.vector3(), b.vector3()); 00498 case RAPIDITY: 00499 { 00500 const FourMomentum* ma = dynamic_cast<const FourMomentum*>(&a); 00501 const FourMomentum* mb = dynamic_cast<const FourMomentum*>(&b); 00502 if (!ma || !mb) { 00503 string err = "deltaR with scheme RAPIDITY, can be called with FourMomenta only"; 00504 throw std::runtime_error(err); 00505 } 00506 return deltaR(*ma, *mb, scheme); 00507 } 00508 default: 00509 throw std::runtime_error("The specified deltaR scheme is not yet implemented"); 00510 } 00511 }
double Rivet::deltaR | ( | double | eta1, | |
double | phi1, | |||
const Vector3 & | v | |||
) | [inline] |
Calculate the 2D rapidity-azimuthal ("eta-phi") distance between two spatial vectors.
Definition at line 347 of file Vector3.hh.
References Vector3::azimuthalAngle(), deltaR(), and Vector3::pseudorapidity().
00347 { 00348 return deltaR(eta1, phi1, v.pseudorapidity(), v.azimuthalAngle()); 00349 }
double Rivet::deltaR | ( | const Vector3 & | v, | |
double | eta2, | |||
double | phi2 | |||
) | [inline] |
Calculate the 2D rapidity-azimuthal ("eta-phi") distance between two spatial vectors.
Definition at line 341 of file Vector3.hh.
References Vector3::azimuthalAngle(), deltaR(), and Vector3::pseudorapidity().
00341 { 00342 return deltaR(v.pseudorapidity(), v.azimuthalAngle(), eta2, phi2); 00343 }
double Rivet::deltaR | ( | const Vector3 & | a, | |
const Vector3 & | b | |||
) | [inline] |
Calculate the 2D rapidity-azimuthal ("eta-phi") distance between two spatial vectors.
Definition at line 334 of file Vector3.hh.
References Vector3::azimuthalAngle(), deltaR(), and Vector3::pseudorapidity().
00334 { 00335 return deltaR(a.pseudorapidity(), a.azimuthalAngle(), 00336 b.pseudorapidity(), b.azimuthalAngle()); 00337 }
double Rivet::deltaR | ( | double | y1, | |
double | phi1, | |||
double | y2, | |||
double | phi2 | |||
) | [inline] |
Calculate the distance between two points in 2D rapidity-azimuthal ("eta-phi") space. The phi values are given in radians.
Definition at line 211 of file MathUtils.hh.
References deltaPhi(), and sqr().
Referenced by CDF_2004_S5839831::_calcTransCones(), MC_ZZJETS::analyze(), MC_ZJETS::analyze(), MC_WWJETS::analyze(), MC_WJETS::analyze(), MC_SUSY::analyze(), MC_PHOTONJETUE::analyze(), MC_PHOTONJETS::analyze(), MC_JetAnalysis::analyze(), MC_HJETS::analyze(), MC_DIPHOTON::analyze(), D0_2010_S8570965::analyze(), D0_2009_S8349509::analyze(), D0_2008_S7863608::analyze(), D0_2008_S7719523::analyze(), D0_2008_S6879055::analyze(), D0_2006_S6438750::analyze(), D0_1996_S3214044::analyze(), CDF_2009_S8436959::analyze(), CDF_2008_S8095620::analyze(), CDF_2008_S7540469::analyze(), CDF_2006_S6653332::analyze(), CDF_2005_S6080774::analyze(), CDF_2004_S5839831::analyze(), CDF_1997_S3541940::analyze(), CDF_1996_S3349578::analyze(), CDF_1994_S2952106::analyze(), CDF_1993_S2742446::analyze(), deltaR(), SVertex::project(), JetShape::project(), and ClusteredPhotons::project().
00211 { 00212 const double dphi = deltaPhi(phi1, phi2); 00213 return sqrt( sqr(y1-y2) + sqr(dphi) ); 00214 }
double Rivet::det | ( | const Matrix< N > & | m | ) | [inline] |
EigenSystem< N > diagonalize | ( | const Matrix< N > & | m | ) | [inline] |
Diagonalize an NxN matrix, returning a collection of pairs of eigenvalues and eigenvectors, ordered decreasing in eigenvalue.
Definition at line 112 of file MatrixDiag.hh.
References EigenSystem::_eigenPairs, Rivet::PID::A(), Matrix::get(), and Vector::set().
Referenced by Sphericity::_calcSphericity().
00112 { 00113 EigenSystem<N> esys; 00114 00115 // Make a GSL matrix. 00116 gsl_matrix* A = gsl_matrix_alloc(N, N); 00117 for (size_t i = 0; i < N; ++i) { 00118 for (size_t j = 0; j < N; ++j) { 00119 gsl_matrix_set(A, i, j, m.get(i, j)); 00120 } 00121 } 00122 00123 // Use GSL diagonalization. 00124 gsl_matrix* vecs = gsl_matrix_alloc(N, N); 00125 gsl_vector* vals = gsl_vector_alloc(N); 00126 gsl_eigen_symmv_workspace* workspace = gsl_eigen_symmv_alloc(N); 00127 gsl_eigen_symmv(A, vals, vecs, workspace); 00128 gsl_eigen_symmv_sort(vals, vecs, GSL_EIGEN_SORT_VAL_DESC); 00129 00130 // Build the vector of "eigen-pairs". 00131 typename EigenSystem<N>::EigenPairs eigensolns; 00132 for (size_t i = 0; i < N; ++i) { 00133 typename EigenSystem<N>::EigenPair ep; 00134 ep.first = gsl_vector_get(vals, i); 00135 Vector<N> ev; 00136 for (size_t j = 0; j < N; ++j) { 00137 ev.set(j, gsl_matrix_get(vecs, j, i)); 00138 } 00139 ep.second = ev; 00140 eigensolns.push_back(ep); 00141 } 00142 00143 // Free GSL memory. 00144 gsl_eigen_symmv_free(workspace); 00145 gsl_matrix_free(A); 00146 gsl_matrix_free(vecs); 00147 gsl_vector_free(vals); 00148 00149 // Populate the returned object. 00150 esys._eigenPairs = eigensolns; 00151 return esys; 00152 }
Matrix< N > divide | ( | const Matrix< N > & | m, | |
const | double | |||
) | [inline] |
double Rivet::dot | ( | const FourVector & | a, | |
const FourVector & | b | |||
) | [inline] |
Contract two 4-vectors, with metric signature (+ - - -).
Definition at line 188 of file Vector4.hh.
References contract().
00188 { 00189 return contract(a, b); 00190 }
double Rivet::dot | ( | const Vector3 & | a, | |
const Vector3 & | b | |||
) | [inline] |
Definition at line 216 of file Vector3.hh.
References Vector3::dot().
Referenced by Thrust::_calcThrust(), D0_1996_S3214044::_fourJetAnalysis(), ALEPH_2004_S5765862::analyze(), ALEPH_1996_S3486095::analyze(), calc_ALPHA34(), calc_BZ(), calc_KSW(), calc_NR(), Hemispheres::project(), and DISKinematics::project().
bool Rivet::endsWith | ( | const string & | s, | |
const string & | end | |||
) | [inline] |
double Rivet::Et | ( | const FourMomentum & | v | ) | [inline] |
Calculate transverse energy of a momentum 4-vector.
Definition at line 473 of file Vector4.hh.
References FourMomentum::Et().
Referenced by H1_2000_S4129130::analyze(), H1_1994_S2919893::analyze(), CDF_1997_S3541940::analyze(), CDF_1996_S3349578::analyze(), and CDF_1996_S3108457::analyze().
double Rivet::Et2 | ( | const FourMomentum & | v | ) | [inline] |
Calculate transverse energy squared, of a momentum 4-vector.
Definition at line 469 of file Vector4.hh.
References FourMomentum::Et2().
double Rivet::eta | ( | const FourVector & | v | ) | [inline] |
Synonym for pseudorapidity.
Definition at line 299 of file Vector4.hh.
References FourVector::eta().
double Rivet::eta | ( | const Vector3 & | v | ) | [inline] |
Synonym for pseudorapidity.
Definition at line 324 of file Vector3.hh.
References Vector3::eta().
Referenced by FinalState::accept(), UA5_1986_S1583476::analyze(), UA5_1982_S875503::analyze(), UA1_1990_S2044935::analyze(), SFM_1984_S1178091::analyze(), MC_TTBAR::analyze(), MC_GENERIC::analyze(), H1_2000_S4129130::analyze(), H1_1994_S2919893::analyze(), D0_1996_S3324664::analyze(), CDF_2008_LEADINGJETS::analyze(), CDF_2001_S4563131::analyze(), CDF_1997_S3541940::analyze(), CDF_1990_S2089246::analyze(), UnstableFinalState::project(), TriggerUA5::project(), TriggerCDFRun2::project(), TriggerCDFRun0Run1::project(), and InitialQuarks::project().
bool Rivet::fuzzyEquals | ( | const Vector< N > & | va, | |
const Vector< N > & | vb, | |||
double | tolerance = 1E-5 | |||
) | [inline] |
Compare two vectors by index, allowing for numerical precision.
Definition at line 184 of file VectorN.hh.
References fuzzyEquals(), and Vector::get().
00184 { 00185 for (size_t i = 0; i < N; ++i) { 00186 const double a = va.get(i); 00187 const double b = vb.get(i); 00188 if (!Rivet::fuzzyEquals(a, b, tolerance)) return false; 00189 } 00190 return true; 00191 }
bool Rivet::fuzzyEquals | ( | const Matrix< N > & | ma, | |
const Matrix< N > & | mb, | |||
double | tolerance = 1E-5 | |||
) | [inline] |
Compare two matrices by index, allowing for numerical precision.
Definition at line 398 of file MatrixN.hh.
References fuzzyEquals(), and Matrix::get().
00398 { 00399 for (size_t i = 0; i < N; ++i) { 00400 for (size_t j = 0; j < N; ++j) { 00401 const double a = ma.get(i, j); 00402 const double b = mb.get(i, j); 00403 if (!Rivet::fuzzyEquals(a, b, tolerance)) return false; 00404 } 00405 } 00406 return true; 00407 }
bool Rivet::fuzzyEquals | ( | long | a, | |
long | b, | |||
double | UNUSEDtolerance = 1E-5 | |||
) | [inline] |
Compare two integral-type numbers with a degree of fuzziness. Since there is no risk of floating point error with integral types, this function just exists in case fuzzyEquals
is accidentally used on an integer type, to avoid implicit type conversion. The tolerance parameter is ignored, even if it would have an absolute magnitude greater than 1.
Definition at line 62 of file MathUtils.hh.
bool Rivet::fuzzyEquals | ( | double | a, | |
double | b, | |||
double | tolerance = 1E-5 | |||
) | [inline] |
Compare two floating point numbers with a degree of fuzziness expressed by the fractional tolerance parameter.
Definition at line 49 of file MathUtils.hh.
Referenced by Sphericity::_calcSphericity(), Cmp< double >::_compare(), UA1_1990_S2044935::analyze(), CDF_2004_S5839831::analyze(), AnalysisHandler::analyze(), ALEPH_2004_S5765862::analyze(), Sphericity::compare(), UA1_1990_S2044935::finalize(), CDF_2004_S5839831::finalize(), CDF_2002_S4796047::finalize(), ALEPH_2004_S5765862::finalize(), fuzzyEquals(), getBinEdges(), OPAL_2004_S6132243::getHistIndex(), UA5_1989_S1926373::init(), UA5_1988_S1867512::init(), UA5_1986_S1583476::init(), UA1_1990_S2044935::init(), SFM_1984_S1178091::init(), CDF_2004_S5839831::init(), CDF_2002_S4796047::init(), CDF_1990_S2089246::init(), CDF_1988_S1865951::init(), and ALEPH_1996_S3196992::particleInJet().
00049 { 00050 const double absavg = fabs(a + b)/2.0; 00051 const double absdiff = fabs(a - b); 00052 const bool rtn = (absavg == 0.0 && absdiff == 0.0) || absdiff < tolerance*absavg; 00053 return rtn; 00054 }
double Rivet::get2dClosestApproach | ( | const HepMC::GenParticle & | track, | |
const Vector3 & | vtx3pos | |||
) | [inline] |
Definition at line 14 of file SVertex.cc.
References sqr(), Vector3::x(), Vector3::y(), and Vector3::z().
Referenced by SVertex::_applyVtxTrackCuts().
00014 { 00015 /// @todo Whoa! - implicit constructors from hell! 00016 HepMC::FourVector trkvec = track; 00017 HepMC::ThreeVector trk3vec = trkvec; 00018 HepMC::ThreeVector trk3pos = track.production_vertex()->position(); 00019 00020 Vector3 diff(vtx3pos.x()-trk3pos.x(), vtx3pos.y()-trk3pos.y(), vtx3pos.z()-trk3pos.z()); 00021 00022 // Impact parameter in the transverse plane 00023 const double d = fabs( trk3vec.x()*diff.y() - trk3vec.y()*diff.x() ) 00024 / sqrt( sqr(trk3vec.x()) + sqr(trk3vec.y()) ); 00025 return d; 00026 }
double Rivet::get2dDecayLength | ( | const Vector3 & | vtx1, | |
const Vector3 & | vtx2, | |||
const FourMomentum & | jetaxis | |||
) | [inline] |
Return Decay Length Significance between two vertices in transverse plane.
Definition at line 47 of file SVertex.cc.
References FourMomentum::px(), FourMomentum::py(), sqr(), Vector3::x(), and Vector3::y().
Referenced by SVertex::project().
00047 { 00048 Vector3 diff = vtx1 - vtx2; 00049 const double l = (jetaxis.px()*diff.x() + jetaxis.py()*diff.y() ) 00050 / sqrt(sqr(jetaxis.px())+sqr(jetaxis.py())); 00051 return l; 00052 }
double Rivet::get3dClosestApproach | ( | const HepMC::GenParticle & | track, | |
const Vector3 & | vtx3pos | |||
) | [inline] |
Definition at line 30 of file SVertex.cc.
References sqr(), Vector3::x(), Vector3::y(), and Vector3::z().
00030 { 00031 HepMC::FourVector trkvec = track; 00032 HepMC::ThreeVector trk3vec = trkvec; 00033 HepMC::FourVector trkpos = track.production_vertex()->position(); 00034 HepMC::ThreeVector trk3pos = trkpos; 00035 Vector3 diff(vtx3pos.x()-trk3pos.x(), vtx3pos.y()-trk3pos.y(), vtx3pos.z()-trk3pos.z()); 00036 00037 // Impact parameter in 3 dimensions 00038 const double mag = sqrt( sqr(trk3vec.x()) + sqr(trk3vec.y()) + sqr(trk3vec.z()) ); 00039 const double d = sqrt( sqr(trk3vec.y()*diff.z()-trk3vec.z()*diff.y()) - 00040 sqr(trk3vec.x()*diff.z()-trk3vec.z()*diff.x()) + 00041 sqr(trk3vec.x()*diff.y()-trk3vec.y()*diff.x()) ) / mag; 00042 return d; 00043 }
double Rivet::get3dDecayLength | ( | const Vector3 & | vtx1, | |
const Vector3 & | vtx2, | |||
const FourMomentum & | jetaxis | |||
) | [inline] |
Return 3 dimensional Decay Length Significance between vertices.
Definition at line 57 of file SVertex.cc.
References FourMomentum::px(), FourMomentum::py(), FourMomentum::pz(), sqr(), Vector3::x(), Vector3::y(), and Vector3::z().
00057 { 00058 Vector3 diff = vtx1 - vtx2; 00059 const double l = (jetaxis.px()*diff.x() +jetaxis.py()*diff.y() +jetaxis.pz()*diff.z()) 00060 / sqrt(sqr(jetaxis.px())+sqr(jetaxis.py())+sqr(jetaxis.pz())); 00061 return l; 00062 }
const vector< string > getAnalysisInfoPaths | ( | ) |
Get Rivet analysis info metadata search paths.
Definition at line 63 of file RivetPaths.cc.
References getRivetDataPath(), and split().
00063 { 00064 vector<string> dirs; 00065 char* env = 0; 00066 env = getenv("RIVET_INFO_PATH"); 00067 if (env) { 00068 // Use the Rivet analysis path variable if set... 00069 dirs += split(env); 00070 } else { 00071 // ... otherwise fall back to the Rivet data install path 00072 dirs += getRivetDataPath(); 00073 } 00074 return dirs; 00075 }
const vector< string > getAnalysisLibPaths | ( | ) |
Get Rivet analysis plugin library search paths.
Definition at line 33 of file RivetPaths.cc.
References getLibPath(), and split().
Referenced by AnalysisLoader::_loadAnalysisPlugins().
00033 { 00034 vector<string> dirs; 00035 char* env = 0; 00036 env = getenv("RIVET_ANALYSIS_PATH"); 00037 if (env) { 00038 // Use the Rivet analysis path variable if set... 00039 dirs += split(env); 00040 } else { 00041 // ... otherwise fall back to the Rivet library install path 00042 dirs += getLibPath(); 00043 } 00044 return dirs; 00045 }
const vector< string > getAnalysisRefPaths | ( | ) |
Get Rivet analysis reference data search paths.
Definition at line 48 of file RivetPaths.cc.
References getRivetDataPath(), and split().
00048 { 00049 vector<string> dirs; 00050 char* env = 0; 00051 env = getenv("RIVET_REF_PATH"); 00052 if (env) { 00053 // Use the Rivet analysis path variable if set... 00054 dirs += split(env); 00055 } else { 00056 // ... otherwise fall back to the Rivet data install path 00057 dirs += getRivetDataPath(); 00058 } 00059 return dirs; 00060 }
const map< string, BinEdges > getBinEdges | ( | const map< string, vector< DPSXPoint > > & | xpoints | ) |
Definition at line 211 of file RivetAIDA.cc.
References DPSXPoint::errminus, DPSXPoint::errplus, fuzzyEquals(), and DPSXPoint::val.
00211 { 00212 00213 map<string, BinEdges> rtn; 00214 for (map<string, vector<DPSXPoint> >::const_iterator dsit = xpoints.begin(); dsit != xpoints.end(); ++dsit) { 00215 const string plotname = dsit->first; 00216 list<double> edges; 00217 foreach (const DPSXPoint& xpt, dsit->second) { 00218 const double lowedge = xpt.val - xpt.errminus; 00219 const double highedge = xpt.val + xpt.errplus; 00220 edges.push_back(lowedge); 00221 edges.push_back(highedge); 00222 } 00223 00224 //cout << "*** " << edges << endl; 00225 00226 // Remove duplicates (the careful testing is why we haven't used a set) 00227 //cout << edges.size() << " edges -> " << edges.size()/2 << " bins" << endl; 00228 for (list<double>::iterator e = edges.begin(); e != edges.end(); ++e) { 00229 list<double>::iterator e2 = e; 00230 while (e2 != edges.end()) { 00231 if (e != e2) { 00232 if (fuzzyEquals(*e, *e2)) { 00233 edges.erase(e2++); 00234 } 00235 } 00236 ++e2; 00237 } 00238 } 00239 //cout << edges.size() << " edges after dups removal (should be #bins+1)" << endl; 00240 //cout << "@@@ " << edges << endl; 00241 00242 // Add to the map 00243 rtn[plotname] = BinEdges(edges.begin(), edges.end()); 00244 } 00245 00246 // Return 00247 return rtn; 00248 }
const map< string, BinEdges > getBinEdges | ( | string | papername | ) |
Function to get a map of all the bin edge vectors in a paper with the given papername.
Definition at line 203 of file RivetAIDA.cc.
References getDPSXValsErrs().
Referenced by Analysis::_cacheBinEdges().
00203 { 00204 const map<string, vector<DPSXPoint> > xpoints = getDPSXValsErrs(papername); 00205 return getBinEdges(xpoints); 00206 }
const string Rivet::getDatafilePath | ( | string | papername | ) |
Definition at line 24 of file RivetAIDA.cc.
References getRivetDataPath(), and split().
Referenced by getDPSXValsErrs(), and getDPSXYValsErrs().
00024 { 00025 char* env = getenv("RIVET_REF_PATH"); 00026 vector<string> searchpaths; 00027 if (env) { 00028 searchpaths = split(env); 00029 } 00030 searchpaths.push_back(getRivetDataPath()); 00031 searchpaths.push_back("."); 00032 foreach (const string& dir, searchpaths) { 00033 std::ifstream in; 00034 const string file = dir + "/" + papername + ".aida"; 00035 if (access(file.c_str(), R_OK) == 0) { 00036 return file; 00037 } 00038 } 00039 throw Rivet::Error("Couldn't find ref data file '" + papername + ".aida" + 00040 " in $RIVET_REF_PATH, " + getRivetDataPath() + ", or ."); 00041 return ""; 00042 }
const string getDataPath | ( | ) |
Get data install path.
Definition at line 19 of file RivetPaths.cc.
00019 { 00020 BrInitError error; 00021 br_init_lib(&error); 00022 char* temp = br_find_data_dir(DEFAULTDATADIR); 00023 const string sharedir(temp); 00024 free (temp); 00025 return sharedir; 00026 }
const string Rivet::getDataPath | ( | string | papername | ) |
Get the file system path to the AIDA reference file for this paper.
Referenced by getRivetDataPath().
const map< string, vector< DPSXPoint > > getDPSXValsErrs | ( | string | papername | ) |
Check path to make sure that this is a reference histogram.
Definition at line 127 of file RivetAIDA.cc.
References getDatafilePath().
Referenced by Analysis::_cacheXAxisData(), and getBinEdges().
00127 { 00128 // Get filename 00129 const string xmlfile = getDatafilePath(papername); 00130 00131 // Open AIDA XML file 00132 TiXmlDocument doc(xmlfile); 00133 doc.LoadFile(); 00134 if (doc.Error()) { 00135 string err = "Error in " + string(doc.Value()); 00136 err += ": " + string(doc.ErrorDesc()); 00137 cerr << err << endl; 00138 throw Error(err); 00139 } 00140 00141 // Return value, to be populated 00142 map<string, vector<DPSXPoint> > rtn; 00143 00144 try { 00145 // Walk down tree to get to the <paper> element 00146 const TiXmlNode* aidaN = doc.FirstChild("aida"); 00147 if (!aidaN) throw Error("Couldn't get <aida> root element"); 00148 for (const TiXmlNode* dpsN = aidaN->FirstChild("dataPointSet"); dpsN; dpsN = dpsN->NextSibling()) { 00149 const TiXmlElement* dpsE = dpsN->ToElement(); 00150 const string plotname = dpsE->Attribute("name"); 00151 const string plotpath = dpsE->Attribute("path"); 00152 /// Check path to make sure that this is a reference histogram. 00153 if (plotpath.find("/REF") != 0) { 00154 cerr << "Skipping non-reference histogram " << plotname << endl; 00155 continue; 00156 } 00157 00158 /// @todo Check that "path" matches filename 00159 vector<DPSXPoint> points; 00160 for (const TiXmlNode* dpN = dpsN->FirstChild("dataPoint"); dpN; dpN = dpN->NextSibling()) { 00161 const TiXmlNode* xMeasN = dpN->FirstChild("measurement"); 00162 if (xMeasN) { 00163 const TiXmlElement* xMeasE = xMeasN->ToElement(); 00164 const string centreStr = xMeasE->Attribute("value"); 00165 const string errplusStr = xMeasE->Attribute("errorPlus"); 00166 const string errminusStr = xMeasE->Attribute("errorMinus"); 00167 //if (!centreStr) throw Error("Couldn't get a valid bin centre"); 00168 //if (!errplusStr) throw Error("Couldn't get a valid bin err+"); 00169 //if (!errminusStr) throw Error("Couldn't get a valid bin err-"); 00170 istringstream ssC(centreStr); 00171 istringstream ssP(errplusStr); 00172 istringstream ssM(errminusStr); 00173 double centre, errplus, errminus; 00174 ssC >> centre; ssP >> errplus; ssM >> errminus; 00175 //cout << " " << centre << " + " << errplus << " - " << errminus << endl; 00176 DPSXPoint pt(centre, errminus, errplus); 00177 points.push_back(pt); 00178 } else { 00179 cerr << "Couldn't get <measurement> tag" << endl; 00180 /// @todo Throw an exception here? 00181 } 00182 } 00183 00184 // Add to the map 00185 rtn[plotname] = points; 00186 } 00187 00188 } 00189 // Write out the error 00190 /// @todo Rethrow as a general XML failure. 00191 catch (std::exception& e) { 00192 cerr << e.what() << endl; 00193 throw; 00194 } 00195 00196 // Return 00197 return rtn; 00198 }
const map< string, vector< DPSXYPoint > > getDPSXYValsErrs | ( | string | papername | ) |
Check path to make sure that this is a reference histogram.
Definition at line 45 of file RivetAIDA.cc.
References getDatafilePath().
00045 { 00046 // Get filename 00047 const string xmlfile = getDatafilePath(papername); 00048 00049 // Open AIDA XML file 00050 TiXmlDocument doc(xmlfile); 00051 doc.LoadFile(); 00052 if (doc.Error()) { 00053 string err = "Error in " + string(doc.Value()); 00054 err += ": " + string(doc.ErrorDesc()); 00055 cerr << err << endl; 00056 throw Error(err); 00057 } 00058 00059 // Return value, to be populated 00060 map<string, vector<DPSXYPoint> > rtn; 00061 00062 try { 00063 // Walk down tree to get to the <paper> element 00064 const TiXmlNode* aidaN = doc.FirstChild("aida"); 00065 if (!aidaN) throw Error("Couldn't get <aida> root element"); 00066 for (const TiXmlNode* dpsN = aidaN->FirstChild("dataPointSet"); dpsN; dpsN = dpsN->NextSibling()) { 00067 const TiXmlElement* dpsE = dpsN->ToElement(); 00068 const string plotname = dpsE->Attribute("name"); 00069 const string plotpath = dpsE->Attribute("path"); 00070 /// Check path to make sure that this is a reference histogram. 00071 if (plotpath.find("/REF") != 0) { 00072 cerr << "Skipping non-reference histogram " << plotname << endl; 00073 continue; 00074 } 00075 00076 /// @todo Check that "path" matches filename 00077 vector<DPSXYPoint> points; 00078 for (const TiXmlNode* dpN = dpsN->FirstChild("dataPoint"); dpN; dpN = dpN->NextSibling()) { 00079 const TiXmlNode* xMeasN = dpN->FirstChild("measurement"); 00080 const TiXmlNode* yMeasN = xMeasN->NextSibling(); 00081 if (xMeasN && yMeasN) { 00082 const TiXmlElement* xMeasE = xMeasN->ToElement(); 00083 const TiXmlElement* yMeasE = yMeasN->ToElement(); 00084 const string xcentreStr = xMeasE->Attribute("value"); 00085 const string xerrplusStr = xMeasE->Attribute("errorPlus"); 00086 const string xerrminusStr = xMeasE->Attribute("errorMinus"); 00087 const string ycentreStr = yMeasE->Attribute("value"); 00088 const string yerrplusStr = yMeasE->Attribute("errorPlus"); 00089 const string yerrminusStr = yMeasE->Attribute("errorMinus"); 00090 //if (!centreStr) throw Error("Couldn't get a valid bin centre"); 00091 //if (!errplusStr) throw Error("Couldn't get a valid bin err+"); 00092 //if (!errminusStr) throw Error("Couldn't get a valid bin err-"); 00093 istringstream xssC(xcentreStr); 00094 istringstream xssP(xerrplusStr); 00095 istringstream xssM(xerrminusStr); 00096 istringstream yssC(ycentreStr); 00097 istringstream yssP(yerrplusStr); 00098 istringstream yssM(yerrminusStr); 00099 double xcentre, xerrplus, xerrminus, ycentre, yerrplus, yerrminus; 00100 xssC >> xcentre; xssP >> xerrplus; xssM >> xerrminus; 00101 yssC >> ycentre; yssP >> yerrplus; yssM >> yerrminus; 00102 //cout << " " << centre << " + " << errplus << " - " << errminus << endl; 00103 DPSXYPoint pt(xcentre, xerrminus, xerrplus, ycentre, yerrminus, yerrplus); 00104 points.push_back(pt); 00105 } else { 00106 cerr << "Couldn't get <measurement> tag" << endl; 00107 /// @todo Throw an exception here? 00108 } 00109 } 00110 00111 // Add to the map 00112 rtn[plotname] = points; 00113 } 00114 00115 } 00116 // Write out the error 00117 /// @todo Rethrow as a general XML failure. 00118 catch (std::exception& e) { 00119 cerr << e.what() << endl; 00120 throw; 00121 } 00122 00123 // Return 00124 return rtn; 00125 }
HistoFormatList Rivet::getKnownHistoFormatEnums | ( | ) | [inline] |
Function which returns a vector of all the histogram format values in the HistoFormat enum.
Definition at line 49 of file HistoFormat.hh.
References getKnownHistoFormats().
00049 { 00050 HistoFormatList names; 00051 HistoFormatMap hfmap = getKnownHistoFormats(); 00052 for (HistoFormatMap::const_iterator hf = hfmap.begin(); hf != hfmap.end(); ++hf) { 00053 names.push_back(hf->first); 00054 } 00055 return names; 00056 }
std::vector<std::string> Rivet::getKnownHistoFormatNames | ( | ) | [inline] |
Function which returns a vector of all the histogram format name strings.
Definition at line 60 of file HistoFormat.hh.
References getKnownHistoFormats().
00060 { 00061 vector<string> names; 00062 HistoFormatMap hfmap = getKnownHistoFormats(); 00063 for (HistoFormatMap::const_iterator hf = hfmap.begin(); hf != hfmap.end(); ++hf) { 00064 names.push_back(hf->second); 00065 } 00066 return names; 00067 }
HistoFormatMap Rivet::getKnownHistoFormats | ( | ) | [inline] |
Function which returns a map from histogram format enums to the corresponding name strings.
Definition at line 22 of file HistoFormat.hh.
References AIDAML, FLAT, and ROOT.
Referenced by getKnownHistoFormatEnums(), getKnownHistoFormatNames(), and getKnownHistoFormatsR().
00022 { 00023 HistoFormatMap hfmap; 00024 hfmap[AIDAML] = "AIDA"; 00025 hfmap[FLAT] = "FLAT"; 00026 #ifdef HAVE_ROOT 00027 hfmap[ROOT] = "ROOT"; 00028 #endif 00029 return hfmap; 00030 }
HistoFormatMapR Rivet::getKnownHistoFormatsR | ( | ) | [inline] |
Function which returns a map from histogram format name strings to the corresponding enums.
Definition at line 33 of file HistoFormat.hh.
References getKnownHistoFormats().
00033 { 00034 HistoFormatMap hfmap = getKnownHistoFormats(); 00035 HistoFormatMapR hfmapr; 00036 for (HistoFormatMap::const_iterator hf = hfmap.begin(); hf != hfmap.end(); ++hf) { 00037 hfmapr[hf->second] = hf->first; 00038 } 00039 return hfmapr; 00040 }
const string getLibPath | ( | ) |
Get library install path.
Definition at line 10 of file RivetPaths.cc.
Referenced by getAnalysisLibPaths().
00010 { 00011 BrInitError error; 00012 br_init_lib(&error); 00013 char* temp = br_find_lib_dir(DEFAULTLIBDIR); 00014 const string libdir(temp); 00015 free (temp); 00016 return libdir; 00017 }
const string getRivetDataPath | ( | ) |
Get Rivet data install path.
Definition at line 28 of file RivetPaths.cc.
References getDataPath().
Referenced by getAnalysisInfoPaths(), getAnalysisRefPaths(), getDatafilePath(), and AnalysisInfo::make().
00028 { 00029 return getDataPath() + "/Rivet"; 00030 }
bool Rivet::hadronFilter | ( | const Particle & | p | ) |
Definition at line 16 of file HadronicFinalState.cc.
References Rivet::PID::isHadron(), and Particle::pdgId().
Referenced by HadronicFinalState::project().
00016 { 00017 return ! PID::isHadron(p.pdgId()); 00018 }
bool Rivet::inRange | ( | int | value, | |
int | low, | |||
int | high, | |||
RangeBoundary | lowbound = CLOSED , |
|||
RangeBoundary | highbound = CLOSED | |||
) | [inline] |
Determine if value is in the range low to high, with boundary types defined by lowbound and highbound.
Definition at line 92 of file MathUtils.hh.
00093 { 00094 if (lowbound == OPEN && highbound == OPEN) { 00095 return (value > low && value < high); 00096 } else if (lowbound == OPEN && highbound == CLOSED) { 00097 return (value > low && value <= high); 00098 } else if (lowbound == CLOSED && highbound == OPEN) { 00099 return (value >= low && value < high); 00100 } else { // if (lowbound == CLOSED && highbound == CLOSED) { 00101 return (value >= low && value <= high); 00102 } 00103 }
bool Rivet::inRange | ( | NUM | value, | |
NUM | low, | |||
NUM | high, | |||
RangeBoundary | lowbound = CLOSED , |
|||
RangeBoundary | highbound = OPEN | |||
) | [inline] |
Determine if value is in the range low to high, with boundary types defined by lowbound and highbound.
Definition at line 75 of file MathUtils.hh.
Referenced by UA1_1990_S2044935::analyze(), STAR_2008_S7993412::analyze(), STAR_2006_S6870392::analyze(), H1_2000_S4129130::analyze(), D0_2008_S7719523::analyze(), D0_2004_S5992206::analyze(), D0_2001_S4674421::analyze(), CDF_2008_S7782535::analyze(), CDF_2008_NOTE_9351::analyze(), CDF_2006_S6450792::analyze(), CDF_2005_S6217184::analyze(), CDF_2004_S5839831::analyze(), OPAL_2004_S6132243::getHistIndex(), WFinder::project(), TriggerUA5::project(), TriggerCDFRun2::project(), TriggerCDFRun0Run1::project(), and InitialQuarks::project().
00076 { 00077 if (lowbound == OPEN && highbound == OPEN) { 00078 return (value > low && value < high); 00079 } else if (lowbound == OPEN && highbound == CLOSED) { 00080 return (value > low && value <= high); 00081 } else if (lowbound == CLOSED && highbound == OPEN) { 00082 return (value >= low && value < high); 00083 } else { // if (lowbound == CLOSED && highbound == CLOSED) { 00084 return (value >= low && value <= high); 00085 } 00086 }
double Rivet::integral | ( | AIDA::IHistogram1D * | histo | ) | [inline] |
Return the integral over the histogram bins.
Definition at line 42 of file RivetAIDA.hh.
Referenced by D0_2001_S4674421::finalize().
00042 { 00043 double intg = 0.; 00044 for ( int i = 0; i < histo->axis().bins(); ++i ) { 00045 // Don't multiply with binWidth -- it's already included in binHeight 00046 intg += histo->binHeight(i); // * histo->axis().binWidth(i); 00047 } 00048 return intg; 00049 }
set<PdgIdPair> Rivet::intersection | ( | const set< PdgIdPair > & | a, | |
const set< PdgIdPair > & | b | |||
) | [inline] |
Return the intersection of two sets of PdgIdPairs.
Definition at line 56 of file BeamConstraint.hh.
References compatible().
Referenced by Projection::beamPairs().
00056 { 00057 set<PdgIdPair> ret; 00058 for (set<PdgIdPair>::const_iterator bp = a.begin(); bp != a.end(); ++bp) { 00059 if (compatible(*bp, b)) ret.insert(*bp); 00060 } 00061 return ret; 00062 }
double Rivet::invariant | ( | const FourVector & | lv | ) | [inline] |
Calculate the Lorentz self-invariant of a 4-vector. .
Definition at line 230 of file Vector4.hh.
References FourVector::invariant().
Referenced by DISKinematics::project().
Matrix<N> Rivet::inverse | ( | const Matrix< N > & | m | ) | [inline] |
Definition at line 349 of file MatrixN.hh.
References Matrix::inverse().
00349 { 00350 return m.inverse(); 00351 }
LorentzTransform Rivet::inverse | ( | const LorentzTransform & | lt | ) | [inline] |
bool Rivet::isZero | ( | const Vector< N > & | v, | |
double | tolerance = 1E-5 | |||
) | [inline] |
External form of numerically safe nullness check.
Definition at line 196 of file VectorN.hh.
References Vector::isZero().
bool Rivet::isZero | ( | const Matrix< N > & | m, | |
double | tolerance = 1E-5 | |||
) | [inline] |
External form of numerically safe nullness check.
Definition at line 412 of file MatrixN.hh.
References Matrix::isZero().
00412 { 00413 return m.isZero(tolerance); 00414 }
bool Rivet::isZero | ( | long | val, | |
double | UNUSEDtolerance = 1E-8 | |||
) | [inline] |
Compare an integral-type number to zero. Since there is no risk of floating point error, this function just exists in case isZero
is accidentally used on an integer type, to avoid implicit type conversion. The tolerance parameter is ignored.
Definition at line 24 of file MathUtils.hh.
bool Rivet::isZero | ( | double | val, | |
double | tolerance = 1E-8 | |||
) | [inline] |
Compare a floating point number to zero with a degree of fuzziness expressed by the absolute tolerance parameter.
Definition at line 16 of file MathUtils.hh.
Referenced by _mapAngleM2PITo2Pi(), CDF_2004_S5839831::analyze(), Vector3::angle(), Vector3::azimuthalAngle(), FinalState::FinalState(), Matrix< 4 >::isDiag(), Matrix< 4 >::isEqual(), Vector< 4 >::isZero(), Matrix< 4 >::isZero(), mapAngle0To2Pi(), mapAngle0ToPi(), mapAngleMPiToPi(), FourMomentum::mass(), UnstableFinalState::project(), DISKinematics::project(), rapidity(), Matrix3::setAsRotation(), sign(), and toString().
double Rivet::lorentzGamma | ( | const double | beta | ) | [inline] |
Definition at line 15 of file LorentzTrans.hh.
Referenced by LorentzTransform::gamma(), and LorentzTransform::setBoost().
std::pair<PdgId,PdgId> Rivet::make_pdgid_pair | ( | const std::string & | a, | |
const std::string & | b | |||
) | [inline] |
Convenience maker of particle ID pairs from particle names.
Definition at line 159 of file ParticleName.hh.
References toParticleId().
00159 { 00160 const PdgId pa = toParticleId(a); 00161 const PdgId pb = toParticleId(b); 00162 return make_pair<PdgId,PdgId>(pa, pb); 00163 }
Convenience maker of particle ID pairs from PdgIds.
Definition at line 153 of file ParticleName.hh.
Referenced by Event::_geNormAlignment(), compatible(), and AnalysisInfo::make().
string Rivet::@207::makeAxisCode | ( | const size_t | datasetId, | |
const size_t | xAxisId, | |||
const size_t | yAxisId | |||
) | [static] |
Definition at line 15 of file Analysis.cc.
Referenced by Analysis::binEdges().
00015 { 00016 stringstream axisCode; 00017 axisCode << "d"; 00018 if (datasetId < 10) axisCode << 0; 00019 axisCode << datasetId; 00020 axisCode << "-x"; 00021 if (xAxisId < 10) axisCode << 0; 00022 axisCode << xAxisId; 00023 axisCode << "-y"; 00024 if (yAxisId < 10) axisCode << 0; 00025 axisCode << yAxisId; 00026 return axisCode.str(); 00027 }
double Rivet::mapAngle0To2Pi | ( | double | angle | ) | [inline] |
Map an angle into the range [0, 2PI).
Definition at line 180 of file MathUtils.hh.
References _mapAngleM2PITo2Pi(), isZero(), and TWOPI.
Referenced by CDF_2004_S5839831::_calcTransCones(), and D0_1996_S3324664::analyze().
00180 { 00181 double rtn = _mapAngleM2PITo2Pi(angle); 00182 if (isZero(rtn)) return 0; 00183 if (rtn < 0) rtn += TWOPI; 00184 if (rtn == TWOPI) rtn = 0; 00185 assert(rtn >= 0 && rtn < TWOPI); 00186 return rtn; 00187 }
double Rivet::mapAngle0ToPi | ( | double | angle | ) | [inline] |
Map an angle into the range [0, PI].
Definition at line 190 of file MathUtils.hh.
References isZero(), mapAngleMPiToPi(), and PI.
Referenced by CDF_1997_S3541940::_psi(), CDF_1996_S3349578::_psi(), MC_ZZJETS::analyze(), MC_WWJETS::analyze(), MC_PHOTONJETS::analyze(), MC_DIPHOTON::analyze(), D0_2010_S8570965::analyze(), CDF_2005_S6080774::analyze(), and deltaPhi().
00190 { 00191 double rtn = fabs(mapAngleMPiToPi(angle)); 00192 if (isZero(rtn)) return 0; 00193 assert(rtn > 0 && rtn <= PI); 00194 return rtn; 00195 }
double Rivet::mapAngleMPiToPi | ( | double | angle | ) | [inline] |
Map an angle into the range (-PI, PI].
Definition at line 170 of file MathUtils.hh.
References _mapAngleM2PITo2Pi(), isZero(), PI, and TWOPI.
Referenced by MC_SUSY::analyze(), and mapAngle0ToPi().
00170 { 00171 double rtn = _mapAngleM2PITo2Pi(angle); 00172 if (isZero(rtn)) return 0; 00173 rtn = (rtn > PI ? rtn-TWOPI : 00174 rtn <= -PI ? rtn+TWOPI : rtn); 00175 assert(rtn > -PI && rtn <= PI); 00176 return rtn; 00177 }
double Rivet::mass | ( | const FourMomentum & | v | ) | [inline] |
Get mass (the Lorentz self-invariant) of a momentum 4-vector.
Definition at line 449 of file Vector4.hh.
References FourMomentum::mass().
Referenced by MC_WWJETS::analyze(), D0_2001_S4674421::analyze(), CDF_2008_NOTE_9351::analyze(), CDF_1996_S3108457::analyze(), and VetoedFinalState::project().
double Rivet::mass2 | ( | const FourMomentum & | v | ) | [inline] |
Get squared mass (the Lorentz self-invariant) of a momentum 4-vector.
Definition at line 444 of file Vector4.hh.
References FourMomentum::mass2().
Referenced by CDF_1997_S3541940::_reduce(), CDF_1996_S3349578::_reduce(), D0_1996_S3214044::_safeMass(), CDF_1997_S3541940::_safeMass(), CDF_1996_S3349578::_safeMass(), and VetoedFinalState::project().
double Rivet::mean | ( | const vector< int > & | sample | ) | [inline] |
Calculate the mean of a sample.
Definition at line 120 of file MathUtils.hh.
Referenced by covariance().
00120 { 00121 double mean = 0.0; 00122 for (size_t i=0; i<sample.size(); ++i) { 00123 mean += sample[i]; 00124 } 00125 return mean/sample.size(); 00126 }
double Rivet::mod | ( | const Vector< N > & | v | ) | [inline] |
Calculate the modulus of a vector. .
Definition at line 150 of file VectorN.hh.
References Vector::mod().
Referenced by _calcT(), Thrust::_calcThrust(), D0_1996_S3214044::_fourJetAnalysis(), and Hemispheres::project().
double Rivet::mod2 | ( | const Vector< N > & | v | ) | [inline] |
Calculate the modulus-squared of a vector. .
Definition at line 143 of file VectorN.hh.
References Vector::mod2().
bool Rivet::mod2Cmp | ( | const Vector3 & | a, | |
const Vector3 & | b | |||
) | [inline] |
FourMomentum Rivet::momentum | ( | const fastjet::PseudoJet & | pj | ) | [inline] |
Make a 4-momentum vector from a FastJet pseudo-jet.
Definition at line 26 of file FastJets.hh.
Referenced by D0_1996_S3214044::_fourJetAnalysis(), D0_1996_S3214044::_threeJetAnalysis(), STAR_2009_UE_HELEN::analyze(), OPAL_1993_S2692198::analyze(), MC_ZZJETS::analyze(), MC_ZJETS::analyze(), MC_WWJETS::analyze(), MC_WJETS::analyze(), MC_PHOTONJETS::analyze(), MC_LEADINGJETS::analyze(), MC_JetAnalysis::analyze(), MC_HJETS::analyze(), MC_DIPHOTON::analyze(), MC_DIJET::analyze(), D0_2010_S8566488::analyze(), D0_2009_S8320160::analyze(), D0_2009_S8202443::analyze(), D0_2008_S7863608::analyze(), D0_2007_S7075677::analyze(), D0_2004_S5992206::analyze(), D0_1996_S3214044::analyze(), CDF_2008_S8093652::analyze(), CDF_2008_S7540469::analyze(), CDF_2008_NOTE_9351::analyze(), CDF_2008_LEADINGJETS::analyze(), CDF_2005_S6080774::analyze(), CDF_2004_S5839831::analyze(), and CDF_1994_S2952106::analyze().
Vector3 Rivet::momentum3 | ( | const fastjet::PseudoJet & | pj | ) | [inline] |
Make a 3-momentum vector from a FastJet pseudo-jet.
Definition at line 21 of file FastJets.hh.
Referenced by calc_ALPHA34(), calc_BZ(), calc_KSW(), and calc_NR().
FourVector Rivet::multiply | ( | const FourVector & | v, | |
const double | a | |||
) | [inline] |
Definition at line 198 of file Vector4.hh.
References multiply().
00198 { 00199 return multiply(a, v); 00200 }
FourVector Rivet::multiply | ( | const double | a, | |
const FourVector & | v | |||
) | [inline] |
Vector3 multiply | ( | const Vector3 & | v, | |
const | double | |||
) | [inline] |
Definition at line 230 of file Vector3.hh.
References multiply().
00230 { 00231 return multiply(a, v); 00232 }
Vector3 multiply | ( | const | double, | |
const Vector3 & | v | |||
) | [inline] |
Vector< N > multiply | ( | const Matrix< N > & | a, | |
const Vector< N > & | b | |||
) | [inline] |
Matrix<N> Rivet::multiply | ( | const Matrix< N > & | m, | |
const double | a | |||
) | [inline] |
Matrix<N> Rivet::multiply | ( | const double | a, | |
const Matrix< N > & | m | |||
) | [inline] |
Definition at line 285 of file MatrixN.hh.
References Matrix::_matrix.
00285 { 00286 Matrix<N> rtn; 00287 rtn._matrix = a * m._matrix; 00288 return rtn; 00289 }
Matrix< N > multiply | ( | const Matrix< N > & | a, | |
const Matrix< N > & | b | |||
) | [inline] |
Definition at line 312 of file MatrixN.hh.
References Matrix::_matrix.
Referenced by divide(), multiply(), operator*(), operator/(), LorentzTransform::preMult(), and LorentzTransform::transform().
int Rivet::nocase_cmp | ( | const string & | s1, | |
const string & | s2 | |||
) | [inline] |
Definition at line 15 of file Utils.hh.
00015 { 00016 string::const_iterator it1 = s1.begin(); 00017 string::const_iterator it2 = s2.begin(); 00018 while ( (it1 != s1.end()) && (it2 != s2.end()) ) { 00019 if(::toupper(*it1) != ::toupper(*it2)) { // < Letters differ? 00020 // Return -1 to indicate smaller than, 1 otherwise 00021 return (::toupper(*it1) < ::toupper(*it2)) ? -1 : 1; 00022 } 00023 // Proceed to the next character in each string 00024 ++it1; 00025 ++it2; 00026 } 00027 size_t size1 = s1.size(), size2 = s2.size(); // Cache lengths 00028 // Return -1,0 or 1 according to strings' lengths 00029 if (size1 == size2) return 0; 00030 return (size1 < size2) ? -1 : 1; 00031 }
FourVector Rivet::operator* | ( | const FourVector & | v, | |
const double | a | |||
) | [inline] |
Definition at line 206 of file Vector4.hh.
References multiply().
00206 { 00207 return multiply(a, v); 00208 }
FourVector Rivet::operator* | ( | const double | a, | |
const FourVector & | v | |||
) | [inline] |
Definition at line 202 of file Vector4.hh.
References multiply().
00202 { 00203 return multiply(a, v); 00204 }
Vector3 operator* | ( | const Vector3 & | v, | |
const | double | |||
) | [inline] |
Definition at line 238 of file Vector3.hh.
References multiply().
00238 { 00239 return multiply(a, v); 00240 }
Vector3 operator* | ( | const | double, | |
const Vector3 & | v | |||
) | [inline] |
Definition at line 234 of file Vector3.hh.
References multiply().
00234 { 00235 return multiply(a, v); 00236 }
Vector<N> Rivet::operator* | ( | const Matrix< N > & | a, | |
const Vector< N > & | b | |||
) | [inline] |
Definition at line 332 of file MatrixN.hh.
References multiply().
00332 { 00333 return multiply(a, b); 00334 }
Matrix<N> Rivet::operator* | ( | const Matrix< N > & | m, | |
const double | a | |||
) | [inline] |
Matrix<N> Rivet::operator* | ( | const double | a, | |
const Matrix< N > & | m | |||
) | [inline] |
Matrix< N > operator* | ( | const Matrix< N > & | a, | |
const Matrix< N > & | b | |||
) | [inline] |
Definition at line 319 of file MatrixN.hh.
References multiply().
00319 { 00320 return multiply(a, b); 00321 }
FourVector Rivet::operator+ | ( | const FourVector & | a, | |
const FourVector & | b | |||
) | [inline] |
Vector3 operator+ | ( | const Vector3 & | a, | |
const Vector3 & | b | |||
) | [inline] |
Matrix<N> Rivet::operator+ | ( | const Matrix< N > | a, | |
const Matrix< N > & | b | |||
) | [inline] |
FourVector Rivet::operator- | ( | const FourVector & | a, | |
const FourVector & | b | |||
) | [inline] |
Vector3 operator- | ( | const Vector3 & | a, | |
const Vector3 & | b | |||
) | [inline] |
Definition at line 262 of file Vector3.hh.
References subtract().
00262 { 00263 return subtract(a, b); 00264 }
Matrix<N> Rivet::operator- | ( | const Matrix< N > | a, | |
const Matrix< N > & | b | |||
) | [inline] |
Definition at line 280 of file MatrixN.hh.
References subtract().
00280 { 00281 return subtract(a, b); 00282 }
FourVector Rivet::operator/ | ( | const FourVector & | v, | |
const double | a | |||
) | [inline] |
Definition at line 210 of file Vector4.hh.
References multiply().
00210 { 00211 return multiply(1.0/a, v); 00212 }
Vector3 operator/ | ( | const Vector3 & | v, | |
const | double | |||
) | [inline] |
Definition at line 242 of file Vector3.hh.
References multiply().
00242 { 00243 return multiply(1.0/a, v); 00244 }
ostream & operator<< | ( | Log & | log, | |
int | level | |||
) |
Streaming output to a logger must have a Log::Level/int as its first argument.
The streaming operator can use Log's internals.
Definition at line 189 of file Logging.cc.
References Log::_nostream, Log::formatMessage(), and Log::isActive().
00189 { 00190 if (log.isActive(level)) { 00191 cout << log.formatMessage(level, ""); 00192 return cout; 00193 } else { 00194 return *(log._nostream); 00195 } 00196 }
std::ostream& Rivet::operator<< | ( | std::ostream & | os, | |
const std::list< T > & | vec | |||
) | [inline] |
std::ostream& Rivet::operator<< | ( | std::ostream & | os, | |
const std::vector< T > & | vec | |||
) | [inline] |
std::ostream& Rivet::operator<< | ( | std::ostream & | os, | |
const ParticlePair & | pp | |||
) | [inline] |
Allow ParticlePair to be passed to an ostream.
Definition at line 122 of file Particle.hh.
References toString().
00122 { 00123 os << toString(pp); 00124 return os; 00125 }
std::ostream& Rivet::operator<< | ( | std::ostream & | out, | |
const Vector< N > & | v | |||
) | [inline] |
Stream out string representation.
Definition at line 173 of file VectorN.hh.
References toString().
00173 { 00174 out << toString(v); 00175 return out; 00176 }
std::ostream& Rivet::operator<< | ( | std::ostream & | out, | |
const FourVector & | lv | |||
) | [inline] |
Write a 4-vector to an ostream.
Definition at line 616 of file Vector4.hh.
References toString().
00616 { 00617 out << toString(lv); 00618 return out; 00619 }
ostream& Rivet::operator<< | ( | std::ostream & | out, | |
const Matrix< N > & | m | |||
) | [inline] |
Stream out string representation.
Definition at line 387 of file MatrixN.hh.
References m, and toString().
ostream& Rivet::operator<< | ( | std::ostream & | out, | |
const typename EigenSystem< N >::EigenPair & | e | |||
) | [inline] |
Definition at line 166 of file MatrixDiag.hh.
References toString().
00166 { 00167 out << toString(e); 00168 return out; 00169 }
ostream& Rivet::operator<< | ( | std::ostream & | out, | |
const LorentzTransform & | lt | |||
) | [inline] |
Definition at line 169 of file LorentzTrans.hh.
References toString().
00169 { 00170 out << toString(lt); 00171 return out; 00172 }
std::ostream& Rivet::operator<< | ( | std::ostream & | os, | |
const AnalysisInfo & | ai | |||
) | [inline] |
Stream an AnalysisInfo as a text description.
Definition at line 167 of file AnalysisInfo.hh.
References toString().
00167 { 00168 os << toString(ai); 00169 return os; 00170 }
vector<GenParticle*> Rivet::particles | ( | GenVertex * | gv, | |
HepMC::IteratorRange | range = HepMC::relatives | |||
) | [inline] |
vector<GenParticle*> Rivet::particles | ( | const GenEvent * | ge | ) | [inline] |
Definition at line 26 of file RivetHepMC.hh.
References particles().
00026 { 00027 assert(ge); 00028 return particles(*ge); 00029 }
vector<GenParticle*> Rivet::particles | ( | const GenEvent & | ge | ) | [inline] |
Definition at line 19 of file RivetHepMC.hh.
References pi.
Referenced by OPAL_2001_S4553896::analyze(), MC_PHOTONJETS::analyze(), MC_DIPHOTON::analyze(), JADE_OPAL_2000_S4300807::analyze(), H1_2000_S4129130::analyze(), H1_1994_S2919893::analyze(), DELPHI_2002_069_CONF_603::analyze(), D0_2010_S8570965::analyze(), D0_2008_S7719523::analyze(), D0_2006_S6438750::analyze(), CDF_2009_S8436959::analyze(), CDF_2008_S8095620::analyze(), CDF_2005_S6080774::analyze(), CDF_2004_S5839831::analyze(), CDF_1993_S2742446::analyze(), ALEPH_1996_S3196992::analyze(), Particle::hasAncestor(), particles(), Thrust::project(), Sphericity::project(), InitialQuarks::project(), Hemispheres::project(), and FinalState::project().
00019 { 00020 vector<GenParticle*> rtn; 00021 for (GenEvent::particle_const_iterator pi = ge.particles_begin(); pi != ge.particles_end(); ++pi) { 00022 rtn.push_back(*pi); 00023 } 00024 return rtn; 00025 }
const vector<GenParticle*> Rivet::particles_in | ( | const GenVertex * | gv | ) | [inline] |
Definition at line 45 of file RivetHepMC.hh.
References pi.
Referenced by InitialQuarks::project().
00045 { 00046 vector<GenParticle*> rtn; 00047 for (GenVertex::particles_in_const_iterator pi = gv->particles_in_const_begin(); pi != gv->particles_in_const_end(); ++pi) { 00048 rtn.push_back(*pi); 00049 } 00050 return rtn; 00051 }
const vector<GenParticle*> Rivet::particles_out | ( | const GenVertex * | gv | ) | [inline] |
Definition at line 54 of file RivetHepMC.hh.
References pi.
Referenced by InitialQuarks::project().
00054 { 00055 vector<GenParticle*> rtn; 00056 for (GenVertex::particles_out_const_iterator pi = gv->particles_out_const_begin(); pi != gv->particles_out_const_end(); ++pi) { 00057 rtn.push_back(*pi); 00058 } 00059 return rtn; 00060 }
const PROJ* Rivet::pcast | ( | const Projection * | p | ) | [inline] |
Convenience method for casting to a const Projection pointer.
Definition at line 38 of file Projection.fhh.
const PROJ& Rivet::pcast | ( | const Projection & | p | ) | [inline] |
Convenience method for casting to a const Projection reference.
Definition at line 31 of file Projection.fhh.
Cmp<Projection> Rivet::pcmp | ( | const Projection * | parent1, | |
const Projection * | parent2, | |||
const string & | pname | |||
) | [inline] |
Global helper function for easy creation of Cmp<Projection> objects from two parent projections and their common name for the projection to be compared.
Definition at line 321 of file Cmp.hh.
References ProjectionApplier::getProjection().
00321 { 00322 assert(parent1); 00323 assert(parent2); 00324 return Cmp<Projection>(parent1->getProjection(pname), parent2->getProjection(pname)); 00325 }
Cmp<Projection> Rivet::pcmp | ( | const Projection & | parent1, | |
const Projection * | parent2, | |||
const string & | pname | |||
) | [inline] |
Global helper function for easy creation of Cmp<Projection> objects from two parent projections and their common name for the projection to be compared. This version takes one parent as a pointer.
Definition at line 314 of file Cmp.hh.
References ProjectionApplier::getProjection().
00314 { 00315 assert(parent2); 00316 return Cmp<Projection>(parent1.getProjection(pname), parent2->getProjection(pname)); 00317 }
Cmp<Projection> Rivet::pcmp | ( | const Projection * | parent1, | |
const Projection & | parent2, | |||
const string & | pname | |||
) | [inline] |
Global helper function for easy creation of Cmp<Projection> objects from two parent projections and their common name for the projection to be compared. This version takes one parent as a pointer.
Definition at line 306 of file Cmp.hh.
References ProjectionApplier::getProjection().
00306 { 00307 assert(parent1); 00308 return Cmp<Projection>(parent1->getProjection(pname), parent2.getProjection(pname)); 00309 }
Cmp<Projection> Rivet::pcmp | ( | const Projection & | parent1, | |
const Projection & | parent2, | |||
const string & | pname | |||
) | [inline] |
Global helper function for easy creation of Cmp<Projection> objects from two parent projections and their common name for the projection to be compared.
Definition at line 299 of file Cmp.hh.
References ProjectionApplier::getProjection().
00299 { 00300 return Cmp<Projection>(parent1.getProjection(pname), parent2.getProjection(pname)); 00301 }
Cmp<Projection> Rivet::pcmp | ( | const Projection & | p1, | |
const Projection & | p2 | |||
) | [inline] |
Global helper function for easy creation of Cmp<Projection> objects.
Definition at line 293 of file Cmp.hh.
Referenced by ProjectionHandler::_getEquiv().
double Rivet::perp | ( | const FourVector & | v | ) | [inline] |
double Rivet::perp | ( | const Vector3 & | v | ) | [inline] |
double Rivet::perp2 | ( | const FourVector & | v | ) | [inline] |
Synonym for polarRadius2.
Definition at line 254 of file Vector4.hh.
References FourVector::perp2().
double Rivet::perp2 | ( | const Vector3 & | v | ) | [inline] |
double Rivet::phi | ( | const FourVector & | v, | |
const PhiMapping | mapping = ZERO_2PI | |||
) | [inline] |
Synonym for azimuthalAngle.
Definition at line 280 of file Vector4.hh.
References FourVector::phi().
double Rivet::phi | ( | const Vector3 & | v, | |
const PhiMapping | mapping = ZERO_2PI | |||
) | [inline] |
Synonym for azimuthalAngle.
Definition at line 306 of file Vector3.hh.
References Vector3::phi().
Referenced by STAR_2009_UE_HELEN::analyze(), MC_LEADINGJETS::analyze(), MC_DIPHOTON::analyze(), D0_2004_S5992206::analyze(), CDF_2008_LEADINGJETS::analyze(), CDF_2005_S6080774::analyze(), and CDF_1994_S2952106::analyze().
double Rivet::polarAngle | ( | const FourVector & | v | ) | [inline] |
Calculate polar angle of a Lorentz vector.
Definition at line 286 of file Vector4.hh.
References FourVector::polarAngle().
double Rivet::polarAngle | ( | const Vector3 & | v | ) | [inline] |
Calculate polar angle of a 3-vector.
Definition at line 311 of file Vector3.hh.
References Vector3::polarAngle().
double Rivet::polarRadius | ( | const FourVector & | v | ) | [inline] |
Calculate transverse length of a Lorentz vector.
Definition at line 263 of file Vector4.hh.
References FourVector::polarRadius().
double Rivet::polarRadius | ( | const Vector3 & | v | ) | [inline] |
Calculate transverse length of a 3-vector.
Definition at line 287 of file Vector3.hh.
References Vector3::polarRadius().
double Rivet::polarRadius2 | ( | const FourVector & | v | ) | [inline] |
Calculate transverse length sq. of a Lorentz vector.
Definition at line 250 of file Vector4.hh.
References FourVector::polarRadius2().
double Rivet::polarRadius2 | ( | const Vector3 & | v | ) | [inline] |
Calculate transverse length sq. of a 3-vector.
Definition at line 274 of file Vector3.hh.
References Vector3::polarRadius2().
double Rivet::pseudorapidity | ( | const FourVector & | v | ) | [inline] |
Calculate pseudorapidity of a Lorentz vector.
Definition at line 295 of file Vector4.hh.
References FourVector::pseudorapidity().
double Rivet::pseudorapidity | ( | const Vector3 & | v | ) | [inline] |
Calculate pseudorapidity of a 3-vector.
Definition at line 320 of file Vector3.hh.
References Vector3::pseudorapidity().
Referenced by MC_LEADINGJETS::analyze(), MC_DIJET::analyze(), CDF_2008_S7540469::analyze(), and CDF_2004_S5839831::analyze().
double Rivet::pT | ( | const FourMomentum & | v | ) | [inline] |
Calculate transverse momentum of a momentum 4-vector.
Definition at line 464 of file Vector4.hh.
References FourMomentum::pT().
Referenced by FinalState::accept(), STAR_2009_UE_HELEN::analyze(), STAR_2008_S7869363::analyze(), STAR_2006_S6860818::analyze(), STAR_2006_S6500200::analyze(), MC_PHOTONJETUE::analyze(), MC_LEADINGJETS::analyze(), MC_JetAnalysis::analyze(), MC_DIJET::analyze(), H1_1994_S2919893::analyze(), D0_2009_S8202443::analyze(), D0_2008_S7863608::analyze(), D0_2008_S6879055::analyze(), CDF_2009_S8233977::analyze(), CDF_2008_S7782535::analyze(), CDF_2008_NOTE_9351::analyze(), CDF_2008_LEADINGJETS::analyze(), CDF_2005_S6217184::analyze(), CDF_2002_S4796047::analyze(), CDF_2001_S4751469::analyze(), ATLAS_2010_S8591806::analyze(), UnstableFinalState::project(), and InitialQuarks::project().
double Rivet::pT2 | ( | const FourMomentum & | v | ) | [inline] |
Calculate squared transverse momentum of a momentum 4-vector.
Definition at line 459 of file Vector4.hh.
References FourMomentum::pT2().
Referenced by H1_1994_S2919893::analyze().
double Rivet::rapidity | ( | const FourMomentum & | v | ) | [inline] |
Calculate rapidity of a momentum 4-vector.
Definition at line 454 of file Vector4.hh.
References FourMomentum::rapidity().
double Rivet::rapidity | ( | double | E, | |
double | pz | |||
) | [inline] |
Calculate a rapidity value from the supplied energy E and longitudinal momentum .
Definition at line 217 of file MathUtils.hh.
References isZero(), and MAXDOUBLE.
Referenced by MC_GENERIC::analyze(), and D0_2008_S7863608::analyze().
00217 { 00218 if (isZero(E - pz)) { 00219 throw std::runtime_error("Divergent positive rapidity"); 00220 return MAXDOUBLE; 00221 } 00222 if (isZero(E + pz)) { 00223 throw std::runtime_error("Divergent negative rapidity"); 00224 return -MAXDOUBLE; 00225 } 00226 return 0.5*log((E+pz)/(E-pz)); 00227 }
double Rivet::rho | ( | const FourVector & | v | ) | [inline] |
double Rivet::rho | ( | const Vector3 & | v | ) | [inline] |
double Rivet::rho2 | ( | const FourVector & | v | ) | [inline] |
double Rivet::rho2 | ( | const Vector3 & | v | ) | [inline] |
int Rivet::sign | ( | long | val | ) | [inline] |
int Rivet::sign | ( | int | val | ) | [inline] |
int Rivet::sign | ( | double | val | ) | [inline] |
Find the sign of a number.
Definition at line 29 of file MathUtils.hh.
References isZero(), MINUS, PLUS, and ZERO.
Referenced by _calcT(), MC_PHOTONJETUE::analyze(), D0_2008_S7719523::analyze(), and CDF_1994_S2952106::analyze().
00029 { 00030 if (isZero(val)) return ZERO; 00031 const int valsign = (val > 0) ? PLUS : MINUS; 00032 return valsign; 00033 }
vector<string> Rivet::split | ( | string | path, | |
const string | delim = ":" | |||
) | [inline] |
Split a string with single-character delimiters, ignoring zero-length substrings. Designed for getting elements of filesystem paths, naturally.
Definition at line 61 of file Utils.hh.
Referenced by getAnalysisInfoPaths(), getAnalysisLibPaths(), getAnalysisRefPaths(), getDatafilePath(), AnalysisInfo::make(), and FastJets::splitJet().
00061 :") { 00062 vector<string> dirs; 00063 if (delim.length() != 1) { 00064 throw Error("Rivet::split(string): delimiter must be a single character."); 00065 } 00066 while (true) { 00067 const size_t delim_pos = path.find(delim); 00068 if (delim_pos == string::npos) break; 00069 const string dir = path.substr(0, delim_pos); 00070 if (dir.length()) dirs.push_back(dir); // Don't insert "empties" 00071 path.replace(0, delim_pos+1, ""); 00072 } 00073 if (path.length()) dirs.push_back(path); // Don't forget the trailing component! 00074 return dirs; 00075 }
Num Rivet::sqr | ( | Num | a | ) | [inline] |
Named number-type squaring operation.
Definition at line 108 of file MathUtils.hh.
Referenced by OPAL_1993_S2692198::analyze(), H1_1994_S2919893::analyze(), BELLE_2006_S6265367::analyze(), deltaR(), get2dClosestApproach(), get2dDecayLength(), get3dClosestApproach(), get3dDecayLength(), and sqrtS().
double sqrtS | ( | const FourMomentum & | pa, | |
const FourMomentum & | pb | |||
) |
Function to get beam centre of mass energy from a pair of beam momenta.
Definition at line 35 of file Beam.cc.
References FourMomentum::E(), FourMomentum::pz(), and sqr().
00035 { 00036 const double mom1 = pa.pz(); 00037 const double e1 = pa.E(); 00038 const double mom2 = pb.pz(); 00039 const double e2 = pb.E(); 00040 double sqrts = sqrt( sqr(e1+e2) - sqr(mom1+mom2) ); 00041 return sqrts; 00042 }
double sqrtS | ( | const ParticlePair & | beams | ) |
double sqrtS | ( | const Event & | e | ) |
Function to get beam centre of mass energy from an event.
Definition at line 25 of file Beam.cc.
References Beam::project(), and Beam::sqrtS().
Referenced by AnalysisHandler::analyze(), Beam::sqrtS(), sqrtS(), and AnalysisHandler::sqrtS().
bool Rivet::startsWith | ( | const string & | s, | |
const string & | start | |||
) | [inline] |
Vector3 Rivet::subtract | ( | const Vector3 & | a, | |
const Vector3 & | b | |||
) | [inline] |
Matrix<N> Rivet::subtract | ( | const Matrix< N > & | a, | |
const Matrix< N > & | b | |||
) | [inline] |
double Rivet::theta | ( | const FourVector & | v | ) | [inline] |
double Rivet::theta | ( | const Vector3 & | v | ) | [inline] |
Synonym for polarAngle.
Definition at line 315 of file Vector3.hh.
References Vector3::theta().
Referenced by Matrix3::setAsRotation().
std::string Rivet::toBeamsString | ( | const PdgIdPair & | pair | ) | [inline] |
Print a PdgIdPair as a string.
Definition at line 167 of file ParticleName.hh.
References toParticleName().
Referenced by AnalysisHandler::analyze().
00167 { 00168 string out = "[" + 00169 toParticleName(pair.first) + ", " + 00170 toParticleName(pair.second) + "]"; 00171 return out; 00172 }
string Rivet::toLower | ( | const string & | s | ) | [inline] |
Definition at line 34 of file Utils.hh.
References transform().
00034 { 00035 string out = s; 00036 transform(out.begin(), out.end(), out.begin(), (int(*)(int)) tolower); 00037 return out; 00038 }
PdgId Rivet::toParticleId | ( | const std::string & | pname | ) | [inline] |
Print a PdgId as a named string.
Definition at line 147 of file ParticleName.hh.
References ParticleNames::particleId().
Referenced by make_pdgid_pair().
const std::string& Rivet::toParticleName | ( | PdgId | p | ) | [inline] |
Print a PdgId as a named string.
Definition at line 141 of file ParticleName.hh.
References ParticleNames::particleName().
Referenced by toBeamsString(), and toString().
std::string Rivet::toString | ( | const ParticlePair & | pair | ) | [inline] |
Print a ParticlePair as a string.
Definition at line 111 of file Particle.hh.
References GeV, and toParticleName().
00111 { 00112 stringstream out; 00113 out << "[" 00114 << toParticleName(pair.first.pdgId()) << " @ " 00115 << pair.first.momentum().E()/GeV << " GeV, " 00116 << toParticleName(pair.second.pdgId()) << " @ " 00117 << pair.second.momentum().E()/GeV << " GeV]"; 00118 return out.str(); 00119 }
const string Rivet::toString | ( | const Vector< N > & | v | ) | [inline] |
Make string representation.
Definition at line 160 of file VectorN.hh.
References Vector::size().
00160 { 00161 ostringstream out; 00162 out << "("; 00163 for (size_t i = 0; i < v.size(); ++i) { 00164 out << (fabs(v[i]) < 1E-30 ? 0.0 : v[i]); 00165 if (i < v.size()-1) out << ", "; 00166 } 00167 out << ")"; 00168 return out.str(); 00169 }
const string Rivet::toString | ( | const FourVector & | lv | ) | [inline] |
Render a 4-vector as a string.
Definition at line 605 of file Vector4.hh.
References FourVector::t(), FourVector::x(), FourVector::y(), and FourVector::z().
00605 { 00606 ostringstream out; 00607 out << "(" << (fabs(lv.t()) < 1E-30 ? 0.0 : lv.t()) 00608 << "; " << (fabs(lv.x()) < 1E-30 ? 0.0 : lv.x()) 00609 << ", " << (fabs(lv.y()) < 1E-30 ? 0.0 : lv.y()) 00610 << ", " << (fabs(lv.z()) < 1E-30 ? 0.0 : lv.z()) 00611 << ")"; 00612 return out.str(); 00613 }
string Rivet::toString | ( | const Matrix< N > & | m | ) | [inline] |
Make string representation.
Definition at line 369 of file MatrixN.hh.
References Matrix::get(), isZero(), and Matrix::size().
00369 { 00370 ostringstream ss; 00371 ss << "[ "; 00372 for (size_t i = 0; i < m.size(); ++i) { 00373 ss << "( "; 00374 for (size_t j = 0; j < m.size(); ++j) { 00375 const double e = m.get(i, j); 00376 ss << (Rivet::isZero(e) ? 0.0 : e) << " "; 00377 } 00378 ss << ") "; 00379 } 00380 ss << "]"; 00381 return ss.str(); 00382 }
const string Rivet::toString | ( | const typename EigenSystem< N >::EigenPair & | e | ) | [inline] |
Definition at line 156 of file MatrixDiag.hh.
00156 { 00157 ostringstream ss; 00158 //for (typename EigenSystem<N>::EigenPairs::const_iterator i = e.begin(); i != e.end(); ++i) { 00159 ss << e->first << " -> " << e->second; 00160 // if (i+1 != e.end()) ss << endl; 00161 //} 00162 return ss.str(); 00163 }
string Rivet::toString | ( | const LorentzTransform & | lt | ) | [inline] |
Definition at line 165 of file LorentzTrans.hh.
References LorentzTransform::_boostMatrix, and toString().
00165 { 00166 return toString(lt._boostMatrix); 00167 }
string toString | ( | const AnalysisInfo & | ai | ) |
String representation.
Definition at line 196 of file AnalysisInfo.cc.
References AnalysisInfo::name(), AnalysisInfo::status(), and AnalysisInfo::summary().
Referenced by operator<<(), and toString().
00196 { 00197 stringstream ss; 00198 ss << ai.name(); 00199 ss << " - " << ai.summary(); 00200 // ss << " - " << ai.beams(); 00201 // ss << " - " << ai.energies(); 00202 ss << " (" << ai.status() << ")"; 00203 return ss.str(); 00204 }
string Rivet::toUpper | ( | const string & | s | ) | [inline] |
Definition at line 41 of file Utils.hh.
References transform().
Referenced by ParticleNames::_particleId(), and AnalysisHandler::init().
00041 { 00042 string out = s; 00043 std::transform(out.begin(), out.end(), out.begin(), (int(*)(int)) toupper); 00044 return out; 00045 }
double Rivet::trace | ( | const Matrix< N > & | m | ) | [inline] |
Definition at line 359 of file MatrixN.hh.
References Matrix::trace().
00359 { 00360 return m.trace(); 00361 }
FourVector transform | ( | const LorentzTransform & | lt, | |
const FourVector & | v4 | |||
) | [inline] |
Definition at line 157 of file LorentzTrans.hh.
References LorentzTransform::transform().
Referenced by toLower(), and toUpper().
Matrix<N> Rivet::transpose | ( | const Matrix< N > & | m | ) | [inline] |
Definition at line 337 of file MatrixN.hh.
References Matrix::transpose().
00337 { 00338 // Matrix<N> tmp; 00339 // for (size_t i = 0; i < N; ++i) { 00340 // for (size_t j = 0; j < N; ++j) { 00341 // tmp.set(i, j, m.get(j, i)); 00342 // } 00343 // } 00344 // return tmp; 00345 return m.transpose(); 00346 }
string version | ( | ) |
vector<GenVertex*> Rivet::vertices | ( | const GenEvent * | ge | ) | [inline] |
Definition at line 39 of file RivetHepMC.hh.
References vertices().
00039 { 00040 assert(ge); 00041 return vertices(*ge); 00042 }
vector<GenVertex*> Rivet::vertices | ( | const GenEvent & | ge | ) | [inline] |
Definition at line 32 of file RivetHepMC.hh.
Referenced by vertices().
00032 { 00033 vector<GenVertex*> rtn; 00034 for (GenEvent::vertex_const_iterator vi = ge.vertices_begin(); vi != ge.vertices_end(); ++vi) { 00035 rtn.push_back(*vi); 00036 } 00037 return rtn; 00038 }
const double alpha_rcl2 [static] |
Initial value:
Definition at line 71 of file Constants.hh.
Definition at line 53 of file Constants.hh.
Definition at line 52 of file Constants.hh.
Definition at line 21 of file ParticleName.hh.
Referenced by MC_SUSY::analyze(), CDF_2008_S8095620::init(), CDF_2006_S6653332::init(), and ParticleNames::ParticleNames().
const PdgId ANTINEUTRON = -2112 [static] |
const PdgId ANTIPROTON = -2212 [static] |
Definition at line 16 of file ParticleName.hh.
Referenced by ParticleNames::_particleId(), CDF_1988_S1865951::CDF_1988_S1865951(), CDF_1990_S2089246::CDF_1990_S2089246(), CDF_1991_S2313472::CDF_1991_S2313472(), CDF_1993_S2742446::CDF_1993_S2742446(), CDF_1994_S2952106::CDF_1994_S2952106(), CDF_1996_S3108457::CDF_1996_S3108457(), CDF_1996_S3349578::CDF_1996_S3349578(), CDF_1996_S3418421::CDF_1996_S3418421(), CDF_1997_S3541940::CDF_1997_S3541940(), CDF_1998_S3618439::CDF_1998_S3618439(), CDF_2000_S4155203::CDF_2000_S4155203(), CDF_2000_S4266730::CDF_2000_S4266730(), CDF_2001_S4517016::CDF_2001_S4517016(), CDF_2001_S4563131::CDF_2001_S4563131(), CDF_2001_S4751469::CDF_2001_S4751469(), CDF_2002_S4796047::CDF_2002_S4796047(), CDF_2004_S5839831::CDF_2004_S5839831(), CDF_2005_S6080774::CDF_2005_S6080774(), CDF_2005_S6217184::CDF_2005_S6217184(), CDF_2006_S6450792::CDF_2006_S6450792(), CDF_2006_S6653332::CDF_2006_S6653332(), CDF_2007_S7057202::CDF_2007_S7057202(), CDF_2008_LEADINGJETS::CDF_2008_LEADINGJETS(), CDF_2008_NOTE_9351::CDF_2008_NOTE_9351(), CDF_2008_S7540469::CDF_2008_S7540469(), CDF_2008_S7541902::CDF_2008_S7541902(), CDF_2008_S7782535::CDF_2008_S7782535(), CDF_2008_S7828950::CDF_2008_S7828950(), CDF_2008_S8093652::CDF_2008_S8093652(), CDF_2008_S8095620::CDF_2008_S8095620(), CDF_2009_NOTE_9936::CDF_2009_NOTE_9936(), CDF_2009_S8057893::CDF_2009_S8057893::CDF_2009_S8057893(), CDF_2009_S8233977::CDF_2009_S8233977(), CDF_2009_S8383952::CDF_2009_S8383952(), CDF_2009_S8436959::CDF_2009_S8436959(), D0_1996_S3214044::D0_1996_S3214044(), D0_1996_S3324664::D0_1996_S3324664(), D0_1998_S3711838::D0_1998_S3711838(), D0_2001_S4674421::D0_2001_S4674421(), D0_2004_S5992206::D0_2004_S5992206(), D0_2006_S6438750::D0_2006_S6438750(), D0_2007_S7075677::D0_2007_S7075677(), D0_2008_S6879055::D0_2008_S6879055(), D0_2008_S7554427::D0_2008_S7554427(), D0_2008_S7662670::D0_2008_S7662670(), D0_2008_S7719523::D0_2008_S7719523(), D0_2008_S7837160::D0_2008_S7837160(), D0_2008_S7863608::D0_2008_S7863608(), D0_2009_S8202443::D0_2009_S8202443(), D0_2009_S8320160::D0_2009_S8320160(), D0_2009_S8349509::D0_2009_S8349509(), D0_2010_S8566488::D0_2010_S8566488(), D0_2010_S8570965::D0_2010_S8570965(), D0_2010_S8671338::D0_2010_S8671338(), E735_1998_S3905616::E735_1998_S3905616(), ParticleNames::ParticleNames(), UA1_1990_S2044935::UA1_1990_S2044935(), UA5_1986_S1583476::UA5_1986_S1583476(), UA5_1987_S1640666::UA5_1987_S1640666(), UA5_1988_S1867512::UA5_1988_S1867512(), and UA5_1989_S1926373::UA5_1989_S1926373().
Definition at line 58 of file ParticleName.hh.
Referenced by compatible(), AnalysisInfo::make(), ParticleNames::ParticleNames(), and Projection::Projection().
const double atmosphere = 101325*pascal [static] |
const double Avogadro = 6.0221367e+23/mole [static] |
Definition at line 20 of file Constants.hh.
const double Bohr_radius = electron_Compton_length/fine_structure_const [static] |
Definition at line 69 of file Constants.hh.
Definition at line 56 of file ParticleName.hh.
Referenced by OPAL_1998_S3780481::analyze(), CDF_2008_S8095620::analyze(), and CDF_2006_S6653332::analyze().
const double c_light = 2.99792458e+8 * m/s [static] |
Definition at line 26 of file Constants.hh.
Definition at line 27 of file Constants.hh.
const double centimeter = 10.*millimeter [static] |
const double centimeter2 = centimeter*centimeter [static] |
const double centimeter3 = centimeter*centimeter*centimeter [static] |
const double classic_electr_radius = elm_coupling/electron_mass_c2 [static] |
Definition at line 67 of file Constants.hh.
const double cm = centimeter [static] |
const double cm2 = centimeter2 [static] |
const double cm3 = centimeter3 [static] |
Definition at line 72 of file Units.hh.
Referenced by D0_1996_S3214044::_fourJetAnalysis(), D0_1996_S3214044::_threeJetAnalysis(), H1_2000_S4129130::analyze(), H1_1994_S2919893::analyze(), and H1_1994_S2919893::beamAngle().
Definition at line 43 of file Constants.hh.
Definition at line 13 of file ParticleName.hh.
Referenced by WFinder::_init(), ParticleNames::_particleId(), IdentifiedFinalState::acceptChLeptons(), ALEPH_1991_S2435284::ALEPH_1991_S2435284(), ALEPH_1996_S3196992::ALEPH_1996_S3196992(), ALEPH_1996_S3486095::ALEPH_1996_S3486095(), ALEPH_2004_S5765862::ALEPH_2004_S5765862(), MC_SUSY::analyze(), D0_2008_S7837160::analyze(), D0_1998_S3711838::analyze(), CDF_2008_S7541902::analyze(), CDF_1991_S2313472::analyze(), BELLE_2006_S6265367::BELLE_2006_S6265367(), DELPHI_1995_S3137023::DELPHI_1995_S3137023(), DELPHI_2002_069_CONF_603::DELPHI_2002_069_CONF_603(), H1_1994_S2919893::H1_1994_S2919893(), H1_1995_S3167097::H1_1995_S3167097(), MC_ZZJETS::init(), MC_ZJETS::init(), MC_WWJETS::init(), MC_WJETS::init(), MC_SUSY::init(), D0_2009_S8202443::init(), D0_2008_S7837160::init(), D0_2008_S7554427::init(), D0_2008_S6879055::init(), D0_2007_S7075677::init(), D0_2001_S4674421::init(), D0_2000_S4480767::init(), D0_1998_S3711838::init(), CDF_2009_S8383952::init(), CDF_2008_S8095620::init(), CDF_2008_S7541902::init(), CDF_2008_S7540469::init(), CDF_2006_S6653332::init(), CDF_2000_S4155203::init(), CDF_1991_S2313472::init(), JADE_OPAL_2000_S4300807::JADE_OPAL_2000_S4300807(), OPAL_1993_S2692198::OPAL_1993_S2692198(), OPAL_1998_S3780481::OPAL_1998_S3780481(), OPAL_2001_S4553896::OPAL_2001_S4553896(), ParticleNames::ParticleNames(), PDG_HADRON_MULTIPLICITIES::PDG_HADRON_MULTIPLICITIES(), PDG_HADRON_MULTIPLICITIES_RATIOS::PDG_HADRON_MULTIPLICITIES_RATIOS(), and InitialQuarks::project().
const double electron_charge = - eplus [static] |
Definition at line 42 of file Constants.hh.
const double electron_Compton_length = hbarc/electron_mass_c2 [static] |
Definition at line 68 of file Constants.hh.
const double electron_mass_c2 = 0.51099906 * MeV [static] |
Definition at line 49 of file Constants.hh.
const double electronvolt = 1.e-9*gigaelectronvolt [static] |
const double elm_coupling = e_squared/(4*pi*epsilon0) [static] |
Definition at line 65 of file Constants.hh.
Definition at line 42 of file ParticleName.hh.
Definition at line 43 of file ParticleName.hh.
Definition at line 60 of file Constants.hh.
const double eV = electronvolt [static] |
const double femtobarn = 1.0e-15 * barn [static] |
const double femtometer = 1.e-15*meter [static] |
const double fermi = femtometer [static] |
const double fine_structure_const = elm_coupling/hbarc [static] |
Definition at line 66 of file Constants.hh.
Definition at line 47 of file ParticleName.hh.
const double GeV = gigaelectronvolt [static] |
Definition at line 121 of file Units.hh.
Referenced by CDF_2004_S5839831::_calcTransCones(), CDF_1996_S3349578::_fiveJetAnalysis(), D0_1996_S3214044::_fourJetAnalysis(), CDF_1996_S3349578::_fourJetAnalysis(), Event::_geNormAlignment(), D0_1996_S3214044::_threeJetAnalysis(), CDF_1996_S3349578::_threeJetAnalysis(), UA1_1990_S2044935::analyze(), STAR_2008_S7993412::analyze(), STAR_2008_S7869363::analyze(), STAR_2006_S6860818::analyze(), STAR_2006_S6500200::analyze(), PDG_HADRON_MULTIPLICITIES_RATIOS::analyze(), PDG_HADRON_MULTIPLICITIES::analyze(), OPAL_2001_S4553896::analyze(), MC_ZZJETS::analyze(), MC_ZJETS::analyze(), MC_WWJETS::analyze(), MC_WJETS::analyze(), MC_SUSY::analyze(), MC_PHOTONJETUE::analyze(), MC_PHOTONJETS::analyze(), MC_LEADINGJETS::analyze(), MC_JetAnalysis::analyze(), MC_HJETS::analyze(), MC_GENERIC::analyze(), MC_DIPHOTON::analyze(), MC_DIJET::analyze(), H1_2000_S4129130::analyze(), H1_1995_S3167097::analyze(), H1_1994_S2919893::analyze(), ExampleAnalysis::analyze(), D0_2010_S8570965::analyze(), D0_2010_S8566488::analyze(), D0_2009_S8349509::analyze(), D0_2009_S8202443::analyze(), D0_2008_S7863608::analyze(), D0_2008_S7837160::analyze(), D0_2008_S7719523::analyze(), D0_2008_S7662670::analyze(), D0_2008_S6879055::analyze(), D0_2007_S7075677::analyze(), D0_2004_S5992206::analyze(), D0_2001_S4674421::analyze(), D0_2000_S4480767::analyze(), D0_1998_S3711838::analyze(), D0_1996_S3324664::analyze(), D0_1996_S3214044::analyze(), CDF_2009_S8436959::analyze(), CDF_2009_S8233977::analyze(), CDF_2008_S7828950::analyze(), CDF_2008_S7782535::analyze(), CDF_2008_S7540469::analyze(), CDF_2008_NOTE_9351::analyze(), CDF_2008_LEADINGJETS::analyze(), CDF_2007_S7057202::analyze(), CDF_2006_S6450792::analyze(), CDF_2005_S6217184::analyze(), CDF_2005_S6080774::analyze(), CDF_2004_S5839831::analyze(), CDF_2002_S4796047::analyze(), CDF_2001_S4751469::analyze(), CDF_2001_S4563131::analyze(), CDF_2001_S4517016::analyze(), CDF_2000_S4266730::analyze(), CDF_2000_S4155203::analyze(), CDF_1998_S3618439::analyze(), CDF_1997_S3541940::analyze(), CDF_1996_S3418421::analyze(), CDF_1996_S3349578::analyze(), CDF_1996_S3108457::analyze(), CDF_1994_S2952106::analyze(), CDF_1993_S2742446::analyze(), CDF_1991_S2313472::analyze(), CDF_1988_S1865951::analyze(), ATLAS_2010_S8591806::analyze(), AnalysisHandler::analyze(), ALEPH_2004_S5765862::analyze(), ALEPH_1996_S3486095::analyze(), ALEPH_1996_S3196992::analyze(), CDF_2009_S8057893::CDF_2009_S8057893::init(), UA1_1990_S2044935::finalize(), PDG_HADRON_MULTIPLICITIES_RATIOS::finalize(), PDG_HADRON_MULTIPLICITIES::finalize(), CDF_2004_S5839831::finalize(), CDF_2002_S4796047::finalize(), OPAL_2004_S6132243::getHistIndex(), UA5_1989_S1926373::init(), UA5_1988_S1867512::init(), UA5_1986_S1583476::init(), UA1_1990_S2044935::init(), STAR_2009_UE_HELEN::init(), STAR_2008_S7993412::init(), STAR_2008_S7869363::init(), STAR_2006_S6860818::init(), STAR_2006_S6500200::init(), SFM_1984_S1178091::init(), PDG_HADRON_MULTIPLICITIES_RATIOS::init(), PDG_HADRON_MULTIPLICITIES::init(), MC_ZZJETS::init(), MC_ZJETS::init(), MC_WWJETS::init(), MC_WJETS::init(), MC_SUSY::init(), MC_PHOTONJETUE::init(), MC_LEADINGJETS::init(), MC_JetAnalysis::init(), MC_HJETS::init(), MC_DIPHOTON::init(), MC_DIJET::init(), JADE_OPAL_2000_S4300807::init(), ExampleAnalysis::init(), D0_2010_S8671338::init(), D0_2010_S8570965::init(), D0_2009_S8349509::init(), D0_2009_S8202443::init(), D0_2008_S7863608::init(), D0_2008_S7837160::init(), D0_2008_S7719523::init(), D0_2008_S7554427::init(), D0_2008_S6879055::init(), D0_2007_S7075677::init(), D0_2006_S6438750::init(), D0_2004_S5992206::init(), D0_2000_S4480767::init(), D0_1998_S3711838::init(), CDF_2009_S8436959::init(), CDF_2009_S8383952::init(), CDF_2009_S8233977::init(), CDF_2009_NOTE_9936::init(), CDF_2008_S8095620::init(), CDF_2008_S7782535::init(), CDF_2008_S7541902::init(), CDF_2008_S7540469::init(), CDF_2008_NOTE_9351::init(), CDF_2008_LEADINGJETS::init(), CDF_2006_S6653332::init(), CDF_2005_S6217184::init(), CDF_2005_S6080774::init(), CDF_2004_S5839831::init(), CDF_2002_S4796047::init(), CDF_2001_S4751469::init(), CDF_2000_S4155203::init(), CDF_1994_S2952106::init(), CDF_1993_S2742446::init(), CDF_1991_S2313472::init(), CDF_1990_S2089246::init(), CDF_1988_S1865951::init(), ATLAS_2010_S8591806::init(), ALEPH_2004_S5765862::init(), NeutralFinalState::NeutralFinalState(), WFinder::project(), InvMassFinalState::project(), AnalysisHandler::setRunBeams(), and toString().
Definition at line 128 of file Units.hh.
Referenced by H1_1995_S3167097::_getbin(), H1_2000_S4129130::analyze(), H1_1995_S3167097::analyze(), H1_1994_S2919893::analyze(), and CDF_2000_S4155203::analyze().
const double gigaelectronvolt = 1. [static] |
Definition at line 46 of file ParticleName.hh.
const double h_Planck = 6.6260755e-34 * joule*s [static] |
Definition at line 34 of file Constants.hh.
const double HALFPI = M_PI_2 |
Definition at line 14 of file Constants.hh.
const double hbar_Planck = h_Planck/twopi [static] |
Definition at line 35 of file Constants.hh.
const double hbarc = hbar_Planck * c_light [static] |
Definition at line 36 of file Constants.hh.
const double hbarc_squared = hbarc * hbarc [static] |
Definition at line 37 of file Constants.hh.
const double hep_pascal = newton/m2 [static] |
const double joule = electronvolt/e_SI [static] |
Definition at line 30 of file ParticleName.hh.
Referenced by STAR_2006_S6860818::analyze(), and STAR_2009_UE_HELEN::init().
const double k_Boltzmann = 8.617385e-11 * MeV/kelvin [static] |
Definition at line 81 of file Constants.hh.
const double keV = kiloelectronvolt [static] |
const double kGasThreshold = 10.*mg/cm3 [static] |
Definition at line 88 of file Constants.hh.
const double kiloelectronvolt = 1.e-6*gigaelectronvolt [static] |
const double kilometer2 = kilometer*kilometer [static] |
const double kilometer3 = kilometer*kilometer*kilometer [static] |
const double km2 = kilometer2 [static] |
const double km3 = kilometer3 [static] |
Definition at line 33 of file ParticleName.hh.
Definition at line 35 of file ParticleName.hh.
Definition at line 46 of file Units.hh.
Referenced by CDF_1996_S3418421::analyze(), ALEPH_1991_S2435284::analyze(), and operator<<().
Definition at line 47 of file Units.hh.
Referenced by D0_1996_S3214044::_safeMass(), CDF_1997_S3541940::_safeMass(), CDF_1996_S3349578::_safeMass(), MC_ZZJETS::analyze(), and MC_WWJETS::analyze().
const double MAXDOUBLE = std::numeric_limits<double>::max() |
Definition at line 39 of file MathHeader.hh.
Referenced by D0_2004_S5992206::init(), CDF_2008_S7782535::init(), CDF_2005_S6217184::init(), CDF_1994_S2952106::init(), and rapidity().
const double MAXINT = std::numeric_limits<int>::max() |
Definition at line 40 of file MathHeader.hh.
const double MaxRapidity = 100000.0 [static] |
const double MAXRAPIDITY = 100000.0 [static] |
A sensible default maximum value of rapidity for Rivet analyses to use.
Definition at line 24 of file Rivet.hh.
Referenced by FinalState::FinalState(), D0_2008_S7554427::init(), CDF_2009_S8383952::init(), and ALEPH_1996_S3196992::init().
const double megaelectronvolt = 1.e-3*gigaelectronvolt [static] |
const double megavolt = megaelectronvolt/eplus [static] |
const double meter = 1000.*millimeter [static] |
const double MeV = megaelectronvolt [static] |
Definition at line 120 of file Units.hh.
Referenced by CDF_2009_S8233977::analyze(), MC_GENERIC::init(), and STARRandomFilter::operator()().
const double microampere = 1.e-6*ampere [static] |
const double microfarad = 1.e-6*farad [static] |
const double micrometer = 1.e-6 *meter [static] |
const double microsecond = 1.e-6 *second [static] |
const double milliampere = 1.e-3*ampere [static] |
const double millibarn = 1.0e-3 * barn [static] |
Definition at line 61 of file Units.hh.
Referenced by UA1_1990_S2044935::finalize(), CDF_2009_S8233977::finalize(), and CDF_1988_S1865951::finalize().
const double millifarad = 1.e-3*farad [static] |
const double millimeter = 1. [static] |
const double millimeter2 = millimeter*millimeter [static] |
const double millimeter3 = millimeter*millimeter*millimeter [static] |
const double milliradian = 1.e-3*radian [static] |
const double millisecond = 1.e-3 *second [static] |
const double mm = millimeter [static] |
Definition at line 38 of file Units.hh.
Referenced by MC_ZZJETS::analyze(), and MC_WWJETS::analyze().
const double mm2 = millimeter2 [static] |
const double mm3 = millimeter3 [static] |
const double mrad = milliradian [static] |
const double ms = millisecond [static] |
Definition at line 20 of file ParticleName.hh.
Referenced by WFinder::_init(), IdentifiedFinalState::acceptChLeptons(), MC_SUSY::analyze(), MC_ZZJETS::init(), MC_WWJETS::init(), MC_SUSY::init(), D0_2010_S8671338::init(), D0_2009_S8349509::init(), D0_2008_S7863608::init(), D0_2004_S5992206::init(), CDF_2008_S8095620::init(), CDF_2008_S7782535::init(), CDF_2006_S6653332::init(), CDF_2005_S6217184::init(), CDF_1994_S2952106::init(), and ParticleNames::ParticleNames().
const double nanoampere = 1.e-9*ampere [static] |
const double nanobarn = 1.0e-9 * barn [static] |
Definition at line 63 of file Units.hh.
Referenced by CDF_2008_S7828950::finalize(), CDF_2007_S7057202::finalize(), CDF_2006_S6450792::finalize(), CDF_2001_S4563131::finalize(), and CDF_2001_S4517016::finalize().
const double nanosecond = 1.0 [static] |
Definition at line 18 of file ParticleName.hh.
Referenced by ParticleNames::_particleId(), STAR_2009_UE_HELEN::init(), and ParticleNames::ParticleNames().
const double neutron_mass_c2 = 939.56563 * MeV [static] |
Definition at line 51 of file Constants.hh.
const double ns = nanosecond [static] |
Definition at line 22 of file ParticleName.hh.
Referenced by WFinder::_init(), IdentifiedFinalState::acceptNeutrinos(), D0_1998_S3711838::analyze(), CDF_2008_S7541902::analyze(), CDF_1991_S2313472::analyze(), D0_2001_S4674421::init(), CDF_2008_S7541902::init(), ParticleNames::ParticleNames(), and VetoedFinalState::vetoNeutrinos().
Definition at line 23 of file ParticleName.hh.
Referenced by D0_2001_S4674421::init(), CDF_2008_S7541902::init(), and ParticleNames::ParticleNames().
Definition at line 24 of file ParticleName.hh.
Referenced by WFinder::_init(), IdentifiedFinalState::acceptNeutrinos(), ParticleNames::ParticleNames(), and VetoedFinalState::vetoNeutrinos().
Definition at line 26 of file ParticleName.hh.
Referenced by IdentifiedFinalState::acceptNeutrinos(), ParticleNames::ParticleNames(), and VetoedFinalState::vetoNeutrinos().
const PdgId OMEGAMINUS = 3334 [static] |
Definition at line 39 of file ParticleName.hh.
Definition at line 44 of file ParticleName.hh.
Definition at line 45 of file ParticleName.hh.
const double perMillion = 0.000001 [static] |
const double perThousand = 0.001 [static] |
const double petaelectronvolt = 1.e+6*gigaelectronvolt [static] |
const double PeV = petaelectronvolt [static] |
Definition at line 17 of file ParticleName.hh.
Referenced by ParticleNames::_particleId(), OPAL_1993_S2692198::analyze(), CDF_2008_S7540469::analyze(), ClusteredPhotons::ClusteredPhotons(), MC_SUSY::init(), MC_PHOTONJETUE::init(), MC_PHOTONJETS::init(), MC_DIPHOTON::init(), D0_2010_S8570965::init(), D0_2008_S7719523::init(), D0_2006_S6438750::init(), CDF_2009_S8436959::init(), CDF_2005_S6080774::init(), CDF_1993_S2742446::init(), ALEPH_1996_S3196992::init(), and ParticleNames::ParticleNames().
const double PI = M_PI |
A pre-defined value of .
Definition at line 43 of file MathHeader.hh.
Referenced by CDF_2004_S5839831::_calcTransCones(), STAR_2009_UE_HELEN::analyze(), MC_PHOTONJETUE::analyze(), MC_LEADINGJETS::analyze(), H1_1994_S2919893::analyze(), CDF_2008_NOTE_9351::analyze(), CDF_2008_LEADINGJETS::analyze(), CDF_2001_S4751469::analyze(), CDF_1994_S2952106::analyze(), Vector3::azimuthalAngle(), MC_ZZJETS::init(), MC_WWJETS::init(), MC_SUSY::init(), MC_PHOTONJETUE::init(), mapAngle0ToPi(), mapAngleMPiToPi(), Vector3::polarAngle(), and DISKinematics::project().
const double pi = 3.14159265358979323846 [static] |
Definition at line 12 of file Constants.hh.
Referenced by particles(), particles_in(), particles_out(), FoxWolframMoments::project(), and ProjectionHandler::removeProjectionApplier().
Definition at line 15 of file Constants.hh.
const double picobarn = 1.0 [static] |
Definition at line 59 of file Units.hh.
Referenced by STAR_2006_S6870392::finalize(), D0_2001_S4674421::finalize(), CDF_2000_S4266730::finalize(), CDF_2000_S4155203::finalize(), and CDF_1998_S3618439::finalize().
const double picosecond = 1.e-12*second [static] |
Definition at line 28 of file ParticleName.hh.
Referenced by STAR_2006_S6860818::analyze(), STAR_2006_S6500200::init(), and ParticleNames::ParticleNames().
AnalysisBuilder<ALEPH_1991_S2435284> plugin_ALEPH_1991_S2435284 |
Definition at line 64 of file ALEPH_1991_S2435284.cc.
AnalysisBuilder<ALEPH_1996_S3196992> plugin_ALEPH_1996_S3196992 |
Definition at line 166 of file ALEPH_1996_S3196992.cc.
AnalysisBuilder<ALEPH_1996_S3486095> plugin_ALEPH_1996_S3486095 |
Definition at line 553 of file ALEPH_1996_S3486095.cc.
AnalysisBuilder<ALEPH_2004_S5765862> plugin_ALEPH_2004_S5765862 |
Definition at line 323 of file ALEPH_2004_S5765862.cc.
AnalysisBuilder<ATLAS_2010_S8591806> plugin_ATLAS_2010_S8591806 |
Definition at line 75 of file ATLAS_2010_S8591806.cc.
AnalysisBuilder<BELLE_2006_S6265367> plugin_BELLE_2006_S6265367 |
Definition at line 219 of file BELLE_2006_S6265367.cc.
AnalysisBuilder<CDF_1988_S1865951> plugin_CDF_1988_S1865951 |
Definition at line 85 of file CDF_1988_S1865951.cc.
AnalysisBuilder<CDF_1990_S2089246> plugin_CDF_1990_S2089246 |
Definition at line 86 of file CDF_1990_S2089246.cc.
AnalysisBuilder<CDF_1991_S2313472> plugin_CDF_1991_S2313472 |
Definition at line 110 of file CDF_1991_S2313472.cc.
AnalysisBuilder<CDF_1993_S2742446> plugin_CDF_1993_S2742446 |
Definition at line 103 of file CDF_1993_S2742446.cc.
AnalysisBuilder<CDF_1994_S2952106> plugin_CDF_1994_S2952106 |
Definition at line 354 of file CDF_1994_S2952106.cc.
AnalysisBuilder<CDF_1996_S3108457> plugin_CDF_1996_S3108457 |
Definition at line 131 of file CDF_1996_S3108457.cc.
AnalysisBuilder<CDF_1996_S3349578> plugin_CDF_1996_S3349578 |
Definition at line 472 of file CDF_1996_S3349578.cc.
AnalysisBuilder<CDF_1996_S3418421> plugin_CDF_1996_S3418421 |
Definition at line 124 of file CDF_1996_S3418421.cc.
AnalysisBuilder<CDF_1997_S3541940> plugin_CDF_1997_S3541940 |
Definition at line 275 of file CDF_1997_S3541940.cc.
AnalysisBuilder<CDF_1998_S3618439> plugin_CDF_1998_S3618439 |
Definition at line 81 of file CDF_1998_S3618439.cc.
AnalysisBuilder<CDF_2000_S4155203> plugin_CDF_2000_S4155203 |
Definition at line 75 of file CDF_2000_S4155203.cc.
AnalysisBuilder<CDF_2000_S4266730> plugin_CDF_2000_S4266730 |
Definition at line 89 of file CDF_2000_S4266730.cc.
AnalysisBuilder<CDF_2001_S4517016> plugin_CDF_2001_S4517016 |
Definition at line 93 of file CDF_2001_S4517016.cc.
AnalysisBuilder<CDF_2001_S4563131> plugin_CDF_2001_S4563131 |
Definition at line 80 of file CDF_2001_S4563131.cc.
AnalysisBuilder<CDF_2001_S4751469> plugin_CDF_2001_S4751469 |
Definition at line 289 of file CDF_2001_S4751469.cc.
AnalysisBuilder<CDF_2002_S4796047> plugin_CDF_2002_S4796047 |
Definition at line 126 of file CDF_2002_S4796047.cc.
AnalysisBuilder<CDF_2004_S5839831> plugin_CDF_2004_S5839831 |
Definition at line 388 of file CDF_2004_S5839831.cc.
AnalysisBuilder<CDF_2005_S6080774> plugin_CDF_2005_S6080774 |
Definition at line 107 of file CDF_2005_S6080774.cc.
AnalysisBuilder<CDF_2005_S6217184> plugin_CDF_2005_S6217184 |
Definition at line 133 of file CDF_2005_S6217184.cc.
AnalysisBuilder<CDF_2006_S6450792> plugin_CDF_2006_S6450792 |
Definition at line 64 of file CDF_2006_S6450792.cc.
AnalysisBuilder<CDF_2006_S6653332> plugin_CDF_2006_S6653332 |
Definition at line 169 of file CDF_2006_S6653332.cc.
AnalysisBuilder<CDF_2007_S7057202> plugin_CDF_2007_S7057202 |
Definition at line 87 of file CDF_2007_S7057202.cc.
AnalysisBuilder<CDF_2008_LEADINGJETS> plugin_CDF_2008_LEADINGJETS |
Definition at line 235 of file CDF_2008_LEADINGJETS.cc.
AnalysisBuilder<CDF_2008_NOTE_9351> plugin_CDF_2008_NOTE_9351 |
Definition at line 224 of file CDF_2008_NOTE_9351.cc.
AnalysisBuilder<CDF_2008_S7540469> plugin_CDF_2008_S7540469 |
Definition at line 197 of file CDF_2008_S7540469.cc.
AnalysisBuilder<CDF_2008_S7541902> plugin_CDF_2008_S7541902 |
Definition at line 206 of file CDF_2008_S7541902.cc.
AnalysisBuilder<CDF_2008_S7782535> plugin_CDF_2008_S7782535 |
Definition at line 134 of file CDF_2008_S7782535.cc.
AnalysisBuilder<CDF_2008_S7828950> plugin_CDF_2008_S7828950 |
Definition at line 72 of file CDF_2008_S7828950.cc.
AnalysisBuilder<CDF_2008_S8093652> plugin_CDF_2008_S8093652 |
Definition at line 75 of file CDF_2008_S8093652.cc.
AnalysisBuilder<CDF_2008_S8095620> plugin_CDF_2008_S8095620 |
Definition at line 159 of file CDF_2008_S8095620.cc.
AnalysisBuilder<CDF_2009_NOTE_9936> plugin_CDF_2009_NOTE_9936 |
Definition at line 79 of file CDF_2009_NOTE_9936.cc.
AnalysisBuilder<CDF_2009_S8057893> plugin_CDF_2009_S8057893 |
Definition at line 87 of file CDF_2009_S8057893.cc.
AnalysisBuilder<CDF_2009_S8233977> plugin_CDF_2009_S8233977 |
Definition at line 128 of file CDF_2009_S8233977.cc.
AnalysisBuilder<CDF_2009_S8383952> plugin_CDF_2009_S8383952 |
Definition at line 93 of file CDF_2009_S8383952.cc.
AnalysisBuilder<CDF_2009_S8436959> plugin_CDF_2009_S8436959 |
Definition at line 93 of file CDF_2009_S8436959.cc.
AnalysisBuilder<D0_1996_S3214044> plugin_D0_1996_S3214044 |
Definition at line 278 of file D0_1996_S3214044.cc.
AnalysisBuilder<D0_1996_S3324664> plugin_D0_1996_S3324664 |
Definition at line 118 of file D0_1996_S3324664.cc.
AnalysisBuilder<D0_1998_S3711838> plugin_D0_1998_S3711838 |
Definition at line 111 of file D0_1998_S3711838.cc.
AnalysisBuilder<D0_2000_S4480767> plugin_D0_2000_S4480767 |
Definition at line 77 of file D0_2000_S4480767.cc.
AnalysisBuilder<D0_2001_S4674421> plugin_D0_2001_S4674421 |
Definition at line 189 of file D0_2001_S4674421.cc.
AnalysisBuilder<D0_2004_S5992206> plugin_D0_2004_S5992206 |
Definition at line 139 of file D0_2004_S5992206.cc.
AnalysisBuilder<D0_2006_S6438750> plugin_D0_2006_S6438750 |
Definition at line 104 of file D0_2006_S6438750.cc.
AnalysisBuilder<D0_2007_S7075677> plugin_D0_2007_S7075677 |
Definition at line 85 of file D0_2007_S7075677.cc.
AnalysisBuilder<D0_2008_S6879055> plugin_D0_2008_S6879055 |
Definition at line 157 of file D0_2008_S6879055.cc.
AnalysisBuilder<D0_2008_S7554427> plugin_D0_2008_S7554427 |
Definition at line 85 of file D0_2008_S7554427.cc.
AnalysisBuilder<D0_2008_S7662670> plugin_D0_2008_S7662670 |
Definition at line 128 of file D0_2008_S7662670.cc.
AnalysisBuilder<D0_2008_S7719523> plugin_D0_2008_S7719523 |
Definition at line 188 of file D0_2008_S7719523.cc.
AnalysisBuilder<D0_2008_S7837160> plugin_D0_2008_S7837160 |
Definition at line 162 of file D0_2008_S7837160.cc.
AnalysisBuilder<D0_2008_S7863608> plugin_D0_2008_S7863608 |
Definition at line 125 of file D0_2008_S7863608.cc.
AnalysisBuilder<D0_2009_S8202443> plugin_D0_2009_S8202443 |
Definition at line 156 of file D0_2009_S8202443.cc.
AnalysisBuilder<D0_2009_S8320160> plugin_D0_2009_S8320160 |
Definition at line 95 of file D0_2009_S8320160.cc.
AnalysisBuilder<D0_2009_S8349509> plugin_D0_2009_S8349509 |
Definition at line 149 of file D0_2009_S8349509.cc.
AnalysisBuilder<D0_2010_S8566488> plugin_D0_2010_S8566488 |
Definition at line 92 of file D0_2010_S8566488.cc.
AnalysisBuilder<D0_2010_S8570965> plugin_D0_2010_S8570965 |
Definition at line 150 of file D0_2010_S8570965.cc.
AnalysisBuilder<D0_2010_S8671338> plugin_D0_2010_S8671338 |
Definition at line 73 of file D0_2010_S8671338.cc.
AnalysisBuilder<DELPHI_1995_S3137023> plugin_DELPHI_1995_S3137023 |
Definition at line 108 of file DELPHI_1995_S3137023.cc.
AnalysisBuilder<DELPHI_2002_069_CONF_603> plugin_DELPHI_2002_069_CONF_603 |
Definition at line 131 of file DELPHI_2002_069_CONF_603.cc.
AnalysisBuilder<E735_1998_S3905616> plugin_E735_1998_S3905616 |
Definition at line 76 of file E735_1998_S3905616.cc.
AnalysisBuilder<ExampleAnalysis> plugin_ExampleAnalysis |
Definition at line 130 of file ExampleAnalysis.cc.
AnalysisBuilder<H1_1994_S2919893> plugin_H1_1994_S2919893 |
Definition at line 259 of file H1_1994_S2919893.cc.
AnalysisBuilder<H1_1995_S3167097> plugin_H1_1995_S3167097 |
Definition at line 152 of file H1_1995_S3167097.cc.
AnalysisBuilder<H1_2000_S4129130> plugin_H1_2000_S4129130 |
Definition at line 281 of file H1_2000_S4129130.cc.
AnalysisBuilder<JADE_OPAL_2000_S4300807> plugin_JADE_OPAL_2000_S4300807 |
Definition at line 203 of file JADE_OPAL_2000_S4300807.cc.
AnalysisBuilder<MC_DIJET> plugin_MC_DIJET |
Definition at line 118 of file MC_DIJET.cc.
AnalysisBuilder<MC_DIPHOTON> plugin_MC_DIPHOTON |
Definition at line 100 of file MC_DIPHOTON.cc.
AnalysisBuilder<MC_GENERIC> plugin_MC_GENERIC |
Definition at line 168 of file MC_GENERIC.cc.
AnalysisBuilder<MC_HJETS> plugin_MC_HJETS |
Definition at line 116 of file MC_HJETS.cc.
AnalysisBuilder<MC_JETS> plugin_MC_JETS |
Definition at line 44 of file MC_JETS.cc.
AnalysisBuilder<MC_LEADINGJETS> plugin_MC_LEADINGJETS |
Definition at line 168 of file MC_LEADINGJETS.cc.
AnalysisBuilder<MC_PHOTONJETS> plugin_MC_PHOTONJETS |
Definition at line 130 of file MC_PHOTONJETS.cc.
AnalysisBuilder<MC_PHOTONJETUE> plugin_MC_PHOTONJETUE |
Definition at line 258 of file MC_PHOTONJETUE.cc.
AnalysisBuilder<MC_SUSY> plugin_MC_SUSY |
Definition at line 320 of file MC_SUSY.cc.
AnalysisBuilder<MC_TTBAR> plugin_MC_TTBAR |
Definition at line 76 of file MC_TTBAR.cc.
AnalysisBuilder<MC_WJETS> plugin_MC_WJETS |
Definition at line 147 of file MC_WJETS.cc.
AnalysisBuilder<MC_WWJETS> plugin_MC_WWJETS |
Definition at line 259 of file MC_WWJETS.cc.
AnalysisBuilder<MC_ZJETS> plugin_MC_ZJETS |
Definition at line 116 of file MC_ZJETS.cc.
AnalysisBuilder<MC_ZZJETS> plugin_MC_ZZJETS |
Definition at line 250 of file MC_ZZJETS.cc.
AnalysisBuilder<OPAL_1993_S2692198> plugin_OPAL_1993_S2692198 |
Definition at line 196 of file OPAL_1993_S2692198.cc.
AnalysisBuilder<OPAL_1998_S3780481> plugin_OPAL_1998_S3780481 |
Definition at line 198 of file OPAL_1998_S3780481.cc.
AnalysisBuilder<OPAL_2001_S4553896> plugin_OPAL_2001_S4553896 |
Definition at line 159 of file OPAL_2001_S4553896.cc.
AnalysisBuilder<OPAL_2004_S6132243> plugin_OPAL_2004_S6132243 |
Definition at line 260 of file OPAL_2004_S6132243.cc.
AnalysisBuilder<PDG_HADRON_MULTIPLICITIES> plugin_PDG_HADRON_MULTIPLICITIES |
Definition at line 771 of file PDG_Hadron_Multiplicities.cc.
AnalysisBuilder<PDG_HADRON_MULTIPLICITIES_RATIOS> plugin_PDG_HADRON_MULTIPLICITIES_RATIOS |
Definition at line 765 of file PDG_Hadron_Multiplicities_Ratios.cc.
AnalysisBuilder<SFM_1984_S1178091> plugin_SFM_1984_S1178091 |
Definition at line 124 of file SFM_1984_S1178091.cc.
AnalysisBuilder<STAR_2006_S6500200> plugin_STAR_2006_S6500200 |
Definition at line 115 of file STAR_2006_S6500200.cc.
AnalysisBuilder<STAR_2006_S6860818> plugin_STAR_2006_S6860818 |
Definition at line 206 of file STAR_2006_S6860818.cc.
AnalysisBuilder<STAR_2006_S6870392> plugin_STAR_2006_S6870392 |
Definition at line 91 of file STAR_2006_S6870392.cc.
AnalysisBuilder<STAR_2008_S7869363> plugin_STAR_2008_S7869363 |
Definition at line 171 of file STAR_2008_S7869363.cc.
AnalysisBuilder<STAR_2008_S7993412> plugin_STAR_2008_S7993412 |
Definition at line 83 of file STAR_2008_S7993412.cc.
AnalysisBuilder<STAR_2009_UE_HELEN> plugin_STAR_2009_UE_HELEN |
Definition at line 167 of file STAR_2009_UE_HELEN.cc.
AnalysisBuilder<UA1_1990_S2044935> plugin_UA1_1990_S2044935 |
Definition at line 169 of file UA1_1990_S2044935.cc.
AnalysisBuilder<UA5_1982_S875503> plugin_UA5_1982_S875503 |
Definition at line 92 of file UA5_1982_S875503.cc.
AnalysisBuilder<UA5_1986_S1583476> plugin_UA5_1986_S1583476 |
Definition at line 120 of file UA5_1986_S1583476.cc.
AnalysisBuilder<UA5_1987_S1640666> plugin_UA5_1987_S1640666 |
Definition at line 73 of file UA5_1987_S1640666.cc.
AnalysisBuilder<UA5_1988_S1867512> plugin_UA5_1988_S1867512 |
Definition at line 183 of file UA5_1988_S1867512.cc.
AnalysisBuilder<UA5_1989_S1926373> plugin_UA5_1989_S1926373 |
Definition at line 113 of file UA5_1989_S1926373.cc.
AnalysisBuilder<ZEUS_2001_S4815815> plugin_ZEUS_2001_S4815815 |
Definition at line 75 of file ZEUS_2001_S4815815.cc.
Definition at line 14 of file ParticleName.hh.
Referenced by ParticleNames::_particleId(), ALEPH_1991_S2435284::ALEPH_1991_S2435284(), ALEPH_1996_S3196992::ALEPH_1996_S3196992(), ALEPH_1996_S3486095::ALEPH_1996_S3486095(), ALEPH_2004_S5765862::ALEPH_2004_S5765862(), MC_SUSY::analyze(), BELLE_2006_S6265367::BELLE_2006_S6265367(), DELPHI_1995_S3137023::DELPHI_1995_S3137023(), DELPHI_2002_069_CONF_603::DELPHI_2002_069_CONF_603(), H1_2000_S4129130::H1_2000_S4129130(), D0_2008_S6879055::init(), D0_2001_S4674421::init(), CDF_2008_S8095620::init(), CDF_2008_S7541902::init(), CDF_2006_S6653332::init(), JADE_OPAL_2000_S4300807::JADE_OPAL_2000_S4300807(), OPAL_1993_S2692198::OPAL_1993_S2692198(), OPAL_1998_S3780481::OPAL_1998_S3780481(), OPAL_2001_S4553896::OPAL_2001_S4553896(), ParticleNames::ParticleNames(), PDG_HADRON_MULTIPLICITIES::PDG_HADRON_MULTIPLICITIES(), PDG_HADRON_MULTIPLICITIES_RATIOS::PDG_HADRON_MULTIPLICITIES_RATIOS(), and ZEUS_2001_S4815815::ZEUS_2001_S4815815().
Definition at line 15 of file ParticleName.hh.
Referenced by Event::_geNormAlignment(), ParticleNames::_particleId(), STAR_2006_S6860818::analyze(), CDF_1988_S1865951::CDF_1988_S1865951(), CDF_1990_S2089246::CDF_1990_S2089246(), CDF_1991_S2313472::CDF_1991_S2313472(), CDF_1993_S2742446::CDF_1993_S2742446(), CDF_1994_S2952106::CDF_1994_S2952106(), CDF_1996_S3108457::CDF_1996_S3108457(), CDF_1996_S3349578::CDF_1996_S3349578(), CDF_1996_S3418421::CDF_1996_S3418421(), CDF_1997_S3541940::CDF_1997_S3541940(), CDF_1998_S3618439::CDF_1998_S3618439(), CDF_2000_S4155203::CDF_2000_S4155203(), CDF_2000_S4266730::CDF_2000_S4266730(), CDF_2001_S4517016::CDF_2001_S4517016(), CDF_2001_S4563131::CDF_2001_S4563131(), CDF_2001_S4751469::CDF_2001_S4751469(), CDF_2002_S4796047::CDF_2002_S4796047(), CDF_2004_S5839831::CDF_2004_S5839831(), CDF_2005_S6080774::CDF_2005_S6080774(), CDF_2005_S6217184::CDF_2005_S6217184(), CDF_2006_S6450792::CDF_2006_S6450792(), CDF_2006_S6653332::CDF_2006_S6653332(), CDF_2007_S7057202::CDF_2007_S7057202(), CDF_2008_LEADINGJETS::CDF_2008_LEADINGJETS(), CDF_2008_NOTE_9351::CDF_2008_NOTE_9351(), CDF_2008_S7540469::CDF_2008_S7540469(), CDF_2008_S7541902::CDF_2008_S7541902(), CDF_2008_S7782535::CDF_2008_S7782535(), CDF_2008_S7828950::CDF_2008_S7828950(), CDF_2008_S8093652::CDF_2008_S8093652(), CDF_2008_S8095620::CDF_2008_S8095620(), CDF_2009_NOTE_9936::CDF_2009_NOTE_9936(), CDF_2009_S8057893::CDF_2009_S8057893::CDF_2009_S8057893(), CDF_2009_S8233977::CDF_2009_S8233977(), CDF_2009_S8383952::CDF_2009_S8383952(), CDF_2009_S8436959::CDF_2009_S8436959(), D0_1996_S3214044::D0_1996_S3214044(), D0_1996_S3324664::D0_1996_S3324664(), D0_1998_S3711838::D0_1998_S3711838(), D0_2001_S4674421::D0_2001_S4674421(), D0_2004_S5992206::D0_2004_S5992206(), D0_2006_S6438750::D0_2006_S6438750(), D0_2007_S7075677::D0_2007_S7075677(), D0_2008_S6879055::D0_2008_S6879055(), D0_2008_S7554427::D0_2008_S7554427(), D0_2008_S7662670::D0_2008_S7662670(), D0_2008_S7719523::D0_2008_S7719523(), D0_2008_S7837160::D0_2008_S7837160(), D0_2008_S7863608::D0_2008_S7863608(), D0_2009_S8202443::D0_2009_S8202443(), D0_2009_S8320160::D0_2009_S8320160(), D0_2009_S8349509::D0_2009_S8349509(), D0_2010_S8566488::D0_2010_S8566488(), D0_2010_S8570965::D0_2010_S8570965(), D0_2010_S8671338::D0_2010_S8671338(), E735_1998_S3905616::E735_1998_S3905616(), H1_1994_S2919893::H1_1994_S2919893(), H1_1995_S3167097::H1_1995_S3167097(), H1_2000_S4129130::H1_2000_S4129130(), STAR_2006_S6500200::init(), ParticleNames::ParticleNames(), SFM_1984_S1178091::SFM_1984_S1178091(), STAR_2006_S6500200::STAR_2006_S6500200(), STAR_2006_S6860818::STAR_2006_S6860818(), STAR_2006_S6870392::STAR_2006_S6870392(), STAR_2008_S7869363::STAR_2008_S7869363(), STAR_2008_S7993412::STAR_2008_S7993412(), STAR_2009_UE_HELEN::STAR_2009_UE_HELEN(), UA1_1990_S2044935::UA1_1990_S2044935(), UA5_1986_S1583476::UA5_1986_S1583476(), UA5_1987_S1640666::UA5_1987_S1640666(), UA5_1988_S1867512::UA5_1988_S1867512(), UA5_1989_S1926373::UA5_1989_S1926373(), and ZEUS_2001_S4815815::ZEUS_2001_S4815815().
const double proton_mass_c2 = 938.27231 * MeV [static] |
Definition at line 50 of file Constants.hh.
Definition at line 96 of file Units.hh.
Referenced by ExampleAnalysis::analyze(), BELLE_2006_S6265367::analyze(), main(), AnalysisInfo::make(), and std::operator+=().
const double second = 1.e+9 *nanosecond [static] |
Definition at line 85 of file Units.hh.
Referenced by Sphericity::_calcSphericity(), UA5_1982_S875503::finalize(), EigenSystem::getEigenVectors(), UA5_1982_S875503::init(), and D0_2010_S8570965::init().
const double STP_Pressure = 1.*atmosphere [static] |
Definition at line 87 of file Constants.hh.
const double STP_Temperature = 273.15*kelvin [static] |
Definition at line 86 of file Constants.hh.
Definition at line 40 of file ParticleName.hh.
Referenced by IdentifiedFinalState::acceptChLeptons(), MC_HJETS::init(), and ParticleNames::ParticleNames().
const double teraelectronvolt = 1.e+3*gigaelectronvolt [static] |
const double TeV = teraelectronvolt [static] |
Definition at line 57 of file ParticleName.hh.
const double TWOPI = 2*M_PI |
A pre-defined value of .
Definition at line 46 of file MathHeader.hh.
Referenced by _mapAngleM2PITo2Pi(), UA1_1990_S2044935::analyze(), STAR_2008_S7869363::analyze(), H1_1994_S2919893::analyze(), CDF_2009_S8233977::analyze(), CDF_1988_S1865951::analyze(), ATLAS_2010_S8591806::finalize(), MC_ZZJETS::init(), MC_ZJETS::init(), MC_WWJETS::init(), MC_WJETS::init(), MC_HJETS::init(), MC_GENERIC::init(), mapAngle0To2Pi(), mapAngleMPiToPi(), and JetShape::project().
Definition at line 13 of file Constants.hh.
const double twopi_mc2_rcl2 [static] |
Initial value:
Definition at line 75 of file Constants.hh.
const double universe_mean_density = 1.e-25*g/cm3 [static] |
Definition at line 93 of file Constants.hh.
const PdgId WMINUSBOSON = -24 [static] |
Definition at line 49 of file ParticleName.hh.
Referenced by ParticleNames::ParticleNames(), and WFinder::project().
const PdgId WPLUSBOSON = 24 [static] |
Definition at line 48 of file ParticleName.hh.
Referenced by ParticleNames::ParticleNames(), and WFinder::project().
Definition at line 37 of file ParticleName.hh.
Definition at line 50 of file ParticleName.hh.
Referenced by ParticleNames::ParticleNames(), and InitialQuarks::project().