test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTLocalTriggerLutTask.h
Go to the documentation of this file.
1 #ifndef DTLocalTriggerLutTask_H
2 #define DTLocalTriggerLutTask_H
3 
4 /*
5  * \file DTLocalTriggerLutTask.h
6  *
7  * \author D. Fasanella - INFN Bologna
8  *
9 */
10 
16 
19 
21 
27 
30 
31 #include <vector>
32 #include <string>
33 #include <map>
34 
35 class DTGeometry;
36 class DTTrigGeomUtils;
37 class DTChamberId;
38 class L1MuDTChambPhDigi;
39 
40 
42 
43  friend class DTMonitorModule;
44 
45  public:
46 
49 
51  virtual ~DTLocalTriggerLutTask();
52 
54  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
55 
56  protected:
57 
59  void dqmBeginRun(const edm::Run& , const edm::EventSetup&);
60 
62  void searchDccBest(std::vector<L1MuDTChambPhDigi> const* trigs);
63 
65  void analyze(const edm::Event& e, const edm::EventSetup& c);
66 
68  void beginLuminosityBlock(const edm::LuminosityBlock& lumiSeg, const edm::EventSetup& context) ;
69 
70  private:
71 
74 
76  void bookHistos(DQMStore::IBooker & ibooker,DTChamberId chId);
77 
78  private :
79 
80  int nEvents;
81  int nLumis;
84 
88 
91 
92  int trigQualBest[6][5][13];
93  const L1MuDTChambPhDigi* trigBest[6][5][13];
94  bool track_ok[6][5][15]; // CB controlla se serve
95 
100 
101  std::map<uint32_t, std::map<std::string, MonitorElement*> > chHistos;
102  std::map<int, std::map<std::string, MonitorElement*> > whHistos;
103 
104 };
105 
106 #endif
107 
108 /* Local Variables: */
109 /* show-trailing-whitespace: t */
110 /* truncate-lines: t */
111 /* End: */
void bookHistos(DQMStore::IBooker &ibooker, DTChamberId chId)
Book histos.
std::map< int, std::map< std::string, MonitorElement * > > whHistos
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
std::string & topFolder()
Get the top folder.
DTLocalTriggerLutTask(const edm::ParameterSet &ps)
Constructor.
edm::ParameterSet parameters
edm::ESHandle< DTGeometry > muonGeom
edm::EDGetTokenT< DTRecSegment4DCollection > seg_Token_
virtual ~DTLocalTriggerLutTask()
Destructor.
edm::EDGetTokenT< L1MuDTChambPhContainer > dcc_Token_
void dqmBeginRun(const edm::Run &, const edm::EventSetup &)
BeginRun.
std::map< uint32_t, std::map< std::string, MonitorElement * > > chHistos
DTTrigGeomUtils * trigGeomUtils
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
bookHistograms
void beginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context)
To reset the MEs.
const L1MuDTChambPhDigi * trigBest[6][5][13]
Definition: Run.h:43
void searchDccBest(std::vector< L1MuDTChambPhDigi > const *trigs)
Find best (highest qual) TM trigger segments.