CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
12 // system include files
13 #include <string>
14 
15 // user include files
18 
22 //
23 // class declaration
24 //
25 
26 
27 class DQMStore;
28 class MonitorElement;
29 class L1MuDTTrackCand;
30 class L1MuRegionalCand;
31 
32 class L1TDTTF : public edm::EDAnalyzer {
33 
34  public:
35 
36  // Constructor
37  L1TDTTF(const edm::ParameterSet& ps);
38 
39  // Destructor
40  virtual ~L1TDTTF();
41 
42  protected:
43  // Analyze
44  void analyze(const edm::Event& e, const edm::EventSetup& c);
45 
46  // BeginJob
47  void beginJob(void);
48 
49  // EndJob
50  void endJob(void);
51 
53  edm::EventSetup const& context){};
54 
56  edm::EventSetup const& context){};
57 
58  private:
59 
60 
61  void fillMEs( std::vector<L1MuDTTrackCand> const* trackContainer,
62  std::vector<L1MuRegionalCand>& gmtDttfCands );
63  void setWheelLabel(MonitorElement *me);
64  void setQualLabel(MonitorElement *me, int axis);
65  void bookEta( int wh, int & nbins, float & start, float & stop );
66 
67  // ----------member data ---------------------------
72  bool online_;
73  bool verbose_;
75  std::string outputFile_; //file name for ROOT ouput
77 
88 
98 
101 
105  // MonitorElement* dttf_gmt_ghost_phys;
106 
107  int nev_; // Number of events processed
108  int nev_dttf_; //Number of events with at least one DTTF track
109  int nev_dttf_track2_; //Number of events with at least one DTTF 2nd track
110  int numTracks[6][12];
111 
112  //define Token(-s)
116 };
117 
118 #endif
std::string l1tsubsystemfolder_
Definition: L1TDTTF.h:71
edm::InputTag trackInputTag_
Definition: L1TDTTF.h:76
tuple start
Check for commandline option errors.
Definition: dqm_diff.py:58
MonitorElement * dttf_phi_eta_coarse_wheel[6]
Definition: L1TDTTF.h:82
edm::InputTag muonCollectionLabel_
Definition: L1TDTTF.h:70
virtual ~L1TDTTF()
Definition: L1TDTTF.cc:247
void bookEta(int wh, int &nbins, float &start, float &stop)
Definition: L1TDTTF.cc:1045
MonitorElement * dttf_nTracksPerEvent_wheel[6]
Definition: L1TDTTF.h:78
MonitorElement * dttf_phi_eta_fine_wheel[6]
Definition: L1TDTTF.h:81
void setWheelLabel(MonitorElement *me)
Definition: L1TDTTF.cc:1031
MonitorElement * dttf_gmt_match
Definition: L1TDTTF.h:102
MonitorElement * dttf_phi_wheel_2ndTrack[6]
Definition: L1TDTTF.h:85
MonitorElement * dttf_nTracksPerEvent_integ
Definition: L1TDTTF.h:99
DQMStore * dbe_
Definition: L1TDTTF.h:74
MonitorElement * dttf_pt_wheel_2ndTrack[6]
Definition: L1TDTTF.h:86
MonitorElement * dttf_eta_wheel_2ndTrack[6]
Definition: L1TDTTF.h:84
edm::InputTag gmtSource_
Definition: L1TDTTF.h:69
std::string outputFile_
Definition: L1TDTTF.h:75
edm::EDGetTokenT< L1MuGMTReadoutCollection > gmtSourceToken_
Definition: L1TDTTF.h:115
MonitorElement * dttf_qual[6][12]
Definition: L1TDTTF.h:92
edm::InputTag dttpgSource_
Definition: L1TDTTF.h:68
MonitorElement * dttf_quality_wheel_2ndTrack[6]
Definition: L1TDTTF.h:79
MonitorElement * dttf_phi[6][12]
Definition: L1TDTTF.h:95
edm::EDGetTokenT< L1MuDTTrackContainer > trackInputToken_
Definition: L1TDTTF.h:113
void endJob(void)
Definition: L1TDTTF.cc:593
void beginJob(void)
Definition: L1TDTTF.cc:255
void fillMEs(std::vector< L1MuDTTrackCand > const *trackContainer, std::vector< L1MuRegionalCand > &gmtDttfCands)
Definition: L1TDTTF.cc:817
MonitorElement * dttf_gmt_missed
Definition: L1TDTTF.h:103
MonitorElement * dttf_quality_summary_wheel_2ndTrack[6]
Definition: L1TDTTF.h:80
MonitorElement * dttf_eta_fine_fraction[6][12]
Definition: L1TDTTF.h:93
MonitorElement * dttf_bx[6][12]
Definition: L1TDTTF.h:90
int nev_dttf_track2_
Definition: L1TDTTF.h:109
int numTracks[6][12]
Definition: L1TDTTF.h:110
bool verbose_
Definition: L1TDTTF.h:73
MonitorElement * dttf_gmt_ghost
Definition: L1TDTTF.h:104
edm::EDGetTokenT< reco::MuonCollection > muonCollectionToken_
Definition: L1TDTTF.h:114
MonitorElement * dttf_bx_2ndTrack[6][12]
Definition: L1TDTTF.h:91
int nev_dttf_
Definition: L1TDTTF.h:108
void beginLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &context)
Definition: L1TDTTF.h:52
MonitorElement * dttf_q_wheel_2ndTrack[6]
Definition: L1TDTTF.h:87
MonitorElement * dttf_eta[6][12]
Definition: L1TDTTF.h:94
bool online_
Definition: L1TDTTF.h:72
MonitorElement * dttf_nTracksPerEv[6][12]
Definition: L1TDTTF.h:89
void analyze(const edm::Event &e, const edm::EventSetup &c)
Definition: L1TDTTF.cc:611
MonitorElement * dttf_pt[6][12]
Definition: L1TDTTF.h:96
MonitorElement * dttf_phi_eta_wheel_2ndTrack[6]
Definition: L1TDTTF.h:83
MonitorElement * dttf_spare
Definition: L1TDTTF.h:100
int nev_
Definition: L1TDTTF.h:107
MonitorElement * dttf_q[6][12]
Definition: L1TDTTF.h:97
void setQualLabel(MonitorElement *me, int axis)
Definition: L1TDTTF.cc:1016
L1TDTTF(const edm::ParameterSet &ps)
base services
Definition: L1TDTTF.cc:197
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &context)
Definition: L1TDTTF.h:55