CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTTPDeadWriter.h
Go to the documentation of this file.
1 #ifndef DTTPDeadWriter_H
2 #define DTTPDeadWriter_H
3 
4 /* Class to find test-pulse dead channels from a t0 databases:
5  * wires without t0 value are tp-dead.
6 
7  * \author S. Bolognesi
8  */
9 
13 
14 #include <string>
15 
16 namespace edm {
17  class ParameterSet;
18  class Event;
19  class EventSetup;
20 }
21 
22 class DTT0;
23 class DTDeadFlag;
24 
26 public:
28  DTTPDeadWriter(const edm::ParameterSet& pset);
29 
31  virtual ~DTTPDeadWriter();
32 
33  // Operations
34 
36  virtual void beginRun(const edm::Run&, const edm::EventSetup& setup);
37 
39  virtual void analyze(const edm::Event & event, const edm::EventSetup& eventSetup);
40 
42  virtual void endJob();
43 
44 
45 protected:
46 
47 private:
48  // Debug flag
49  bool debug;
50 
51  //The map of t0 to be read from event
52  const DTT0* tZeroMap;
53 
54  // The object to be written to DB
56 
57  //The DTGeometry
59 };
60 #endif
const DTT0 * tZeroMap
virtual void analyze(const edm::Event &event, const edm::EventSetup &eventSetup)
Compute the ttrig by fiting the TB rising edge.
virtual void beginRun(const edm::Run &, const edm::EventSetup &setup)
Read t0 map from event.
DTDeadFlag * tpDeadList
Definition: DTT0.h:53
virtual void endJob()
Write ttrig in the DB.
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
DTTPDeadWriter(const edm::ParameterSet &pset)
Constructor.
edm::ESHandle< DTGeometry > muonGeom
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
virtual ~DTTPDeadWriter()
Destructor.
Definition: Run.h:41