CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TFWLiteSelectorBasic.h
Go to the documentation of this file.
1 #ifndef FWCore_TFWLiteSelector_TFWLiteSelectorBasic_h
2 #define FWCore_TFWLiteSelector_TFWLiteSelectorBasic_h
3 // -*- C++ -*-
4 //
5 // Package: TFWLiteSelector
6 // Class : TFWLiteSelectorBasic
7 //
17 //
18 // Original Author: Chris Jones
19 // Created: Tue Jun 27 16:37:27 EDT 2006
20 //
21 
22 // system include files
23 #include <memory>
24 #include "TSelector.h"
25 
26 // user include files
28 
29 // forward declarations
30 class TFile;
31 class TList;
32 class TTree;
33 
34 namespace edm {
35  class Event;
36 
37  namespace root {
39  }
40 }
41 
42 class TFWLiteSelectorBasic : public TSelector
43 {
44 
45  public:
47  virtual ~TFWLiteSelectorBasic();
48 
49  // ---------- const member functions ---------------------
50 
51  // ---------- static member functions --------------------
52 
53  // ---------- member functions ---------------------------
59  virtual void begin(TList*& in) = 0;
60 
66  virtual void preProcessing(const TList* in, TList& out) = 0;
67 
71  virtual void process(const edm::Event& event) = 0;
72 
77  virtual void postProcessing(TList& out) =0;
78 
82  virtual void terminate(TList& out) = 0;
83 
84  private:
85  TFWLiteSelectorBasic(const TFWLiteSelectorBasic&); // stop default
86 
87  const TFWLiteSelectorBasic& operator=(const TFWLiteSelectorBasic&); // stop default
88 
89  virtual void Begin(TTree *) ;
90  virtual void SlaveBegin(TTree *);
91  virtual void Init(TTree*);
92  virtual Bool_t Notify() ;
93  virtual Bool_t Process(Long64_t /*entry*/) ;
94  virtual void SlaveTerminate();
95  virtual void Terminate();
96  virtual Int_t Version() const { return 1; }
97 
98  void setupNewFile(TFile&);
99  // ---------- member data --------------------------------
102 
103  ClassDef(TFWLiteSelectorBasic,2)
104 };
105 
106 
107 #endif
virtual void terminate(TList &out)=0
virtual void preProcessing(const TList *in, TList &out)=0
edm::propagate_const< std::shared_ptr< edm::root::TFWLiteSelectorMembers > > m_
virtual Bool_t Process(Long64_t)
virtual Int_t Version() const
virtual void SlaveBegin(TTree *)
virtual void postProcessing(TList &out)=0
virtual void process(const edm::Event &event)=0
const TFWLiteSelectorBasic & operator=(const TFWLiteSelectorBasic &)
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 void Init(TTree *)
virtual void Begin(TTree *)
virtual void begin(TList *&in)=0