CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTTPGParamsWriter.h
Go to the documentation of this file.
1 #ifndef DTTPGParamsWriter_H
2 #define DTTPGParamsWriter_H
3 
4 /* Program to write DT TPG pedestals correction into DB
5 
6  * \author C. Battilana - CIEMAT
7  */
8 
11 #include <string>
12 #include <fstream>
13 
14 
15 namespace edm {
16  class ParameterSet;
17  class Event;
18  class EventSetup;
19 }
20 
21 class DTChamberId;
22 
24 public:
27 
29  virtual ~DTTPGParamsWriter();
30 
31  // Operations
32 
34  void analyze(const edm::Event & event, const edm::EventSetup& eventSetup);
35 
37  void endJob();
38 
39 private:
40 
41  void pharseLine(std::string &line, DTChamberId& chId, float &fine, int &coarse);
42 
43  bool debug_;
46 };
47 #endif
DTTPGParameters * phaseMap_
Definition: Event.h:16
void pharseLine(std::string &line, DTChamberId &chId, float &fine, int &coarse)
void analyze(const edm::Event &event, const edm::EventSetup &eventSetup)
Compute the ttrig by fiting the TB rising edge.
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
virtual ~DTTPGParamsWriter()
Destructor.
void endJob()
Write ttrig in the DB.
std::string inputFileName_
DTTPGParamsWriter(const edm::ParameterSet &pset)
Constructor.