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
27 
28 // forward declarations
29 class TFile;
30 class TList;
31 class TTree;
32 
33 namespace edm {
34  class Event;
35 
36  namespace root {
38  }
39 }
40 
41 class TFWLiteSelectorBasic : public TSelector
42 {
43 
44  public:
46  virtual ~TFWLiteSelectorBasic();
47 
48  // ---------- const member functions ---------------------
49 
50  // ---------- static member functions --------------------
51 
52  // ---------- member functions ---------------------------
58  virtual void begin(TList*& in) = 0;
59 
65  virtual void preProcessing(const TList* in, TList& out) = 0;
66 
70  virtual void process(const edm::Event& event) = 0;
71 
76  virtual void postProcessing(TList& out) =0;
77 
81  virtual void terminate(TList& out) = 0;
82 
83  private:
84  TFWLiteSelectorBasic(const TFWLiteSelectorBasic&); // stop default
85 
86  const TFWLiteSelectorBasic& operator=(const TFWLiteSelectorBasic&); // stop default
87 
88  virtual void Begin(TTree *) ;
89  virtual void SlaveBegin(TTree *);
90  virtual void Init(TTree*);
91  virtual Bool_t Notify() ;
92  virtual Bool_t Process(Long64_t /*entry*/) ;
93  virtual void SlaveTerminate();
94  virtual void Terminate();
95  virtual Int_t Version() const { return 1; }
96 
97  void setupNewFile(TFile&);
98  // ---------- member data --------------------------------
99  std::shared_ptr<edm::root::TFWLiteSelectorMembers> m_;
101 
102  ClassDef(TFWLiteSelectorBasic,2)
103 };
104 
105 
106 #endif
virtual void terminate(TList &out)=0
virtual void preProcessing(const TList *in, TList &out)=0
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
tuple out
Definition: dbtoconf.py:99
virtual void Init(TTree *)
std::shared_ptr< edm::root::TFWLiteSelectorMembers > m_
virtual void Begin(TTree *)
virtual void begin(TList *&in)=0
string root
initialization
Definition: dbtoconf.py:70