CMS 3D CMS Logo

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
edm::propagate_const< std::shared_ptr< edm::root::TFWLiteSelectorMembers > > m_
virtual Int_t Version() const
#define begin
Definition: vmac.h:30
HLT enums.
Definition: event.py:1