CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 } // namespace edm
41 
42 class TFWLiteSelectorBasic : public TSelector {
43 public:
45  ~TFWLiteSelectorBasic() override;
46 
47  // ---------- const member functions ---------------------
48 
49  // ---------- static member functions --------------------
50 
51  // ---------- member functions ---------------------------
57  virtual void begin(TList*& in) = 0;
58 
64  virtual void preProcessing(const TList* in, TList& out) = 0;
65 
69  virtual void process(const edm::Event& event) = 0;
70 
75  virtual void postProcessing(TList& out) = 0;
76 
80  virtual void terminate(TList& out) = 0;
81 
82 private:
83  TFWLiteSelectorBasic(const TFWLiteSelectorBasic&); // stop default
84 
85  const TFWLiteSelectorBasic& operator=(const TFWLiteSelectorBasic&); // stop default
86 
87  void Begin(TTree*) override;
88  void SlaveBegin(TTree*) override;
89  void Init(TTree*) override;
90  Bool_t Notify() override;
91  Bool_t Process(Long64_t /*entry*/) override;
92  void SlaveTerminate() override;
93  void Terminate() override;
94  Int_t Version() const override { return 1; }
95 
96  void setupNewFile(TFile&);
97  // ---------- member data --------------------------------
100 
101  ClassDefOverride(TFWLiteSelectorBasic, 2)
102 };
103 
104 #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 void postProcessing(TList &out)=0
virtual void process(const edm::Event &event)=0
const TFWLiteSelectorBasic & operator=(const TFWLiteSelectorBasic &)
void SlaveTerminate() override
void SlaveBegin(TTree *) override
void Begin(TTree *) override
Bool_t Process(Long64_t) override
Int_t Version() const override
void Init(TTree *) override
virtual void begin(TList *&in)=0