test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalRecHitWorkerRecover.h
Go to the documentation of this file.
1 #ifndef RecoLocalCalo_EcalRecProducers_EcalRecHitWorkerRecover_hh
2 #define RecoLocalCalo_EcalRecProducers_EcalRecHitWorkerRecover_hh
3 
11 
13 #include <vector>
14 
16 
22 
27 
29 
31  public:
34 
35  void set(const edm::EventSetup& es);
36  bool run(const edm::Event& evt, const EcalUncalibratedRecHit& uncalibRH, EcalRecHitCollection & result);
37 
38  protected:
39 
41  float recCheckCalib(float energy, int ieta);
42  bool alreadyInserted( const DetId & id );
43  float estimateEnergy(int ieta, EcalRecHitCollection* hits,
44  const std::set<DetId>& sId,
45  const std::vector<DetId>& vId);
46  bool checkChannelStatus(const DetId& id,
47  const std::vector<int>& statusestoexclude);
48 
50 
51  // isolated dead channels
55 
56 
60 
67 
68  // list of channel statuses for which recovery in EE should
69  // not be attempted
70  std::vector<int> dbStatusToBeExcludedEE_;
71  std::vector<int> dbStatusToBeExcludedEB_;
72 
73  // dead FE
80 
82 
88 
90 
91  std::set<DetId> recoveredDetIds_EB_;
92  std::set<DetId> recoveredDetIds_EE_;
93 
95 
98 
99 };
100 
101 #endif
bool alreadyInserted(const DetId &id)
EcalDeadChannelRecoveryAlgos< EEDetId > eeDeadChannelCorrector
std::vector< int > dbStatusToBeExcludedEE_
edm::ESHandle< CaloTopology > caloTopology_
float recCheckCalib(float energy, int ieta)
const CaloSubdetectorGeometry * eeGeom_
tuple result
Definition: mps_fire.py:84
void insertRecHit(const EcalRecHit &hit, EcalRecHitCollection &collection)
edm::ESHandle< CaloSubdetectorGeometry > pEEGeom_
edm::ESHandle< EcalTrigTowerConstituentsMap > ttMap_
edm::ESHandle< CaloSubdetectorGeometry > pEBGeom_
float estimateEnergy(int ieta, EcalRecHitCollection *hits, const std::set< DetId > &sId, const std::vector< DetId > &vId)
const CaloSubdetectorGeometry * ebGeom_
Definition: DetId.h:18
edm::EDGetTokenT< EcalTrigPrimDigiCollection > tpDigiToken_
std::set< DetId > recoveredDetIds_EE_
EcalRecHitSimpleAlgo * rechitMaker_
void set(const edm::EventSetup &es)
EcalRecHitWorkerRecover(const edm::ParameterSet &, edm::ConsumesCollector &c)
edm::ESHandle< CaloGeometry > caloGeometry_
std::vector< int > dbStatusToBeExcludedEB_
EcalDeadChannelRecoveryAlgos< EBDetId > ebDeadChannelCorrector
edm::ESHandle< EcalChannelStatus > chStatus_
edm::ESHandle< EcalLaserDbService > laser
const EcalElectronicsMapping * ecalMapping_
edm::ESHandle< EcalElectronicsMapping > pEcalMapping_
bool run(const edm::Event &evt, const EcalUncalibratedRecHit &uncalibRH, EcalRecHitCollection &result)
bool checkChannelStatus(const DetId &id, const std::vector< int > &statusestoexclude)
std::set< DetId > recoveredDetIds_EB_