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  * $Date: 2010/11/12 11:04:40 $
7  * $Revision: 1.1 $
8  * \author C. Battilana - CIEMAT
9  */
10 
13 #include <string>
14 #include <fstream>
15 
16 
17 namespace edm {
18  class ParameterSet;
19  class Event;
20  class EventSetup;
21 }
22 
23 class DTChamberId;
24 
26 public:
29 
31  virtual ~DTTPGParamsWriter();
32 
33  // Operations
34 
36  void analyze(const edm::Event & event, const edm::EventSetup& eventSetup);
37 
39  void endJob();
40 
41 private:
42 
43  void pharseLine(std::string &line, DTChamberId& chId, float &fine, int &coarse);
44 
45  bool debug_;
46  std::string inputFileName_;
48 };
49 #endif
DTTPGParameters * phaseMap_
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.