test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTLocalTriggerSynchTask.h
Go to the documentation of this file.
1 #ifndef DTLocalTriggerSynchTask_H
2 #define DTLocalTriggerSynchTask_H
3 
4 /*
5  * \file DTLocalTriggerSynchTask.h
6  *
7  * \author C. Battilana - CIEMAT
8  *
9 */
10 
16 
19 
21 
25 
27 
30 
31 // DT trigger
34 
35 
36 #include <vector>
37 #include <string>
38 #include <map>
39 
40 class DTGeometry;
41 class DTChamberId;
42 class DTRecSegment4D;
43 class DTTTrigBaseSync;
44 class DTLocalTrigger;
45 class L1MuDTChambPhDigi;
46 class L1MuDTChambThDigi;
47 
48 
50 
51  friend class DTMonitorModule;
52 
53  public:
54 
57 
59  virtual ~DTLocalTriggerSynchTask();
60 
61  protected:
62 
64  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
65 
67  void dqmBeginRun(const edm::Run& , const edm::EventSetup&);
68 
70  void bookHistos(DQMStore::IBooker &, const DTChamberId& dtCh );
71 
73  void analyze(const edm::Event& event, const edm::EventSetup& context);
74 
76 
77  private:
78 
79  int nevents;
80 
81  int phCodeBestTM[6][5][13];
82  int phCodeBXTM[6][5][13][3];
83  int phCodeBestDDU[6][5][13];
84  int thCodeBestDDU[6][5][13];
85  int segHitBest[6][5][13];
86 
87  float bxTime;
88  bool rangeInBX;
89  int nBXLow;
90  int nBXHigh;
91  float angleRange;
92  float minHitsPhi;
93  int fineDelay;
95 
97 
100  std::map<uint32_t, std::map<std::string, MonitorElement*> > triggerHistos;
102 
106 };
107 
108 #endif
109 
110 /* Local Variables: */
111 /* show-trailing-whitespace: t */
112 /* truncate-lines: t */
113 /* End: */
void dqmBeginRun(const edm::Run &, const edm::EventSetup &)
Beginrun.
edm::EDGetTokenT< DTLocalTriggerCollection > ddu_Token_
edm::ESHandle< DTGeometry > muonGeom
void analyze(const edm::Event &event, const edm::EventSetup &context)
Analyze.
virtual ~DTLocalTriggerSynchTask()
Destructor.
DTLocalTriggerSynchTask(const edm::ParameterSet &ps)
Constructor.
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Book the histograms.
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
edm::EDGetTokenT< DTRecSegment4DCollection > seg_Token_
std::map< uint32_t, std::map< std::string, MonitorElement * > > triggerHistos
void bookHistos(DQMStore::IBooker &, const DTChamberId &dtCh)
Book the histograms.
edm::EDGetTokenT< L1MuDTChambPhContainer > tm_Token_
Definition: Run.h:43