CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTTTrigOffsetCalibration.h
Go to the documentation of this file.
1 #ifndef DTTTrigOffsetCalibration_H
2 #define DTTTrigOffsetCalibration_H
3 
15 
16 #include <map>
17 
18 namespace edm {
19  class ParameterSet;
20  class Event;
21  class EventSetup;
22 }
23 
24 class DTChamberId;
25 class DTTtrig;
26 class TFile;
27 class TH1F;
28 
30 public:
31  // Constructor
33  // Destructor
34  virtual ~DTTTrigOffsetCalibration();
35 
36  void beginRun(const edm::Run& run, const edm::EventSetup& setup);
37  void analyze(const edm::Event& event, const edm::EventSetup& eventSetup);
38  void endJob();
39 
40 private:
41  typedef std::map<DTChamberId, std::vector<TH1F*> > ChamberHistosMap;
42  void bookHistos(DTChamberId);
43 
45 
48  std::string theCalibChamber_;
49  std::string dbLabel_;
50 
51  TFile* rootFile_;
54 };
55 #endif
56 
void beginRun(const edm::Run &run, const edm::EventSetup &setup)
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
void analyze(const edm::Event &event, const edm::EventSetup &eventSetup)
std::map< DTChamberId, std::vector< TH1F * > > ChamberHistosMap
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
DTTTrigOffsetCalibration(const edm::ParameterSet &pset)
Definition: Run.h:33