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 
8 
15 
21 // Now we allow for the creation of towers from
22 // rejected hists as well: requested by the MET group
23 // for studies of the effect of noise clean up.
24 
26 public:
27  explicit CaloTowersCreator(const edm::ParameterSet& ps);
28  ~CaloTowersCreator() override {}
29  void produce(edm::Event& e, const edm::EventSetup& c) override;
30  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
33 
34 private:
35  static const std::vector<double>& getGridValues();
36 
41  std::vector<edm::InputTag> ecalLabels_;
42  std::vector<edm::EDGetTokenT<EcalRecHitCollection> > toks_ecal_;
44 
45  // more compact flags: all HCAL are combined
46 
49 
50  // flag to use recovered hits
53 
54  // paramaters for creating towers from rejected hits
55 
58  // for ECAL we have a list of problem flags
60 
61  // Flags wheteher to use recovered hits for production of
62  // "bad towers".
63  // If the recoverd hits were already used for good towers,
64  // these flags have no effect.
65  // Note: These flags have no effect on the default tower reconstruction.
68 
74 };
75 
76 #endif
Handle.h
CaloTowersCreator::hcalSevLevelWatcher_
edm::ESWatcher< HcalSeverityLevelComputerRcd > hcalSevLevelWatcher_
Definition: CaloTowersCreator.h:69
CaloTowersCreator::produce
void produce(edm::Event &e, const edm::EventSetup &c) override
Definition: CaloTowersCreator.cc:133
CaloTowersCreator::theRecoveredHcalHitsAreUsed_
bool theRecoveredHcalHitsAreUsed_
Definition: CaloTowersCreator.h:51
edm::ESWatcher< HcalSeverityLevelComputerRcd >
CaloTowersCreator::EEEScale
double EEEScale
Definition: CaloTowersCreator.h:31
EcalSeverityLevelAlgoRcd.h
CaloTowersCreator::ecalSevLevelWatcher_
edm::ESWatcher< EcalSeverityLevelAlgoRcd > ecalSevLevelWatcher_
Definition: CaloTowersCreator.h:72
edm::EDGetTokenT
Definition: EDGetToken.h:33
CaloTowersCreator::eScales_
EScales eScales_
Definition: CaloTowersCreator.h:73
CaloTowersCreator::useRejectedRecoveredEcalHits_
bool useRejectedRecoveredEcalHits_
Definition: CaloTowersCreator.h:67
CaloTowersCreator::CaloTowersCreator
CaloTowersCreator(const edm::ParameterSet &ps)
Definition: CaloTowersCreator.cc:13
CaloTowersCreator::EBEScale
double EBEScale
Definition: CaloTowersCreator.h:31
CaloTowersCreator::getGridValues
static const std::vector< double > & getGridValues()
EDProducer.h
CaloTowersCreationAlgo.h
CaloTowersCreator::algo_
CaloTowersCreationAlgo algo_
Definition: CaloTowersCreator.h:37
CaloTowersCreator::HEDEScale
double HEDEScale
Definition: CaloTowersCreator.h:32
CaloTowersCreator::HESEScale
double HESEScale
Definition: CaloTowersCreator.h:31
CaloTowersCreator::theEcalSeveritiesToBeExcluded_
std::vector< int > theEcalSeveritiesToBeExcluded_
Definition: CaloTowersCreator.h:48
CaloTowersCreator::~CaloTowersCreator
~CaloTowersCreator() override
Definition: CaloTowersCreator.h:28
CaloTowersCreator::tok_hbhe_
edm::EDGetTokenT< HBHERecHitCollection > tok_hbhe_
Definition: CaloTowersCreator.h:38
CaloTowersCreator::tok_ho_
edm::EDGetTokenT< HORecHitCollection > tok_ho_
Definition: CaloTowersCreator.h:39
CaloTowersCreator::HF1EScale
double HF1EScale
Definition: CaloTowersCreator.h:32
CaloTowersCreator::toks_ecal_
std::vector< edm::EDGetTokenT< EcalRecHitCollection > > toks_ecal_
Definition: CaloTowersCreator.h:42
CaloTowersCreator::useRejectedHitsOnly_
bool useRejectedHitsOnly_
Definition: CaloTowersCreator.h:56
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
edm::ParameterSet
Definition: ParameterSet.h:36
Event.h
edm::stream::EDProducer
Definition: EDProducer.h:38
IdealGeometryRecord.h
CaloTowersCreator::HBEScale
double HBEScale
Definition: CaloTowersCreator.h:31
edm::EventSetup
Definition: EventSetup.h:57
CaloTowersCreator::hcalChStatusWatcher_
edm::ESWatcher< HcalChannelQualityRcd > hcalChStatusWatcher_
Definition: CaloTowersCreator.h:70
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
CaloTowersCreator::useRejectedRecoveredHcalHits_
bool useRejectedRecoveredHcalHits_
Definition: CaloTowersCreator.h:66
CaloTowersCreator
Definition: CaloTowersCreator.h:25
CaloTowersCreator::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: CaloTowersCreator.cc:303
CaloTowersCreator::theHcalAcceptSeverityLevel_
unsigned int theHcalAcceptSeverityLevel_
Definition: CaloTowersCreator.h:47
CaloTowersCreator::caloTowerConstituentsWatcher_
edm::ESWatcher< IdealGeometryRecord > caloTowerConstituentsWatcher_
Definition: CaloTowersCreator.h:71
CaloTowersCreator::HF2EScale
double HF2EScale
Definition: CaloTowersCreator.h:32
CaloTowersCreator::theHcalAcceptSeverityLevelForRejectedHit_
unsigned int theHcalAcceptSeverityLevelForRejectedHit_
Definition: CaloTowersCreator.h:57
CaloTowersCreationAlgo
Definition: CaloTowersCreationAlgo.h:48
ESWatcher.h
CaloTowersCreator::allowMissingInputs_
bool allowMissingInputs_
Definition: CaloTowersCreator.h:43
CaloTowersCreator::tok_hf_
edm::EDGetTokenT< HFRecHitCollection > tok_hf_
Definition: CaloTowersCreator.h:40
EScales.h
EventSetup.h
EScales
Definition: EScales.h:6
CaloTowersCreator::theEcalSeveritiesToBeUsedInBadTowers_
std::vector< int > theEcalSeveritiesToBeUsedInBadTowers_
Definition: CaloTowersCreator.h:59
ParameterSet.h
edm::Event
Definition: Event.h:73
CaloTowersCreator::ecalLabels_
std::vector< edm::InputTag > ecalLabels_
Definition: CaloTowersCreator.h:41
CaloTowersCreator::HOEScale
double HOEScale
Definition: CaloTowersCreator.h:32
CaloTowersCreator::theRecoveredEcalHitsAreUsed_
bool theRecoveredEcalHitsAreUsed_
Definition: CaloTowersCreator.h:52
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37