CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
BasicAnalyzer.h
Go to the documentation of this file.
1 #ifndef PhysicsTools_UtilAlgos_interface_BasicAnalyzer_h
2 #define PhysicsTools_UtilAlgos_interface_BasicAnalyzer_h
3 
9 
41 namespace edm {
42 
43  class BasicAnalyzer {
44  public:
49  virtual ~BasicAnalyzer(){};
50 
58  virtual void beginJob()=0;
61  virtual void endJob() =0;
63  virtual void analyze(const edm::EventBase& event)=0;
64  };
65 
66 }
67 
68 #endif
tuple cfg
Definition: looper.py:237
BasicAnalyzer(const edm::ParameterSet &cfg, TFileDirectory &fileService, edm::ConsumesCollector &&iC)
Definition: BasicAnalyzer.h:47
virtual void beginJob()=0
everything that needs to be done before the event loop
virtual ~BasicAnalyzer()
default destructor
Definition: BasicAnalyzer.h:49
virtual void endJob()=0
everything that needs to be done after the event loop
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
edm::Service< TFileService > fileService
BasicAnalyzer(const edm::ParameterSet &cfg, TFileDirectory &fileService)
default constructor
Definition: BasicAnalyzer.h:46
virtual void analyze(const edm::EventBase &event)=0
everything that needs to be done during the event loop