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 } // 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
TFWLiteSelectorBasic::Terminate
void Terminate() override
Definition: TFWLiteSelectorBasic.cc:363
TFWLiteSelectorBasic::terminate
virtual void terminate(TList &out)=0
TFWLiteSelectorBasic::preProcessing
virtual void preProcessing(const TList *in, TList &out)=0
TFWLiteSelectorBasic::postProcessing
virtual void postProcessing(TList &out)=0
TFWLiteSelectorBasic
Definition: TFWLiteSelectorBasic.h:42
propagate_const.h
edm
HLT enums.
Definition: AlignableModifier.h:19
TFWLiteSelectorBasic::Process
Bool_t Process(Long64_t) override
Definition: TFWLiteSelectorBasic.cc:290
TFWLiteSelectorBasic::Version
Int_t Version() const override
Definition: TFWLiteSelectorBasic.h:94
TFWLiteSelectorBasic::SlaveBegin
void SlaveBegin(TTree *) override
Definition: TFWLiteSelectorBasic.cc:242
TFWLiteSelectorBasic::Notify
Bool_t Notify() override
Definition: TFWLiteSelectorBasic.cc:253
edm::propagate_const
Definition: propagate_const.h:32
edm::root::TFWLiteSelectorMembers
Definition: TFWLiteSelectorBasic.cc:141
TFWLiteSelectorBasic::process
virtual void process(const edm::Event &event)=0
Event
TFWLiteSelectorBasic::everythingOK_
bool everythingOK_
Definition: TFWLiteSelectorBasic.h:99
TFWLiteSelectorBasic::m_
edm::propagate_const< std::shared_ptr< edm::root::TFWLiteSelectorMembers > > m_
Definition: TFWLiteSelectorBasic.h:98
TFWLiteSelectorBasic::SlaveTerminate
void SlaveTerminate() override
Definition: TFWLiteSelectorBasic.cc:361
TFWLiteSelectorBasic::TFWLiteSelectorBasic
TFWLiteSelectorBasic()
Definition: TFWLiteSelectorBasic.cc:213
recoMuon::in
Definition: RecoMuonEnumerators.h:6
TFWLiteSelectorBasic::~TFWLiteSelectorBasic
~TFWLiteSelectorBasic() override
Definition: TFWLiteSelectorBasic.cc:220
root
Definition: RooFitFunction.h:10
TFWLiteSelectorBasic::setupNewFile
void setupNewFile(TFile &)
Definition: TFWLiteSelectorBasic.cc:365
TFWLiteSelectorBasic::Begin
void Begin(TTree *) override
Definition: TFWLiteSelectorBasic.cc:237
TFWLiteSelectorBasic::begin
virtual void begin(TList *&in)=0
TFWLiteSelectorBasic::operator=
const TFWLiteSelectorBasic & operator=(const TFWLiteSelectorBasic &)
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31
event
Definition: event.py:1
edm::Event
Definition: Event.h:73
TFWLiteSelectorBasic::Init
void Init(TTree *) override
Definition: TFWLiteSelectorBasic.cc:247
TSelector.h