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 
17 
20 
25 
27 public:
28  explicit EcalTPSkimmer(const edm::ParameterSet& ps);
29  ~EcalTPSkimmer() override;
30  void produce(edm::Event& evt, const edm::EventSetup& es) override;
31 
32 private:
35 
37 
39  bool doBarrel_;
40  bool doEndcap_;
41 
42  std::vector<uint32_t> chStatusToSelectTP_;
46 
47  std::set<EcalTrigTowerDetId> insertedTP_;
48 
50 
52 };
53 
54 #endif
edm::ESGetToken< EcalChannelStatus, EcalChannelStatusRcd > chStatusToken_
Definition: EcalTPSkimmer.h:45
std::string tpCollection_
Definition: EcalTPSkimmer.h:36
std::vector< uint32_t > chStatusToSelectTP_
Definition: EcalTPSkimmer.h:42
EcalTPSkimmer(const edm::ParameterSet &ps)
void produce(edm::Event &evt, const edm::EventSetup &es) override
std::set< EcalTrigTowerDetId > insertedTP_
Definition: EcalTPSkimmer.h:47
unsigned ttId(DetId const &, EcalElectronicsMapping const *)
edm::ESGetToken< EcalTrigTowerConstituentsMap, IdealGeometryRecord > ttMapToken_
Definition: EcalTPSkimmer.h:44
edm::ESHandle< EcalTrigTowerConstituentsMap > ttMap_
Definition: EcalTPSkimmer.h:43
std::string tpOutputCollection_
Definition: EcalTPSkimmer.h:51
~EcalTPSkimmer() override
bool alreadyInserted(EcalTrigTowerDetId ttId)
void insertTP(EcalTrigTowerDetId ttId, edm::Handle< EcalTrigPrimDigiCollection > &in, EcalTrigPrimDigiCollection &out)
edm::EDGetTokenT< EcalTrigPrimDigiCollection > tpInputToken_
Definition: EcalTPSkimmer.h:49