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  * $Date: 2011/06/10 13:23:26 $
8  * $Revision: 1.1 $
9  * \author D. Fasanella - INFN Bologna
10  *
11 */
12 
18 
21 
23 
28 
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 
53  protected:
54 
55  // BeginJob
56  void beginJob();
57 
59  void beginRun(const edm::Run& , const edm::EventSetup&);
60 
62  void searchDccBest(std::vector<L1MuDTChambPhDigi>* 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 
71  void endJob(void);
72 
73  private:
74 
76  std::string& topFolder() { return baseFolder; }
77 
79  void bookHistos(DTChamberId chId);
80 
81  private :
82 
83  int nEvents;
84  int nLumis;
87 
88  std::string baseFolder;
91 
94 
95  int trigQualBest[6][5][13];
96  const L1MuDTChambPhDigi* trigBest[6][5][13];
97  bool track_ok[6][5][15]; // CB controlla se serve
98 
102  std::string theGeomLabel;
104 
105  std::map<uint32_t, std::map<std::string, MonitorElement*> > chHistos;
106  std::map<int, std::map<std::string, MonitorElement*> > whHistos;
107 
108 };
109 
110 #endif
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
virtual ~DTLocalTriggerLutTask()
Destructor.
void searchDccBest(std::vector< L1MuDTChambPhDigi > *trigs)
Find best (highest qual) DCC trigger segments.
std::map< uint32_t, std::map< std::string, MonitorElement * > > chHistos
DTTrigGeomUtils * trigGeomUtils
void beginRun(const edm::Run &, const edm::EventSetup &)
BeginRun.
void beginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context)
To reset the MEs.
void bookHistos(DTChamberId chId)
Book histos.
const L1MuDTChambPhDigi * trigBest[6][5][13]
Definition: Run.h:33