CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
heppy::Megajet Class Reference

#include <Megajet.h>

Public Member Functions

std::vector< float > getAxis1 ()
 
std::vector< float > getAxis2 ()
 
 Megajet ()
 
 Megajet (std::vector< float > Px_vector, std::vector< float > Py_vector, std::vector< float > Pz_vector, std::vector< float > E_vector, int megajet_association_method)
 
 Megajet (std::vector< float > Px_vector, std::vector< float > Py_vector, std::vector< float > Pz_vector, std::vector< float > E_vector)
 
void SetMethod (int megajet_association_method)
 
 ~Megajet ()
 Destructor. More...
 

Private Member Functions

void Combine ()
 Combine the jets in all the possible pairs of hemispheres. More...
 
void CombineGeorgi ()
 Combining the jets in two hemispheres by maximizing (E1-Beta*m1^2/E1 + E2-Beta*m1^2/E2) More...
 
void CombineMinEnergyMass ()
 Combining the jets in two hemispheres by minimizing m1^2/E1 + m2^2/E2. More...
 
void CombineMinHT ()
 
void CombineMinMass ()
 

Private Attributes

std::vector< float > Axis1
 
std::vector< float > Axis2
 
std::vector< TLorentzVector > j1
 
std::vector< TLorentzVector > j2
 
std::vector< TLorentzVector > jIN
 
std::vector< TLorentzVector > jOUT
 
int megajet_meth
 
std::vector< float > Object_E
 
std::vector< float > Object_Px
 
std::vector< float > Object_Py
 
std::vector< float > Object_Pz
 
int status
 

Detailed Description

Definition at line 21 of file Megajet.h.

Constructor & Destructor Documentation

heppy::Megajet::Megajet ( )
inline

Definition at line 37 of file Megajet.h.

37 {};
heppy::Megajet::Megajet ( std::vector< float >  Px_vector,
std::vector< float >  Py_vector,
std::vector< float >  Pz_vector,
std::vector< float >  E_vector,
int  megajet_association_method 
)

Definition at line 12 of file Megajet.cc.

heppy::Megajet::Megajet ( std::vector< float >  Px_vector,
std::vector< float >  Py_vector,
std::vector< float >  Pz_vector,
std::vector< float >  E_vector 
)

Definition at line 25 of file Megajet.cc.

heppy::Megajet::~Megajet ( )
inline

Destructor.

Definition at line 44 of file Megajet.h.

44 {};

Member Function Documentation

void heppy::Megajet::Combine ( )
private

Combine the jets in all the possible pairs of hemispheres.

Definition at line 73 of file Megajet.cc.

void heppy::Megajet::CombineGeorgi ( )
private

Combining the jets in two hemispheres by maximizing (E1-Beta*m1^2/E1 + E2-Beta*m1^2/E2)

Definition at line 171 of file Megajet.cc.

void heppy::Megajet::CombineMinEnergyMass ( )
private

Combining the jets in two hemispheres by minimizing m1^2/E1 + m2^2/E2.

Definition at line 143 of file Megajet.cc.

void heppy::Megajet::CombineMinHT ( )
private

Combining the jets in two hemispheres minimizing the difference of HT for the two hemispheres

Definition at line 200 of file Megajet.cc.

void heppy::Megajet::CombineMinMass ( )
private

Combining the jets in two hemispheres minimizing the sum of the invariant masses of the two hemispheres

Definition at line 116 of file Megajet.cc.

vector< float > heppy::Megajet::getAxis1 ( )

Definition at line 36 of file Megajet.cc.

vector< float > heppy::Megajet::getAxis2 ( )

Definition at line 54 of file Megajet.cc.

void heppy::Megajet::SetMethod ( int  megajet_association_method)
inline

Definition at line 55 of file Megajet.h.

References megajet_meth, and status.

55  {
56  megajet_meth = megajet_association_method;
57  status = 0;
58  }
int megajet_meth
Definition: Megajet.h:89

Member Data Documentation

std::vector<float> heppy::Megajet::Axis1
private

Definition at line 85 of file Megajet.h.

std::vector<float> heppy::Megajet::Axis2
private

Definition at line 86 of file Megajet.h.

std::vector<TLorentzVector> heppy::Megajet::j1
private

Definition at line 94 of file Megajet.h.

std::vector<TLorentzVector> heppy::Megajet::j2
private

Definition at line 95 of file Megajet.h.

std::vector<TLorentzVector> heppy::Megajet::jIN
private

Definition at line 92 of file Megajet.h.

std::vector<TLorentzVector> heppy::Megajet::jOUT
private

Definition at line 93 of file Megajet.h.

int heppy::Megajet::megajet_meth
private

Definition at line 89 of file Megajet.h.

Referenced by SetMethod().

std::vector<float> heppy::Megajet::Object_E
private

Definition at line 83 of file Megajet.h.

std::vector<float> heppy::Megajet::Object_Px
private

Definition at line 80 of file Megajet.h.

std::vector<float> heppy::Megajet::Object_Py
private

Definition at line 81 of file Megajet.h.

std::vector<float> heppy::Megajet::Object_Pz
private

Definition at line 82 of file Megajet.h.

int heppy::Megajet::status
private

Definition at line 90 of file Megajet.h.

Referenced by SetMethod().