CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
IsoTrig.h
Go to the documentation of this file.
1 // system include files
2 #include <memory>
3 
4 // Root objects
5 #include "TROOT.h"
6 #include "TSystem.h"
7 #include "TFile.h"
8 #include "TProfile.h"
9 #include "TDirectory.h"
10 #include "TTree.h"
11 
12 // user include files
15 
24 
25 class IsoTrig : public edm::EDAnalyzer {
26 
27 public:
28  explicit IsoTrig(const edm::ParameterSet&);
29  ~IsoTrig();
30 
31  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
32  double dR(double eta1, double eta2, double phi1, double phi2);
33  // std::vector<double> var[3][3];
34 
35 private:
36  virtual void beginJob() ;
37  virtual void analyze(const edm::Event&, const edm::EventSetup&);
38  virtual void endJob() ;
39 
40  virtual void beginRun(edm::Run const&, edm::EventSetup const&);
41  virtual void endRun(edm::Run const&, edm::EventSetup const&);
42  virtual void beginLuminosityBlock(edm::LuminosityBlock const&, edm::EventSetup const&);
43  virtual void endLuminosityBlock(edm::LuminosityBlock const&, edm::EventSetup const&);
46  void fillCuts(int, double, double, double, math::XYZTLorentzVector&, int, bool);
53 
54  // ----------member data ---------------------------
57  int verbosity;
63  std::map<unsigned int, unsigned int> TrigList;
64  std::map<unsigned int, const std::pair<int, int>> TrigPreList;
65  bool changed;
69  TH1D *h_p[20], *h_pt[20], *h_eta[20], *h_phi[20];
70  TH1D *h_dEtaL1[2], *h_dPhiL1[2], *h_dRL1[2], *h_etaMipTracks[2][2];
71  TH1D *h_dEta[6], *h_dPhi[6], *h_dPt[6], *h_dP[6], *h_dinvPt[6], *h_mindR[6];
72  TH1D *h_eMip[2], *h_eMaxNearP[2], *h_eNeutIso[2], *h_etaCalibTracks[2][2];
74 };
double a_coneR
Definition: IsoTrig.h:60
TH1D * h_dPt[6]
Definition: IsoTrig.h:71
virtual void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
Definition: IsoTrig.cc:589
double dr_L1
Definition: IsoTrig.h:60
TH1D * h_phi[20]
Definition: IsoTrig.h:69
TH1D * h_dP[6]
Definition: IsoTrig.h:71
TH1D * h_dEta[6]
Definition: IsoTrig.h:71
TH1I * h_Pre
Definition: IsoTrig.h:67
TH1D * h_dEtaL1[2]
Definition: IsoTrig.h:70
std::string theTrackQuality
Definition: IsoTrig.h:59
TH1I * g_PreHLT
Definition: IsoTrig.h:73
bool changed
Definition: IsoTrig.h:65
TH1D * h_eMaxNearP[2]
Definition: IsoTrig.h:72
TH1I * h_HLT
Definition: IsoTrig.h:67
double dP(math::XYZTLorentzVector &, math::XYZTLorentzVector &)
Definition: IsoTrig.cc:664
TH1D * h_etaMipTracks[2][2]
Definition: IsoTrig.h:70
virtual void beginJob()
Definition: IsoTrig.cc:436
TH1D * h_dPhi[6]
Definition: IsoTrig.h:71
HLTConfigProvider hltConfig_
Definition: IsoTrig.h:55
double a_neutIsoR
Definition: IsoTrig.h:60
TH1D * h_dPhiL1[2]
Definition: IsoTrig.h:70
TH1D * h_L1ObjEnergy
Definition: IsoTrig.h:68
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:29
TH1D * h_etaCalibTracks[2][2]
Definition: IsoTrig.h:72
std::string Det
Definition: IsoTrig.h:56
double dinvPt(math::XYZTLorentzVector &, math::XYZTLorentzVector &)
Definition: IsoTrig.cc:668
int maxRunNo
Definition: IsoTrig.h:62
int verbosity
Definition: IsoTrig.h:57
void fillHist(int, math::XYZTLorentzVector &)
Definition: IsoTrig.cc:599
TH1I * h_nHLT
Definition: IsoTrig.h:67
double a_mipR
Definition: IsoTrig.h:60
TH1D * h_dinvPt[6]
Definition: IsoTrig.h:71
double cutNeutral
Definition: IsoTrig.h:61
TH1I * h_PreHLT
Definition: IsoTrig.h:67
double a_charIsoR
Definition: IsoTrig.h:60
TH1D * h_eMip[2]
Definition: IsoTrig.h:72
TH1D * h_eta[20]
Definition: IsoTrig.h:69
double cutCharge
Definition: IsoTrig.h:61
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Definition: IsoTrig.cc:116
IsoTrig(const edm::ParameterSet &)
Definition: IsoTrig.cc:58
virtual void endJob()
Definition: IsoTrig.cc:555
double a_neutR2
Definition: IsoTrig.h:61
TH1D * h_PreL1wt
Definition: IsoTrig.h:68
std::map< unsigned int, const std::pair< int, int > > TrigPreList
Definition: IsoTrig.h:64
double dPhi(math::XYZTLorentzVector &, math::XYZTLorentzVector &)
Definition: IsoTrig.cc:642
double dR(double eta1, double eta2, double phi1, double phi2)
TH1D * h_p[20]
Definition: IsoTrig.h:69
TH1D * h_eNeutIso[2]
Definition: IsoTrig.h:72
TH1I * h_PreL1
Definition: IsoTrig.h:67
int minRunNo
Definition: IsoTrig.h:62
TH1I * g_Pre
Definition: IsoTrig.h:73
virtual void endRun(edm::Run const &, edm::EventSetup const &)
Definition: IsoTrig.cc:584
double dEta(math::XYZTLorentzVector &, math::XYZTLorentzVector &)
Definition: IsoTrig.cc:638
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: IsoTrig.cc:591
spr::trackSelectionParameters selectionParameters
Definition: IsoTrig.h:58
TH1D * h_pt[20]
Definition: IsoTrig.h:69
std::map< unsigned int, unsigned int > TrigList
Definition: IsoTrig.h:63
double a_neutR1
Definition: IsoTrig.h:61
void fillDifferences(int, math::XYZTLorentzVector &, math::XYZTLorentzVector &, bool)
Definition: IsoTrig.cc:606
double dPt(math::XYZTLorentzVector &, math::XYZTLorentzVector &)
Definition: IsoTrig.cc:660
edm::Service< TFileService > fs
Definition: IsoTrig.h:66
TH1I * g_PreL1
Definition: IsoTrig.h:73
TH1I * h_nL3Objs
Definition: IsoTrig.h:67
~IsoTrig()
Definition: IsoTrig.cc:110
TH1D * h_dRL1[2]
Definition: IsoTrig.h:70
double cutMip
Definition: IsoTrig.h:61
TH1D * h_mindR[6]
Definition: IsoTrig.h:71
void fillCuts(int, double, double, double, math::XYZTLorentzVector &, int, bool)
Definition: IsoTrig.cc:624
Definition: Run.h:41
virtual void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)
Definition: IsoTrig.cc:587
TH1D * h_PreHLTwt
Definition: IsoTrig.h:68
virtual void beginRun(edm::Run const &, edm::EventSetup const &)
Definition: IsoTrig.cc:578
TH1I * g_Accepts
Definition: IsoTrig.h:73