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  * $Date: 2008/10/03 08:34:49 $
8  * $Revision: 1.2 $
9  * \author S. Bolognesi
10  */
11 
15 
16 #include <string>
17 
18 namespace edm {
19  class ParameterSet;
20  class Event;
21  class EventSetup;
22 }
23 
24 class DTT0;
25 class DTDeadFlag;
26 
28 public:
30  DTTPDeadWriter(const edm::ParameterSet& pset);
31 
33  virtual ~DTTPDeadWriter();
34 
35  // Operations
36 
38  virtual void beginRun(const edm::Run&, const edm::EventSetup& setup);
39 
41  virtual void analyze(const edm::Event & event, const edm::EventSetup& eventSetup);
42 
44  virtual void endJob();
45 
46 
47 protected:
48 
49 private:
50  // Debug flag
51  bool debug;
52 
53  //The map of t0 to be read from event
54  const DTT0* tZeroMap;
55 
56  // The object to be written to DB
58 
59  //The DTGeometry
61 };
62 #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:52
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:33