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 
28 
29 // DT trigger
32 
33 
34 #include <vector>
35 #include <string>
36 #include <map>
37 
38 class DTGeometry;
39 class DTChamberId;
40 class DTRecSegment4D;
41 class DTTTrigBaseSync;
42 class DTLocalTrigger;
43 class L1MuDTChambPhDigi;
44 class L1MuDTChambThDigi;
45 
46 
48 
49  friend class DTMonitorModule;
50 
51  public:
52 
55 
57  virtual ~DTLocalTriggerSynchTask();
58 
59  protected:
60 
61  // BeginJob
62  void beginJob();
63 
65  void bookHistos(const DTChamberId& dtCh );
66 
68  void analyze(const edm::Event& event, const edm::EventSetup& context);
69 
71  void beginRun(const edm::Run& run, const edm::EventSetup& context);
72 
74  void endJob(void);
75 
77 
78  private:
79 
80  int nevents;
81 
82  int phCodeBestDCC[6][5][13];
83  int phCodeBXDCC[6][5][13][3];
84  int phCodeBestDDU[6][5][13];
85  int thCodeBestDDU[6][5][13];
86  int segHitBest[6][5][13];
87 
88  float bxTime;
89  bool rangeInBX;
90  int nBXLow;
91  int nBXHigh;
92  float angleRange;
93  float minHitsPhi;
94  int fineDelay;
96 
98 
102  std::map<uint32_t, std::map<std::string, MonitorElement*> > triggerHistos;
104 
108 };
109 
110 #endif
111 
112 /* Local Variables: */
113 /* show-trailing-whitespace: t */
114 /* truncate-lines: t */
115 /* End: */
edm::EDGetTokenT< DTLocalTriggerCollection > ddu_Token_
void beginRun(const edm::Run &run, const edm::EventSetup &context)
Begin Run.
edm::ESHandle< DTGeometry > muonGeom
void analyze(const edm::Event &event, const edm::EventSetup &context)
Analyze.
virtual ~DTLocalTriggerSynchTask()
Destructor.
DTLocalTriggerSynchTask(const edm::ParameterSet &ps)
Constructor.
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_
edm::EDGetTokenT< L1MuDTChambPhContainer > dcc_Token_
std::map< uint32_t, std::map< std::string, MonitorElement * > > triggerHistos
Definition: Run.h:41
void bookHistos(const DTChamberId &dtCh)
Book the histograms.