CMS 3D CMS Logo

PFClusterTimeSelector.h
Go to the documentation of this file.
1 #ifndef RecoParticleFlow_PFClusterProducer_PFClusterTimeSelector_h_
2 #define RecoParticleFlow_PFClusterProducer_PFClusterTimeSelector_h_
3 
4 // system include files
5 #include <memory>
6 #include <vector>
7 
8 // user include files
14 
17 
19 public:
21  ~PFClusterTimeSelector() override;
22 
23  void beginRun(const edm::Run& run, const edm::EventSetup& es) override;
24 
25  void produce(edm::Event& iEvent, const edm::EventSetup& iSetup) override;
26 
27 protected:
28  struct CutInfo {
29  double depth;
30  double minE;
31  double maxE;
32  double minTime;
33  double maxTime;
34  bool endcap;
35  };
36 
37  // ----------access to event data
39  std::vector<CutInfo> cutInfo_;
40 };
41 
44 
45 #endif
edm::Run
Definition: Run.h:45
edm::EDGetTokenT< reco::PFClusterCollection >
PFClusterTimeSelector::PFClusterTimeSelector
PFClusterTimeSelector(const edm::ParameterSet &)
Definition: PFClusterTimeSelector.cc:11
EDProducer.h
MakerMacros.h
PFClusterTimeSelector::produce
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
Definition: PFClusterTimeSelector.cc:29
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
PFClusterTimeSelector
Definition: PFClusterTimeSelector.h:18
PFCluster.h
PFClusterTimeSelector::cutInfo_
std::vector< CutInfo > cutInfo_
Definition: PFClusterTimeSelector.h:39
PFClusterTimeSelector::CutInfo::minE
double minE
Definition: PFClusterTimeSelector.h:30
edm::ParameterSet
Definition: ParameterSet.h:36
Event.h
PFClusterTimeSelector::CutInfo::endcap
bool endcap
Definition: PFClusterTimeSelector.h:34
PFClusterTimeSelector::beginRun
void beginRun(const edm::Run &run, const edm::EventSetup &es) override
Definition: PFClusterTimeSelector.cc:66
PFClusterTimeSelector::clusters_
edm::EDGetTokenT< reco::PFClusterCollection > clusters_
Definition: PFClusterTimeSelector.h:38
iEvent
int iEvent
Definition: GenABIO.cc:224
PFClusterFwd.h
edm::stream::EDProducer
Definition: EDProducer.h:38
edm::EventSetup
Definition: EventSetup.h:57
PFClusterTimeSelector::CutInfo::minTime
double minTime
Definition: PFClusterTimeSelector.h:32
writedatasetfile.run
run
Definition: writedatasetfile.py:27
Frameworkfwd.h
PFClusterTimeSelector::~PFClusterTimeSelector
~PFClusterTimeSelector() override
PFClusterTimeSelector::CutInfo
Definition: PFClusterTimeSelector.h:28
PFClusterTimeSelector::CutInfo::maxE
double maxE
Definition: PFClusterTimeSelector.h:31
PFClusterTimeSelector::CutInfo::depth
double depth
Definition: PFClusterTimeSelector.h:29
ParameterSet.h
edm::Event
Definition: Event.h:73
PFClusterTimeSelector::CutInfo::maxTime
double maxTime
Definition: PFClusterTimeSelector.h:33