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 
14 
16 #include <vector>
17 
19 
25 
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  std::set<DetId> sId,
45  std::vector<DetId> vId);
46  bool checkChannelStatus(const DetId& id,
47  const std::vector<int>& statusestoexclude);
48 
50 
51  // isolated dead channels
55 
56 
58  std::string singleRecoveryMethod_;
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 };
96 
97 #endif
bool alreadyInserted(const DetId &id)
std::vector< int > dbStatusToBeExcludedEE_
edm::ESHandle< CaloTopology > caloTopology_
float recCheckCalib(float energy, int ieta)
const CaloSubdetectorGeometry * eeGeom_
void insertRecHit(const EcalRecHit &hit, EcalRecHitCollection &collection)
edm::ESHandle< CaloSubdetectorGeometry > pEEGeom_
edm::ESHandle< EcalTrigTowerConstituentsMap > ttMap_
tuple result
Definition: query.py:137
EcalRecHitWorkerRecover(const edm::ParameterSet &)
edm::ESHandle< CaloSubdetectorGeometry > pEBGeom_
const CaloSubdetectorGeometry * ebGeom_
float estimateEnergy(int ieta, EcalRecHitCollection *hits, std::set< DetId > sId, std::vector< DetId > vId)
Definition: DetId.h:20
std::set< DetId > recoveredDetIds_EE_
EcalRecHitSimpleAlgo * rechitMaker_
void set(const edm::EventSetup &es)
edm::ESHandle< CaloGeometry > caloGeometry_
std::vector< int > dbStatusToBeExcludedEB_
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_