CMS 3D CMS Logo

CaloTowersCreator.h
Go to the documentation of this file.
1 #ifndef RECOLOCALCALO_CALOTOWERSCREATOR_CALOTOWERSCREATOR_H
2 #define RECOLOCALCALO_CALOTOWERSCREATOR_CALOTOWERSCREATOR_H 1
3 
9 
17 
23 // Now we allow for the creation of towers from
24 // rejected hists as well: requested by the MET group
25 // for studies of the effect of noise clean up.
26 
28 public:
29  explicit CaloTowersCreator(const edm::ParameterSet& ps);
30  ~CaloTowersCreator() override {}
31  void produce(edm::Event& e, const edm::EventSetup& c) override;
32  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
35 
36 private:
37  static const std::vector<double>& getGridValues();
38 
43  std::vector<edm::InputTag> ecalLabels_;
44  std::vector<edm::EDGetTokenT<EcalRecHitCollection> > toks_ecal_;
46 
55 
56  // more compact flags: all HCAL are combined
57 
60 
61  // flag to use recovered hits
64 
65  // paramaters for creating towers from rejected hits
66 
69  // for ECAL we have a list of problem flags
71 
72  // Flags wheteher to use recovered hits for production of
73  // "bad towers".
74  // If the recoverd hits were already used for good towers,
75  // these flags have no effect.
76  // Note: These flags have no effect on the default tower reconstruction.
79 
85 };
86 
87 #endif
Handle.h
CaloTowersCreator::hcalSevLevelWatcher_
edm::ESWatcher< HcalSeverityLevelComputerRcd > hcalSevLevelWatcher_
Definition: CaloTowersCreator.h:80
CaloTowersCreator::produce
void produce(edm::Event &e, const edm::EventSetup &c) override
Definition: CaloTowersCreator.cc:140
CaloTowersCreator::theRecoveredHcalHitsAreUsed_
bool theRecoveredHcalHitsAreUsed_
Definition: CaloTowersCreator.h:62
edm::ESWatcher< HcalSeverityLevelComputerRcd >
CaloTowersCreator::EEEScale
double EEEScale
Definition: CaloTowersCreator.h:33
EcalSeverityLevelAlgoRcd.h
CaloTowersCreator::ecalSevLevelWatcher_
edm::ESWatcher< EcalSeverityLevelAlgoRcd > ecalSevLevelWatcher_
Definition: CaloTowersCreator.h:83
edm::EDGetTokenT
Definition: EDGetToken.h:33
CaloTowersCreator::eScales_
EScales eScales_
Definition: CaloTowersCreator.h:84
CaloTowersCreator::useRejectedRecoveredEcalHits_
bool useRejectedRecoveredEcalHits_
Definition: CaloTowersCreator.h:78
CaloTowersCreator::tok_ecalSevAlgo_
edm::ESGetToken< EcalSeverityLevelAlgo, EcalSeverityLevelAlgoRcd > tok_ecalSevAlgo_
Definition: CaloTowersCreator.h:54
CaloTowersCreator::CaloTowersCreator
CaloTowersCreator(const edm::ParameterSet &ps)
Definition: CaloTowersCreator.cc:12
CaloTowersCreator::EBEScale
double EBEScale
Definition: CaloTowersCreator.h:33
CaloTowersCreator::getGridValues
static const std::vector< double > & getGridValues()
EDProducer.h
CaloTowersCreator::tok_topo_
edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > tok_topo_
Definition: CaloTowersCreator.h:48
CaloTowersCreationAlgo.h
CaloTowersCreator::algo_
CaloTowersCreationAlgo algo_
Definition: CaloTowersCreator.h:39
CaloTowersCreator::tok_hcalChStatus_
edm::ESGetToken< HcalChannelQuality, HcalChannelQualityRcd > tok_hcalChStatus_
Definition: CaloTowersCreator.h:52
CaloTowersCreator::tok_ecalChStatus_
edm::ESGetToken< EcalChannelStatus, EcalChannelStatusRcd > tok_ecalChStatus_
Definition: CaloTowersCreator.h:51
ESGetToken.h
CaloTowersCreator::HEDEScale
double HEDEScale
Definition: CaloTowersCreator.h:34
CaloTowersCreator::HESEScale
double HESEScale
Definition: CaloTowersCreator.h:33
CaloTowersCreator::theEcalSeveritiesToBeExcluded_
std::vector< int > theEcalSeveritiesToBeExcluded_
Definition: CaloTowersCreator.h:59
CaloTowersCreator::~CaloTowersCreator
~CaloTowersCreator() override
Definition: CaloTowersCreator.h:30
CaloTowersCreator::tok_hbhe_
edm::EDGetTokenT< HBHERecHitCollection > tok_hbhe_
Definition: CaloTowersCreator.h:40
CaloTowersCreator::tok_ctmap_
edm::ESGetToken< CaloTowerConstituentsMap, CaloGeometryRecord > tok_ctmap_
Definition: CaloTowersCreator.h:50
CaloTowersCreator::tok_ho_
edm::EDGetTokenT< HORecHitCollection > tok_ho_
Definition: CaloTowersCreator.h:41
CaloTowersCreator::HF1EScale
double HF1EScale
Definition: CaloTowersCreator.h:34
CaloTowersCreator::toks_ecal_
std::vector< edm::EDGetTokenT< EcalRecHitCollection > > toks_ecal_
Definition: CaloTowersCreator.h:44
CaloTowersCreator::useRejectedHitsOnly_
bool useRejectedHitsOnly_
Definition: CaloTowersCreator.h:67
CaloGeometryRecord.h
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
CaloTowersCreator::tok_hcalSevComputer_
edm::ESGetToken< HcalSeverityLevelComputer, HcalSeverityLevelComputerRcd > tok_hcalSevComputer_
Definition: CaloTowersCreator.h:53
CaloTowersCreator::tok_geom_
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > tok_geom_
Definition: CaloTowersCreator.h:47
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
edm::stream::EDProducer
Definition: EDProducer.h:38
IdealGeometryRecord.h
CaloTowersCreator::HBEScale
double HBEScale
Definition: CaloTowersCreator.h:33
edm::EventSetup
Definition: EventSetup.h:57
CaloTowersCreator::hcalChStatusWatcher_
edm::ESWatcher< HcalChannelQualityRcd > hcalChStatusWatcher_
Definition: CaloTowersCreator.h:81
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
CaloTowersCreator::useRejectedRecoveredHcalHits_
bool useRejectedRecoveredHcalHits_
Definition: CaloTowersCreator.h:77
edm::ESGetToken< CaloGeometry, CaloGeometryRecord >
CaloTowersCreator
Definition: CaloTowersCreator.h:27
CaloTowersCreator::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: CaloTowersCreator.cc:302
CaloTowersCreator::theHcalAcceptSeverityLevel_
unsigned int theHcalAcceptSeverityLevel_
Definition: CaloTowersCreator.h:58
CaloTowersCreator::caloTowerConstituentsWatcher_
edm::ESWatcher< IdealGeometryRecord > caloTowerConstituentsWatcher_
Definition: CaloTowersCreator.h:82
CaloTowersCreator::HF2EScale
double HF2EScale
Definition: CaloTowersCreator.h:34
CaloTowersCreator::theHcalAcceptSeverityLevelForRejectedHit_
unsigned int theHcalAcceptSeverityLevelForRejectedHit_
Definition: CaloTowersCreator.h:68
CaloTowersCreationAlgo
Definition: CaloTowersCreationAlgo.h:48
ESWatcher.h
CaloTowersCreator::allowMissingInputs_
bool allowMissingInputs_
Definition: CaloTowersCreator.h:45
CaloTowersCreator::tok_hf_
edm::EDGetTokenT< HFRecHitCollection > tok_hf_
Definition: CaloTowersCreator.h:42
EScales.h
EventSetup.h
EScales
Definition: EScales.h:6
CaloTowersCreator::theEcalSeveritiesToBeUsedInBadTowers_
std::vector< int > theEcalSeveritiesToBeUsedInBadTowers_
Definition: CaloTowersCreator.h:70
ParameterSet.h
edm::Event
Definition: Event.h:73
CaloTowersCreator::ecalLabels_
std::vector< edm::InputTag > ecalLabels_
Definition: CaloTowersCreator.h:43
CaloTowersCreator::HOEScale
double HOEScale
Definition: CaloTowersCreator.h:34
CaloTowersCreator::tok_cttopo_
edm::ESGetToken< CaloTowerTopology, HcalRecNumberingRecord > tok_cttopo_
Definition: CaloTowersCreator.h:49
CaloTowersCreator::theRecoveredEcalHitsAreUsed_
bool theRecoveredEcalHitsAreUsed_
Definition: CaloTowersCreator.h:63
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37