File indexing completed on 2024-04-06 12:19:34
0001
0002 #ifndef jhugon_TrackHistogramList_h
0003 #define jhugon_TrackHistogramList_h
0004
0005 #include <vector>
0006 #include <string>
0007
0008 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0009 #include "FWCore/ServiceRegistry/interface/Service.h"
0010 #include "CommonTools/UtilAlgos/interface/TFileService.h"
0011 #include <TF1.h>
0012 #include <TH2.h>
0013 namespace csctf_analysis {
0014 class TrackHistogramList {
0015 public:
0016 TrackHistogramList(const std::string dirname, const edm::ParameterSet *parameters);
0017 TH2F *SimPt_vs_TFPt_FWD;
0018 TH2F *SimPt_vs_TFPt_DT;
0019 TH1F *matchedRefPt_FWD;
0020 TH1F *matchedRefPt_DT;
0021 TH1F *modeOcc, *modeOccDT, *modeOccCSCOnly, *modeOccOverlap, *modeOccHighEta;
0022 TH1F *BX;
0023 TH1F *FR;
0024 TH1F *Eta, *signedEta, *Phi, *Phi_mod_10_endcap1, *Phi_mod_10_endcap2, *Pt, *Pz, *P, *Quality, *Radius;
0025 TH1F *matchPhi, *matchPhi_mod_10_Q3_endcap1, *matchPhi_mod_10_Q2_endcap1, *matchPhi_mod_10_Q3_endcap2,
0026 *matchPhi_mod_10_Q2_endcap2;
0027 TH1F *matchEta, *signedMatchEta, *matchPt, *matchRadius;
0028 TH1F *EtaQ3, *EtaQ2, *EtaQ1;
0029 TH1F *signedEtaQ3, *signedEtaQ2, *signedEtaQ1;
0030 TH1F *PhiQ3, *PhiQ2, *PhiQ1;
0031 TH1F *PtQ3, *PtQ2, *PtQ1;
0032 TH1F *ghostPhi, *ghostEta, *ghostSignedEta, *ghostPt, *ghostRadius;
0033 TH1F *ghostEtaQ3, *ghostEtaQ2, *ghostEtaQ1;
0034 TH1F *ghostSignedEtaQ3, *ghostSignedEtaQ2, *ghostSignedEtaQ1;
0035 TH1F *ghostPhiQ3, *ghostPhiQ2, *ghostPhiQ1;
0036 TH1F *ghostPtQ3, *ghostPtQ2, *ghostPtQ1;
0037 TH1F *ghostQuality;
0038 TH1F *matchTFPt10Overall, *matchTFPt12Overall, *matchTFPt16Overall, *matchTFPt20Overall, *matchTFPt40Overall,
0039 *matchTFPt60Overall;
0040 TH1F *matchTFPt10CSCOnly, *matchTFPt12CSCOnly, *matchTFPt16CSCOnly, *matchTFPt20CSCOnly, *matchTFPt40CSCOnly,
0041 *matchTFPt60CSCOnly;
0042 TH1F *matchTFPt10CSCRestricted, *matchTFPt12CSCRestricted, *matchTFPt16CSCRestricted, *matchTFPt20CSCRestricted,
0043 *matchTFPt40CSCRestricted, *matchTFPt60CSCRestricted;
0044 TH1F *matchTFPt10Overlap, *matchTFPt12Overlap, *matchTFPt16Overlap, *matchTFPt20Overlap, *matchTFPt40Overlap,
0045 *matchTFPt60Overlap;
0046 TH1F *matchTFPt10HighEta, *matchTFPt12HighEta, *matchTFPt16HighEta, *matchTFPt20HighEta, *matchTFPt40HighEta,
0047 *matchTFPt60HighEta;
0048 TH1F *matchTFPt10DTOnly, *matchTFPt12DTOnly, *matchTFPt16DTOnly, *matchTFPt20DTOnly, *matchTFPt40DTOnly,
0049 *matchTFPt60DTOnly;
0050 TH1F *matchPtCSCOnly, *matchPtOverlap, *matchPtHighEta, *matchPtOverall, *matchPtDTOnly, *matchPtCSCRestricted;
0051 TH1F *matchMode;
0052 TH1F *fidPtDen, *ptDenOverall, *ptDenCSCOnly, *ptDenOverlap, *ptDenHighEta, *ptDenDTOnly, *ptDenCSCRestricted;
0053 TH1F *rateHist;
0054 double getPtStep() { return ptStep; };
0055
0056 private:
0057 edm::Service<TFileService> fs;
0058 double ptStep;
0059 };
0060 }
0061 #endif