checkmate is hosted by Hepforge, IPPP Durham
FinalStateObject Class Reference

A class to combine objects of different types. More...

#include <FinalStateObject.h>

Public Member Functions

 FinalStateObject (Electron *e)
 Constructor functions to cast object into general FinalStateObject. More...
 
 FinalStateObject (Muon *m)
 
 FinalStateObject (Jet *j)
 
 FinalStateObject (ETMiss *etm)
 
 ~FinalStateObject ()
 Standard Destructor. More...
 
TLorentzVector P4 ()
 returns a TLorentzVector of the full 4 momentum. More...
 

Data Fields

Float_t PT
 Transverse Momentum. More...
 
Float_t Eta
 Pseudorapidity. More...
 
Float_t Phi
 Polar angle. More...
 
Float_t Charge
 Charge (0 for EtMiss) More...
 
std::string Type
 'electron', 'muon', 'jet' or 'etmiss' More...
 

Detailed Description

A class to combine objects of different types.

This class is able to combine electrons, muons, jets and etmiss into one vector in case one wants to perform analysis steps that in fact do not distinguish between those. It saves PT, Eta, Phi, Charge (0 for etmiss), a function P4() that refers to a full TLorentzVector and a string "Type" which is either "electron", "muon", "jet" or "etmiss".x

Definition at line 16 of file FinalStateObject.h.

Constructor & Destructor Documentation

FinalStateObject::FinalStateObject ( Electron e)
inline

Constructor functions to cast object into general FinalStateObject.

The constructor needs an object to be put in which is either of type Electron, Muon, Jet or ETMiss. The members are then taken from the repectie member of the class.

Definition at line 22 of file FinalStateObject.h.

FinalStateObject::FinalStateObject ( Muon m)
inline

Definition at line 23 of file FinalStateObject.h.

FinalStateObject::FinalStateObject ( Jet j)
inline

Definition at line 24 of file FinalStateObject.h.

FinalStateObject::FinalStateObject ( ETMiss etm)
inline

Definition at line 25 of file FinalStateObject.h.

FinalStateObject::~FinalStateObject ( )

Standard Destructor.

Member Function Documentation

TLorentzVector FinalStateObject::P4 ( )
inline

returns a TLorentzVector of the full 4 momentum.

Definition at line 34 of file FinalStateObject.h.

Field Documentation

Float_t FinalStateObject::PT

Transverse Momentum.

Definition at line 29 of file FinalStateObject.h.

Float_t FinalStateObject::Eta

Pseudorapidity.

Definition at line 30 of file FinalStateObject.h.

Float_t FinalStateObject::Phi

Polar angle.

Definition at line 31 of file FinalStateObject.h.

Float_t FinalStateObject::Charge

Charge (0 for EtMiss)

Definition at line 32 of file FinalStateObject.h.

std::string FinalStateObject::Type

'electron', 'muon', 'jet' or 'etmiss'

Definition at line 33 of file FinalStateObject.h.


The documentation for this class was generated from the following file: