MyParticlePair Class Reference

#include <MyParticlePair.h>

List of all members.

Public Member Functions

 MyParticlePair (void)
 Default constructors: all private variables are set to 0.
 MyParticlePair (MyParticle *particle1, MyParticle *particle2)
MyParticleget_particle1 (void) const
MyParticleget_particle2 (void) const
TLorentzVector tlv (void) const
 get the fourmomentum of the pair
double EtaProd (void) const
double DeltaPhi (void) const
double AbsDeltaPhi (void) const
double DeltaR (void) const
double M (void) const
double DeltaEta (void) const
double AbsDeltaEta (void) const
double DeltaPt (void) const
double AbsDeltaPt (void) const
TString get_lepton_flavors (void)
 returns flavor of the lepton pair (ee, mumu, emu)
void Print (std::string option="")
 print the two particles

Private Member Functions

void init (MyParticle *particle1, MyParticle *particle2)
TString pdgIdToString (int pdgId)
 translates pdgIds (+-)11,13 to 'e','mu' string

Private Attributes

MyParticlem_particle1
MyParticlem_particle2


Detailed Description

This class stores particle pair data to be easily accessed inside ROOT. It therefore avoids direct use of ATHENA classes.

Date:
10.12.2006
Author:
Steffen.Kaiser

Definition at line 36 of file MyParticlePair.h.


Constructor & Destructor Documentation

MyParticlePair::MyParticlePair ( MyParticle particle1,
MyParticle particle2 
) [inline]

Constructor particle2 = second particle; particle1 = first particle;

Definition at line 43 of file MyParticlePair.h.


The documentation for this class was generated from the following files:
Generated on Tue Oct 21 11:50:48 2008 for NtupleAnalysis by  doxygen 1.5.1