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