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
FlagsCleanerECAL(const edm::ParameterSet &conf)
void clean(const edm::Handle< reco::PFRecHitCollection > &input, std::vector< bool > &mask) override
FlagsCleanerECAL & operator=(const FlagsCleanerECAL &)=delete
std::vector< int > v_chstatus_excl_
static std::string const input
Definition: EdmProvDump.cc:48
Particle flow rechit (rechit + geometry and topology information). See clustering algorithm in PFClus...
Definition: PFRecHit.h:31
bool checkFlags(const reco::PFRecHit &hit)
#define DEFINE_EDM_PLUGIN(factory, type, name)