CMS 3D CMS Logo

FlagsCleanerECAL.h
Go to the documentation of this file.
1 #ifndef __FlagsCleanerECAL_H__
2 #define __FlagsCleanerECAL_H__
3 
5 
7 public:
9  FlagsCleanerECAL(const FlagsCleanerECAL&) = delete;
11 
12  // mark rechits which are flagged as one of the values provided in the vector
13  void clean(const edm::Handle<reco::PFRecHitCollection>& input, std::vector<bool>& mask) override;
14 
15 private:
16  std::vector<int> v_chstatus_excl_; // list of rechit status flags to be excluded from seeding
17  bool checkFlags(const reco::PFRecHit& hit);
18 };
19 
21 
22 #endif
input
static const std::string input
Definition: EdmProvDump.cc:48
edm::Handle< reco::PFRecHitCollection >
DEFINE_EDM_PLUGIN
#define DEFINE_EDM_PLUGIN(factory, type, name)
Definition: PluginFactory.h:124
FlagsCleanerECAL::operator=
FlagsCleanerECAL & operator=(const FlagsCleanerECAL &)=delete
RecHitTopologicalCleanerBase.h
FlagsCleanerECAL
Definition: FlagsCleanerECAL.h:6
edm::ParameterSet
Definition: ParameterSet.h:47
edmplugin::PluginFactory
Definition: PluginFactory.h:34
FlagsCleanerECAL::FlagsCleanerECAL
FlagsCleanerECAL(const edm::ParameterSet &conf)
Definition: FlagsCleanerECAL.cc:5
FlagsCleanerECAL::v_chstatus_excl_
std::vector< int > v_chstatus_excl_
Definition: FlagsCleanerECAL.h:16
FlagsCleanerECAL::clean
void clean(const edm::Handle< reco::PFRecHitCollection > &input, std::vector< bool > &mask) override
Definition: FlagsCleanerECAL.cc:10
reco::PFRecHit
Particle flow rechit (rechit + geometry and topology information). See clustering algorithm in PFClus...
Definition: PFRecHit.h:31
RecHitTopologicalCleanerBase
Definition: RecHitTopologicalCleanerBase.h:12
hit
Definition: SiStripHitEffFromCalibTree.cc:88
FlagsCleanerECAL::checkFlags
bool checkFlags(const reco::PFRecHit &hit)
Definition: FlagsCleanerECAL.cc:23