CMS 3D CMS Logo

L1TDTTF.h
Go to the documentation of this file.
1 #ifndef L1TDTTF_H
2 #define L1TDTTF_H
3 
4 /*
5  * \file L1TDTTF.h
6  *
7  * \author J. Berryhill
8  *
9  */
10 
11 // system include files
12 #include <string>
13 
14 // user include files
16 
20 //
21 // class declaration
22 //
25 
26 class L1MuDTTrackCand;
27 class L1MuRegionalCand;
28 
29 class L1TDTTF : public DQMEDAnalyzer {
30 public:
31  // Constructor
32  L1TDTTF(const edm::ParameterSet& ps);
33 
34  // Destructor
35  ~L1TDTTF() override;
36 
37 protected:
38  // Analyze
39  void analyze(const edm::Event& e, const edm::EventSetup& c) override;
40 
41  // BeginJob
42  void dqmBeginRun(edm::Run const&, edm::EventSetup const&) override;
43  void bookHistograms(DQMStore::IBooker& i, edm::Run const&, edm::EventSetup const&) override;
44 
45 private:
46  void fillMEs(std::vector<L1MuDTTrackCand> const* trackContainer, std::vector<L1MuRegionalCand>& gmtDttfCands);
48  void setQualLabel(MonitorElement* me, int axis);
49  void bookEta(int wh, int& nbins, float& start, float& stop);
50 
51  // ----------member data ---------------------------
56  bool online_;
57  bool verbose_;
58  std::string outputFile_; //file name for ROOT ouput
60 
71 
81 
84 
88 
89  // MonitorElement* dttf_gmt_ghost_phys;
90 
91  int nev_; // Number of events processed
92  int nev_dttf_; //Number of events with at least one DTTF track
93  int nev_dttf_track2_; //Number of events with at least one DTTF 2nd track
94  int numTracks[6][12];
95 
96  //define Token(-s)
100 };
101 
102 #endif
Definition: start.py:1
std::string l1tsubsystemfolder_
Definition: L1TDTTF.h:55
edm::InputTag trackInputTag_
Definition: L1TDTTF.h:59
MonitorElement * dttf_phi_eta_coarse_wheel[6]
Definition: L1TDTTF.h:65
edm::InputTag muonCollectionLabel_
Definition: L1TDTTF.h:54
void bookEta(int wh, int &nbins, float &start, float &stop)
Definition: L1TDTTF.cc:892
MonitorElement * dttf_nTracksPerEvent_wheel[6]
Definition: L1TDTTF.h:61
MonitorElement * dttf_phi_eta_fine_wheel[6]
Definition: L1TDTTF.h:64
void setWheelLabel(MonitorElement *me)
Definition: L1TDTTF.cc:881
MonitorElement * dttf_gmt_match
Definition: L1TDTTF.h:85
MonitorElement * dttf_phi_wheel_2ndTrack[6]
Definition: L1TDTTF.h:68
~L1TDTTF() override
Definition: L1TDTTF.cc:227
MonitorElement * dttf_nTracksPerEvent_integ
Definition: L1TDTTF.h:82
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Definition: L1TDTTF.cc:521
MonitorElement * dttf_pt_wheel_2ndTrack[6]
Definition: L1TDTTF.h:69
MonitorElement * dttf_eta_wheel_2ndTrack[6]
Definition: L1TDTTF.h:67
edm::InputTag gmtSource_
Definition: L1TDTTF.h:53
std::string outputFile_
Definition: L1TDTTF.h:58
edm::EDGetTokenT< L1MuGMTReadoutCollection > gmtSourceToken_
Definition: L1TDTTF.h:99
MonitorElement * dttf_qual[6][12]
Definition: L1TDTTF.h:75
void dqmBeginRun(edm::Run const &, edm::EventSetup const &) override
Definition: L1TDTTF.cc:232
edm::InputTag dttpgSource_
Definition: L1TDTTF.h:52
MonitorElement * dttf_quality_wheel_2ndTrack[6]
Definition: L1TDTTF.h:62
MonitorElement * dttf_phi[6][12]
Definition: L1TDTTF.h:78
edm::EDGetTokenT< L1MuDTTrackContainer > trackInputToken_
Definition: L1TDTTF.h:97
void fillMEs(std::vector< L1MuDTTrackCand > const *trackContainer, std::vector< L1MuRegionalCand > &gmtDttfCands)
Definition: L1TDTTF.cc:697
MonitorElement * dttf_gmt_missed
Definition: L1TDTTF.h:86
MonitorElement * dttf_quality_summary_wheel_2ndTrack[6]
Definition: L1TDTTF.h:63
MonitorElement * dttf_eta_fine_fraction[6][12]
Definition: L1TDTTF.h:76
MonitorElement * dttf_bx[6][12]
Definition: L1TDTTF.h:73
int nev_dttf_track2_
Definition: L1TDTTF.h:93
int numTracks[6][12]
Definition: L1TDTTF.h:94
bool verbose_
Definition: L1TDTTF.h:57
MonitorElement * dttf_gmt_ghost
Definition: L1TDTTF.h:87
edm::EDGetTokenT< reco::MuonCollection > muonCollectionToken_
Definition: L1TDTTF.h:98
MonitorElement * dttf_bx_2ndTrack[6][12]
Definition: L1TDTTF.h:74
int nev_dttf_
Definition: L1TDTTF.h:92
MonitorElement * dttf_q_wheel_2ndTrack[6]
Definition: L1TDTTF.h:70
MonitorElement * dttf_eta[6][12]
Definition: L1TDTTF.h:77
void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override
Definition: L1TDTTF.cc:237
bool online_
Definition: L1TDTTF.h:56
MonitorElement * dttf_nTracksPerEv[6][12]
Definition: L1TDTTF.h:72
MonitorElement * dttf_pt[6][12]
Definition: L1TDTTF.h:79
MonitorElement * dttf_phi_eta_wheel_2ndTrack[6]
Definition: L1TDTTF.h:66
MonitorElement * dttf_spare
Definition: L1TDTTF.h:83
int nev_
Definition: L1TDTTF.h:91
MonitorElement * dttf_q[6][12]
Definition: L1TDTTF.h:80
void setQualLabel(MonitorElement *me, int axis)
Definition: L1TDTTF.cc:868
L1TDTTF(const edm::ParameterSet &ps)
base services
Definition: L1TDTTF.cc:193
Definition: Run.h:45