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 
13 
14 #include <map>
15 
16 namespace edm {
17  class ParameterSet;
18  class Event;
19  class EventSetup;
20 }
21 
22 class DTChamberId;
23 class DTTtrig;
24 class TFile;
25 class TH1F;
26 
28 public:
29  // Constructor
31  // Destructor
32  virtual ~DTTTrigOffsetCalibration();
33 
34  void beginRun(const edm::Run& run, const edm::EventSetup& setup);
35  void analyze(const edm::Event& event, const edm::EventSetup& eventSetup);
36  void endJob();
37 
38 private:
39  typedef std::map<DTChamberId, std::vector<TH1F*> > ChamberHistosMap;
40  void bookHistos(DTChamberId);
41 
43 
48 
49  TFile* rootFile_;
52 };
53 #endif
54 
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:43