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  * $Date: 2010/11/01 11:27:53 $
8  * $Revision: 1.14 $
9  * \author J. Berryhill
10  *
11  */
12 
13 
14 // system include files
15 #include <string>
16 
17 // user include files
20 
21 //
22 // class declaration
23 //
24 
25 
26 class DQMStore;
27 class MonitorElement;
28 class L1MuDTTrackCand;
29 class L1MuRegionalCand;
30 
31 class L1TDTTF : public edm::EDAnalyzer {
32 
33  public:
34 
35  // Constructor
36  L1TDTTF(const edm::ParameterSet& ps);
37 
38  // Destructor
39  virtual ~L1TDTTF();
40 
41  protected:
42  // Analyze
43  void analyze(const edm::Event& e, const edm::EventSetup& c);
44 
45  // BeginJob
46  void beginJob(void);
47 
48  // EndJob
49  void endJob(void);
50 
52  edm::EventSetup const& context){};
53 
55  edm::EventSetup const& context){};
56 
57  private:
58 
59 
60  void fillMEs( std::vector<L1MuDTTrackCand> * trackContainer,
61  std::vector<L1MuRegionalCand> & gmtDttfCands );
62  void setWheelLabel(MonitorElement *me);
63  void setQualLabel(MonitorElement *me, int axis);
64  void bookEta( int wh, int & nbins, float & start, float & stop );
65 
66  // ----------member data ---------------------------
70  std::string l1tsubsystemfolder_;
71  bool online_;
72  bool verbose_;
74  std::string outputFile_; //file name for ROOT ouput
76 
87 
97 
100 
104  // MonitorElement* dttf_gmt_ghost_phys;
105 
106  int nev_; // Number of events processed
107  int nev_dttf_; //Number of events with at least one DTTF track
108  int nev_dttf_track2_; //Number of events with at least one DTTF 2nd track
109  int numTracks[6][12];
110 };
111 
112 #endif
std::string l1tsubsystemfolder_
Definition: L1TDTTF.h:70
edm::InputTag trackInputTag_
Definition: L1TDTTF.h:75
MonitorElement * dttf_phi_eta_coarse_wheel[6]
Definition: L1TDTTF.h:81
edm::InputTag muonCollectionLabel_
Definition: L1TDTTF.h:69
virtual ~L1TDTTF()
Definition: L1TDTTF.cc:251
void bookEta(int wh, int &nbins, float &start, float &stop)
Definition: L1TDTTF.cc:1050
MonitorElement * dttf_nTracksPerEvent_wheel[6]
Definition: L1TDTTF.h:77
MonitorElement * dttf_phi_eta_fine_wheel[6]
Definition: L1TDTTF.h:80
void setWheelLabel(MonitorElement *me)
Definition: L1TDTTF.cc:1036
MonitorElement * dttf_gmt_match
Definition: L1TDTTF.h:101
MonitorElement * dttf_phi_wheel_2ndTrack[6]
Definition: L1TDTTF.h:84
void fillMEs(std::vector< L1MuDTTrackCand > *trackContainer, std::vector< L1MuRegionalCand > &gmtDttfCands)
Definition: L1TDTTF.cc:822
MonitorElement * dttf_nTracksPerEvent_integ
Definition: L1TDTTF.h:98
DQMStore * dbe_
Definition: L1TDTTF.h:73
MonitorElement * dttf_pt_wheel_2ndTrack[6]
Definition: L1TDTTF.h:85
MonitorElement * dttf_eta_wheel_2ndTrack[6]
Definition: L1TDTTF.h:83
edm::InputTag gmtSource_
Definition: L1TDTTF.h:68
std::string outputFile_
Definition: L1TDTTF.h:74
MonitorElement * dttf_qual[6][12]
Definition: L1TDTTF.h:91
edm::InputTag dttpgSource_
Definition: L1TDTTF.h:67
MonitorElement * dttf_quality_wheel_2ndTrack[6]
Definition: L1TDTTF.h:78
MonitorElement * dttf_phi[6][12]
Definition: L1TDTTF.h:94
void endJob(void)
Definition: L1TDTTF.cc:597
void beginJob(void)
Definition: L1TDTTF.cc:259
MonitorElement * dttf_gmt_missed
Definition: L1TDTTF.h:102
MonitorElement * dttf_quality_summary_wheel_2ndTrack[6]
Definition: L1TDTTF.h:79
MonitorElement * dttf_eta_fine_fraction[6][12]
Definition: L1TDTTF.h:92
MonitorElement * dttf_bx[6][12]
Definition: L1TDTTF.h:89
int nev_dttf_track2_
Definition: L1TDTTF.h:108
int numTracks[6][12]
Definition: L1TDTTF.h:109
bool verbose_
Definition: L1TDTTF.h:72
MonitorElement * dttf_gmt_ghost
Definition: L1TDTTF.h:103
MonitorElement * dttf_bx_2ndTrack[6][12]
Definition: L1TDTTF.h:90
int nev_dttf_
Definition: L1TDTTF.h:107
void beginLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &context)
Definition: L1TDTTF.h:51
MonitorElement * dttf_q_wheel_2ndTrack[6]
Definition: L1TDTTF.h:86
MonitorElement * dttf_eta[6][12]
Definition: L1TDTTF.h:93
bool online_
Definition: L1TDTTF.h:71
MonitorElement * dttf_nTracksPerEv[6][12]
Definition: L1TDTTF.h:88
void analyze(const edm::Event &e, const edm::EventSetup &c)
Definition: L1TDTTF.cc:615
MonitorElement * dttf_pt[6][12]
Definition: L1TDTTF.h:95
MonitorElement * dttf_phi_eta_wheel_2ndTrack[6]
Definition: L1TDTTF.h:82
MonitorElement * dttf_spare
Definition: L1TDTTF.h:99
int nev_
Definition: L1TDTTF.h:106
MonitorElement * dttf_q[6][12]
Definition: L1TDTTF.h:96
void setQualLabel(MonitorElement *me, int axis)
Definition: L1TDTTF.cc:1021
L1TDTTF(const edm::ParameterSet &ps)
base services
Definition: L1TDTTF.cc:205
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &context)
Definition: L1TDTTF.h:54