CMS 3D CMS Logo

ZeeKinematicTools.h
Go to the documentation of this file.
1 #ifndef ZEEKINEMATICTOOLS_H
2 #define ZEEKINEMATICTOOLS_H
3 
4 #include <memory>
5 
6 // user include files
8 
23 #include "TFile.h"
24 #include "TH1.h"
25 #include "TH2.h"
26 
27 // class declaration
28 //
29 
31 public:
34 
35  static float calculateZMass_noTK(const std::pair<calib::CalibElectron*, calib::CalibElectron*>& aZCandidate);
36  static float calculateZMass_withTK(const std::pair<calib::CalibElectron*, calib::CalibElectron*>& aZCandidate);
37  static float calculateZEta(const std::pair<calib::CalibElectron*, calib::CalibElectron*>& aZCandidate);
38  static float calculateZTheta(const std::pair<calib::CalibElectron*, calib::CalibElectron*>& aZCandidate);
39  static float calculateZRapidity(const std::pair<calib::CalibElectron*, calib::CalibElectron*>& aZCandidate);
40  static float calculateZPhi(const std::pair<calib::CalibElectron*, calib::CalibElectron*>& aZCandidate);
41  static float calculateZPt(const std::pair<calib::CalibElectron*, calib::CalibElectron*>& aZCandidate);
42 
44  const std::pair<calib::CalibElectron*, calib::CalibElectron*>& aZCandidate,
45  float ele1EnergyCorrection,
46  float ele2EnergyCorrection);
48  const std::pair<calib::CalibElectron*, calib::CalibElectron*>& aZCandidate,
49  float ele1EnergyCorrection,
50  float ele2EnergyCorrection);
51 
52  static float cosThetaElectrons_SC(const std::pair<calib::CalibElectron*, calib::CalibElectron*>& aZCandidate,
53  float ele1EnergyCorrection,
54  float ele2EnergyCorrection);
55  static float cosThetaElectrons_TK(const std::pair<calib::CalibElectron*, calib::CalibElectron*>& aZCandidate,
56  float ele1EnergyCorrection,
57  float ele2EnergyCorrection);
58 };
59 #endif
static float calculateZPt(const std::pair< calib::CalibElectron *, calib::CalibElectron *> &aZCandidate)
static float calculateZMassWithCorrectedElectrons_withTK(const std::pair< calib::CalibElectron *, calib::CalibElectron *> &aZCandidate, float ele1EnergyCorrection, float ele2EnergyCorrection)
static float calculateZMass_noTK(const std::pair< calib::CalibElectron *, calib::CalibElectron *> &aZCandidate)
static float cosThetaElectrons_TK(const std::pair< calib::CalibElectron *, calib::CalibElectron *> &aZCandidate, float ele1EnergyCorrection, float ele2EnergyCorrection)
static float calculateZMass_withTK(const std::pair< calib::CalibElectron *, calib::CalibElectron *> &aZCandidate)
static float calculateZPhi(const std::pair< calib::CalibElectron *, calib::CalibElectron *> &aZCandidate)
static float calculateZEta(const std::pair< calib::CalibElectron *, calib::CalibElectron *> &aZCandidate)
static float calculateZMassWithCorrectedElectrons_noTK(const std::pair< calib::CalibElectron *, calib::CalibElectron *> &aZCandidate, float ele1EnergyCorrection, float ele2EnergyCorrection)
static float calculateZRapidity(const std::pair< calib::CalibElectron *, calib::CalibElectron *> &aZCandidate)
static float calculateZTheta(const std::pair< calib::CalibElectron *, calib::CalibElectron *> &aZCandidate)
static float cosThetaElectrons_SC(const std::pair< calib::CalibElectron *, calib::CalibElectron *> &aZCandidate, float ele1EnergyCorrection, float ele2EnergyCorrection)