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 
29 
30 // forward declarations
31 class TFile;
32 class TList;
33 class TTree;
34 
35 namespace edm {
36  class Event;
37 
38  namespace root {
39  struct TFWLiteSelectorMembers;
40  }
41 }
42 
43 class TFWLiteSelectorBasic : public TSelector
44 {
45 
46  public:
48  virtual ~TFWLiteSelectorBasic();
49 
50  // ---------- const member functions ---------------------
51 
52  // ---------- static member functions --------------------
53 
54  // ---------- member functions ---------------------------
60  virtual void begin(TList*& in) = 0;
61 
67  virtual void preProcessing(const TList* in, TList& out) = 0;
68 
72  virtual void process(const edm::Event& event) = 0;
73 
78  virtual void postProcessing(TList& out) =0;
79 
83  virtual void terminate(TList& out) = 0;
84 
85  private:
86  TFWLiteSelectorBasic(const TFWLiteSelectorBasic&); // stop default
87 
88  const TFWLiteSelectorBasic& operator=(const TFWLiteSelectorBasic&); // stop default
89 
90  virtual void Begin(TTree *) ;
91  virtual void SlaveBegin(TTree *);
92  virtual void Init(TTree*);
93  virtual Bool_t Notify() ;
94  virtual Bool_t Process(Long64_t /*entry*/) ;
95  virtual void SlaveTerminate();
96  virtual void Terminate();
97  virtual Int_t Version() const { return 1; }
98 
99  void setupNewFile(TFile&);
100  // ---------- member data --------------------------------
101  std::shared_ptr<edm::root::TFWLiteSelectorMembers> m_;
103 
104  ClassDef(TFWLiteSelectorBasic,2)
105 };
106 
107 
108 #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