manchester::MElectron Class Reference

Electron Class. More...

#include <MElectron.h>

Inheritance diagram for manchester::MElectron:

Inheritance graph
[legend]
Collaboration diagram for manchester::MElectron:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MElectron ()
 Default 0 constructor.
 MElectron (const MElectron &em)
 Copy Constructor.
Double_t EoverP () const
 Return the calorimeter energy / track pt.
void SetEoverP (const double ep)
 Set the calorimeter energy / track pt.
Bool_t IsLoose () const
 Return true if this is a loose electron.
Bool_t IsMedium () const
 Return true if this is a medium electron.
Bool_t IsTight () const
 Return true if this is a tight electron.
Bool_t IsRobustLoose () const
 Return true if this is a robust loose electron.
Bool_t IsRobustMedium () const
 Return true if this is a robust medium electron.
Bool_t IsRobusterTight () const
 Return true if this is a robuster tight electron.
Bool_t IsLoosePlusPlus () const
 Return true is this is a loose plus plus electron.
Bool_t IsMediumPlusPlus () const
 Return true is this is a medium plus plus electron.
Bool_t IsTightPlusPlus () const
 Return true is this is a medium plus plus electron.
unsigned int Author () const
 Return the author of this electron - the part of ATLAS software that made it.
UInt_t IsEM () const
 Return the value of the isem variable.
UInt_t GoodOQ () const
 Return the value of the goodoq variable.
void SetAuthor (unsigned int author)
 Set the author of this electron.
Double_t Et20Cone () const
 Calorimeter Et in 0.2 cone.
Double_t CorrectedEt20Cone () const
 Corrected calo Et in 0.2 cone.
Double_t DataCorrectedEt20Cone () const
 Corrected calo Et in 0.2 cone.
Double_t Et30Cone () const
 Calorimeter Et in 0.3 cone.
Double_t CorrectedEt30Cone () const
 Corrected calo Et in 0.3 cone.
Double_t DataCorrectedEt30Cone () const
 Corrected calo Et in 0.3 cone.
Double_t Et40Cone () const
 Calorimeter Et in 0.4 cone.
Double_t CorrectedEt40Cone () const
 Corrected calo Et in 0.4 cone.
Double_t DataCorrectedEt40Cone () const
 Corrected calo Et in 0.4 cone.
Double_t Et45Cone () const
 Calorimeter Et in 0.45 cone.
Bool_t TopTriggerMatched () const
 Was this electron matched to trigger according to TopInputs?
void SetTopTriggerMatched (bool matched)
 Set the flag for top trigger matching.
const MInDetTrackInDetTrack () const
 Get the inner detector track associated with this electron.
const TLorentzVector * Cluster () const
 Get the calorimeter cluster associated with the electron.
void SetCluster (const TLorentzVector &newclus)
 Change the calorimeter cluster (needed for energy corrections).
const TLorentzVector ClusTrkVec () const
 Get the 4 vector defined as ( E(cluster), eta(track), phi(track), m=0 ).
Float_t EtaS2 () const
 etas2 (electron->cluster()->etaBE(2) in AOD)
Float_t EtaP () const
 eta pointing (Shower->parameter(egammaParameters::etap) in AOD)
Float_t METWpx () const
 MET weight in x.
Float_t METWpy () const
 MET weight in y.
Float_t METWet () const
 MET weight in et.
void SetMETWeights (const float wpx, const float wpy, const float wet)
 Set the MET weights.
void SetMETWeights (const std::vector< double > &weights)
 Set the MET weights.
virtual std::string Type () const
 Return the type of this object, i.e. MElectron.
MElectronoperator= (const MElectron &p)
void SetIDTrkVtxParams (const float d0, const float theta, const float phi, const float z0)
 Set ID track parameters at the primary vertex.
void SetIDTrkBSParams (const float d0, const float theta, const float phi, const float z0)
 Set ID track parameters at the beam spot.

Protected Member Functions

virtual void Reset ()
 Resets the members provided by this class.

Detailed Description

Electron Class.


Constructor & Destructor Documentation

MElectron::MElectron ( const MElectron em  ) 

Copy Constructor.

Copy constructor


Member Function Documentation

unsigned int MElectron::Author (  )  const

Return the author of this electron - the part of ATLAS software that made it.

Get the author of the electron. I.e. the part of the atlas software that created it. The authors are listed in the header file MElectron.h and are taken directly from egammaEvent/egammaParamDefs.h. Use this like if (e.Author() == AuthorElectron) then...

const TLorentzVector * MElectron::Cluster (  )  const

Get the calorimeter cluster associated with the electron.

Return a pointer to the calorimeter cluster (just a 4-vector) associated with this electron.

UInt_t MElectron::GoodOQ (  )  const

Return the value of the goodoq variable.

Return the value of the good object quality bit mask. By comparing this with the bit masks defined in http://alxr.usatlas.bnl.gov/lxr/source/atlas/Reconstruction/egamma/egammaEvent/egammaEvent/egammaPIDdefs.h you can see which object quality flags this electron passed / failed

const MInDetTrack * MElectron::InDetTrack (  )  const

Get the inner detector track associated with this electron.

Return a pointer to the inner detector track associated with this electron

UInt_t MElectron::IsEM (  )  const

Return the value of the isem variable.

Get the value of the isem unsigned integer. By comparing this with the bit masks defined in http://alxr.usatlas.bnl.gov/lxr/source/atlas/Reconstruction/egamma/egammaEvent/egammaEvent/egammaPIDdefs.h you can see which cuts this electron passed / failed

void MElectron::Reset (  )  [protected, virtual]

Resets the members provided by this class.

Function to set private members to defaults

Reimplemented from manchester::MParticle.

void MElectron::SetAuthor ( unsigned int  author  ) 

Set the author of this electron.

Allows the user to set the author of the electron. In general this will not be used, since the author will come from the ATLAS software. But it's useful for testing.

void MElectron::SetCluster ( const TLorentzVector &  newclus  ) 

Change the calorimeter cluster (needed for energy corrections).

Change the cluster - needed for energy corrections.

void MElectron::SetIDTrkBSParams ( const float  d0,
const float  theta,
const float  phi,
const float  z0 
)

Set ID track parameters at the beam spot.

Set ID track parameters at the beam spot

void MElectron::SetIDTrkVtxParams ( const float  d0,
const float  theta,
const float  phi,
const float  z0 
)

Set ID track parameters at the primary vertex.

Set ID track parameters at the primary vertex

std::string MElectron::Type (  )  const [virtual]

Return the type of this object, i.e. MElectron.

Return MElectron as a string. Easier to use in comparisons.

Reimplemented from manchester::MParticle.


The documentation for this class was generated from the following files:
Generated on Thu Jun 30 11:40:25 2011 for manTreeSFrame by  doxygen 1.4.7