CMS 3D CMS Logo

EcalTPSkimmer.h
Go to the documentation of this file.
1 #ifndef RecoLocalCalo_EcalRecProducers_EcalTPSkimmer_hh
2 #define RecoLocalCalo_EcalRecProducers_EcalTPSkimmer_hh
3 
16 
19 
21 
23 
24  public:
25  explicit EcalTPSkimmer(const edm::ParameterSet& ps);
26  ~EcalTPSkimmer() override;
27  void produce(edm::Event& evt, const edm::EventSetup& es) override;
28 
29  private:
30 
33 
35 
37  bool doBarrel_;
38  bool doEndcap_;
39 
40  std::vector<uint32_t> chStatusToSelectTP_;
42 
43  std::set<EcalTrigTowerDetId> insertedTP_;
44 
46 
48 };
49 
50 #endif
std::string tpCollection_
Definition: EcalTPSkimmer.h:34
std::vector< uint32_t > chStatusToSelectTP_
Definition: EcalTPSkimmer.h:40
EcalTPSkimmer(const edm::ParameterSet &ps)
void produce(edm::Event &evt, const edm::EventSetup &es) override
std::set< EcalTrigTowerDetId > insertedTP_
Definition: EcalTPSkimmer.h:43
unsigned ttId(DetId const &)
edm::ESHandle< EcalTrigTowerConstituentsMap > ttMap_
Definition: EcalTPSkimmer.h:41
std::string tpOutputCollection_
Definition: EcalTPSkimmer.h:47
~EcalTPSkimmer() override
bool alreadyInserted(EcalTrigTowerDetId ttId)
void insertTP(EcalTrigTowerDetId ttId, edm::Handle< EcalTrigPrimDigiCollection > &in, EcalTrigPrimDigiCollection &out)
edm::EDGetTokenT< EcalTrigPrimDigiCollection > tpInputToken_
Definition: EcalTPSkimmer.h:45