CMS 3D CMS Logo

TFWLiteSelector.h
Go to the documentation of this file.
1 #ifndef FWCore_TFWLiteSelector_TFWLiteSelector_h
2 #define FWCore_TFWLiteSelector_TFWLiteSelector_h
3 // -*- C++ -*-
4 //
5 // Package: TFWLiteSelector
6 // Class : TFWLiteSelector
7 //
40 //
41 // Original Author: Chris Jones
42 // Created: Fri Jun 30 21:04:46 CDT 2006
43 //
44 
45 // system include files
46 #include <memory>
47 
48 class TList;
49 
50 // user include files
51 
54 
55 // forward declarations
56 template <class TWorker>
58 public:
60  ~TFWLiteSelector() override {}
61 
62  // ---------- const member functions ---------------------
63 
64  // ---------- static member functions --------------------
65 
66  // ---------- member functions ---------------------------
67 
68 private:
69  TFWLiteSelector(const TFWLiteSelector&); // stop default
70 
71  const TFWLiteSelector& operator=(const TFWLiteSelector&); // stop default
72 
73  void preProcessing(const TList* in, TList& out) override { worker_ = std::make_shared<TWorker>(in, out); }
74  void process(const edm::Event& iEvent) override { worker_->process(iEvent); }
75  void postProcessing(TList& out) override { worker_->postProcess(out); }
76 
77  // ---------- member data --------------------------------
79  ClassDefOverride(TFWLiteSelector, 2)
80 };
81 
82 #endif
TFWLiteSelectorBasic
Definition: TFWLiteSelectorBasic.h:42
propagate_const.h
TFWLiteSelector::worker_
edm::propagate_const< std::shared_ptr< TWorker > > worker_
Definition: TFWLiteSelector.h:78
TFWLiteSelectorBasic.h
edm::propagate_const
Definition: propagate_const.h:32
TFWLiteSelector::preProcessing
void preProcessing(const TList *in, TList &out) override
Definition: TFWLiteSelector.h:73
TFWLiteSelector::process
void process(const edm::Event &iEvent) override
Definition: TFWLiteSelector.h:74
recoMuon::in
Definition: RecoMuonEnumerators.h:6
iEvent
int iEvent
Definition: GenABIO.cc:224
TFWLiteSelector::TFWLiteSelector
TFWLiteSelector()
Definition: TFWLiteSelector.h:59
TFWLiteSelector::~TFWLiteSelector
~TFWLiteSelector() override
Definition: TFWLiteSelector.h:60
TFWLiteSelector::operator=
const TFWLiteSelector & operator=(const TFWLiteSelector &)
TFWLiteSelector
Definition: TFWLiteSelector.h:57
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31
TFWLiteSelector::postProcessing
void postProcessing(TList &out) override
Definition: TFWLiteSelector.h:75
edm::Event
Definition: Event.h:73