CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes | Static Private Member Functions | Private Attributes
CaloTowersCreator Class Reference

#include <CaloTowersCreator.h>

Inheritance diagram for CaloTowersCreator:
edm::EDProducer edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

 CaloTowersCreator (const edm::ParameterSet &ps)
 
virtual void produce (edm::Event &e, const edm::EventSetup &c)
 
virtual ~CaloTowersCreator ()
 
- Public Member Functions inherited from edm::EDProducer
 EDProducer ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDProducer ()
 
- Public Member Functions inherited from edm::ProducerBase
 ProducerBase ()
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription
const &)> 
registrationCallback () const
 used by the fwk to register list of products More...
 
virtual ~ProducerBase ()
 
- Public Member Functions inherited from edm::EDConsumerBase
 EDConsumerBase ()
 
ProductHolderIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
std::vector
< ProductHolderIndexAndSkipBit >
const & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

Public Attributes

double EBEScale
 
double EEEScale
 
double HBEScale
 
double HEDEScale
 
double HESEScale
 
double HF1EScale
 
double HF2EScale
 
double HOEScale
 

Static Private Member Functions

static const std::vector
< double > & 
getGridValues ()
 

Private Attributes

CaloTowersCreationAlgo algo_
 
bool allowMissingInputs_
 
edm::ESWatcher
< IdealGeometryRecord
caloTowerConstituentsWatcher_
 
std::vector< edm::InputTagecalLabels_
 
edm::ESWatcher
< EcalSeverityLevelAlgoRcd
ecalSevLevelWatcher_
 
EScales eScales_
 
edm::ESWatcher
< HcalChannelQualityRcd
hcalChStatusWatcher_
 
edm::ESWatcher
< HcalSeverityLevelComputerRcd
hcalSevLevelWatcher_
 
std::vector< int > theEcalSeveritiesToBeExcluded_
 
std::vector< int > theEcalSeveritiesToBeUsedInBadTowers_
 
unsigned int theHcalAcceptSeverityLevel_
 
unsigned int theHcalAcceptSeverityLevelForRejectedHit_
 
bool theRecoveredEcalHitsAreUsed_
 
bool theRecoveredHcalHitsAreUsed_
 
edm::EDGetTokenT
< HBHERecHitCollection
tok_hbhe_
 
edm::EDGetTokenT
< HFRecHitCollection
tok_hf_
 
edm::EDGetTokenT
< HORecHitCollection
tok_ho_
 
std::vector< edm::EDGetTokenT
< EcalRecHitCollection > > 
toks_ecal_
 
bool useRejectedHitsOnly_
 
bool useRejectedRecoveredEcalHits_
 
bool useRejectedRecoveredHcalHits_
 

Additional Inherited Members

- Public Types inherited from edm::EDProducer
typedef EDProducer ModuleType
 
- Public Types inherited from edm::ProducerBase
typedef
ProductRegistryHelper::TypeLabelList 
TypeLabelList
 
- Static Public Member Functions inherited from edm::EDProducer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Protected Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Detailed Description

Original author: J. Mans - Minnesota

Definition at line 25 of file CaloTowersCreator.h.

Constructor & Destructor Documentation

CaloTowersCreator::CaloTowersCreator ( const edm::ParameterSet ps)
explicit

Definition at line 11 of file CaloTowersCreator.cc.

References EBEScale, EScales::EBScale, ecalLabels_, EEEScale, EScales::EEScale, eScales_, edm::ParameterSet::getParameter(), HBEScale, EScales::HBScale, HEDEScale, EScales::HEDScale, HESEScale, EScales::HESScale, HF1EScale, EScales::HF1Scale, HF2EScale, EScales::HF2Scale, HOEScale, EScales::HOScale, i, EScales::instanceLabel, theEcalSeveritiesToBeExcluded_, theEcalSeveritiesToBeUsedInBadTowers_, tok_hbhe_, tok_hf_, tok_ho_, and toks_ecal_.

11  :
12  algo_(conf.getParameter<double>("EBThreshold"),
13  conf.getParameter<double>("EEThreshold"),
14 
15  conf.getParameter<bool>("UseEtEBTreshold"),
16  conf.getParameter<bool>("UseEtEETreshold"),
17  conf.getParameter<bool>("UseSymEBTreshold"),
18  conf.getParameter<bool>("UseSymEETreshold"),
19 
20 
21  conf.getParameter<double>("HcalThreshold"),
22  conf.getParameter<double>("HBThreshold"),
23  conf.getParameter<double>("HESThreshold"),
24  conf.getParameter<double>("HEDThreshold"),
25  conf.getParameter<double>("HOThreshold0"),
26  conf.getParameter<double>("HOThresholdPlus1"),
27  conf.getParameter<double>("HOThresholdMinus1"),
28  conf.getParameter<double>("HOThresholdPlus2"),
29  conf.getParameter<double>("HOThresholdMinus2"),
30  conf.getParameter<double>("HF1Threshold"),
31  conf.getParameter<double>("HF2Threshold"),
32  conf.getParameter<std::vector<double> >("EBGrid"),
33  conf.getParameter<std::vector<double> >("EBWeights"),
34  conf.getParameter<std::vector<double> >("EEGrid"),
35  conf.getParameter<std::vector<double> >("EEWeights"),
36  conf.getParameter<std::vector<double> >("HBGrid"),
37  conf.getParameter<std::vector<double> >("HBWeights"),
38  conf.getParameter<std::vector<double> >("HESGrid"),
39  conf.getParameter<std::vector<double> >("HESWeights"),
40  conf.getParameter<std::vector<double> >("HEDGrid"),
41  conf.getParameter<std::vector<double> >("HEDWeights"),
42  conf.getParameter<std::vector<double> >("HOGrid"),
43  conf.getParameter<std::vector<double> >("HOWeights"),
44  conf.getParameter<std::vector<double> >("HF1Grid"),
45  conf.getParameter<std::vector<double> >("HF1Weights"),
46  conf.getParameter<std::vector<double> >("HF2Grid"),
47  conf.getParameter<std::vector<double> >("HF2Weights"),
48  conf.getParameter<double>("EBWeight"),
49  conf.getParameter<double>("EEWeight"),
50  conf.getParameter<double>("HBWeight"),
51  conf.getParameter<double>("HESWeight"),
52  conf.getParameter<double>("HEDWeight"),
53  conf.getParameter<double>("HOWeight"),
54  conf.getParameter<double>("HF1Weight"),
55  conf.getParameter<double>("HF2Weight"),
56  conf.getParameter<double>("EcutTower"),
57  conf.getParameter<double>("EBSumThreshold"),
58  conf.getParameter<double>("EESumThreshold"),
59  conf.getParameter<bool>("UseHO"),
60  // (for momentum reconstruction algorithm)
61  conf.getParameter<int>("MomConstrMethod"),
62  conf.getParameter<double>("MomHBDepth"),
63  conf.getParameter<double>("MomHEDepth"),
64  conf.getParameter<double>("MomEBDepth"),
65  conf.getParameter<double>("MomEEDepth")
66  ),
67 
68  ecalLabels_(conf.getParameter<std::vector<edm::InputTag> >("ecalInputs")),
69  allowMissingInputs_(conf.getParameter<bool>("AllowMissingInputs")),
70 
71  theHcalAcceptSeverityLevel_(conf.getParameter<unsigned int>("HcalAcceptSeverityLevel")),
72 
73  theRecoveredHcalHitsAreUsed_(conf.getParameter<bool>("UseHcalRecoveredHits")),
74  theRecoveredEcalHitsAreUsed_(conf.getParameter<bool>("UseEcalRecoveredHits")),
75 
76  // paramaters controlling the use of rejected hits
77 
78  useRejectedHitsOnly_(conf.getParameter<bool>("UseRejectedHitsOnly")),
79 
80  theHcalAcceptSeverityLevelForRejectedHit_(conf.getParameter<unsigned int>("HcalAcceptSeverityLevelForRejectedHit")),
81 
82 
83  useRejectedRecoveredHcalHits_(conf.getParameter<bool>("UseRejectedRecoveredHcalHits")),
84  useRejectedRecoveredEcalHits_(conf.getParameter<bool>("UseRejectedRecoveredEcalHits"))
85 
86 
87 
88 {
89 
90  // register for data access
91  tok_hbhe_ = consumes<HBHERecHitCollection>(conf.getParameter<edm::InputTag>("hbheInput"));
92  tok_ho_ = consumes<HORecHitCollection>(conf.getParameter<edm::InputTag>("hoInput"));
93  tok_hf_ = consumes<HFRecHitCollection>(conf.getParameter<edm::InputTag>("hfInput"));
94 
95  const unsigned nLabels = ecalLabels_.size();
96  for ( unsigned i=0; i != nLabels; i++ )
97  toks_ecal_.push_back(consumes<EcalRecHitCollection>(ecalLabels_[i]));
98 
99 
108 
109  // get the Ecal severities to be excluded
110  const std::vector<std::string> severitynames =
111  conf.getParameter<std::vector<std::string> >("EcalRecHitSeveritiesToBeExcluded");
112 
113  theEcalSeveritiesToBeExcluded_ = StringToEnumValue<EcalSeverityLevel::SeverityLevel>(severitynames);
114 
115  // get the Ecal severities to be used for bad towers
117  StringToEnumValue<EcalSeverityLevel::SeverityLevel>(conf.getParameter<std::vector<std::string> >("EcalSeveritiesToBeUsedInBadTowers") );
118 
119  if (eScales_.instanceLabel=="") produces<CaloTowerCollection>();
120  else produces<CaloTowerCollection>(eScales_.instanceLabel);
121 
122  /*
123  std::cout << "VI Producer "
124  << (useRejectedHitsOnly_ ? "use rejectOnly " : " ")
125  << (allowMissingInputs_ ? "allowMissing " : " " )
126  << nLabels << ' ' << severitynames.size()
127  << std::endl;
128  */
129 }
double HF2Scale
Definition: EScales.h:18
int i
Definition: DBlmapReader.cc:9
CaloTowersCreationAlgo algo_
double EEScale
Definition: EScales.h:12
double HOScale
Definition: EScales.h:16
std::vector< int > theEcalSeveritiesToBeExcluded_
double HF1Scale
Definition: EScales.h:17
edm::EDGetTokenT< HORecHitCollection > tok_ho_
double HEDScale
Definition: EScales.h:15
std::vector< edm::EDGetTokenT< EcalRecHitCollection > > toks_ecal_
edm::EDGetTokenT< HBHERecHitCollection > tok_hbhe_
double EBScale
Definition: EScales.h:11
double HBScale
Definition: EScales.h:13
tuple conf
Definition: dbtoconf.py:185
std::string instanceLabel
Definition: EScales.h:19
unsigned int theHcalAcceptSeverityLevelForRejectedHit_
unsigned int theHcalAcceptSeverityLevel_
std::vector< edm::InputTag > ecalLabels_
double HESScale
Definition: EScales.h:14
std::vector< int > theEcalSeveritiesToBeUsedInBadTowers_
edm::EDGetTokenT< HFRecHitCollection > tok_hf_
virtual CaloTowersCreator::~CaloTowersCreator ( )
inlinevirtual

Definition at line 28 of file CaloTowersCreator.h.

28 { }

Member Function Documentation

static const std::vector<double>& CaloTowersCreator::getGridValues ( )
staticprivate
void CaloTowersCreator::produce ( edm::Event e,
const edm::EventSetup c 
)
virtual

Implements edm::EDProducer.

Definition at line 131 of file CaloTowersCreator.cc.

References algo_, allowMissingInputs_, CaloTowersCreationAlgo::begin(), caloTowerConstituentsWatcher_, edm::ESWatcher< T >::check(), EBEScale, EcalBarrel, EcalEndcap, ecalSevLevelWatcher_, EEEScale, eScales_, CaloTowersCreationAlgo::finish(), edm::EventSetup::get(), edm::Event::getByToken(), HBEScale, hcalChStatusWatcher_, hcalSevLevelWatcher_, HEDEScale, HESEScale, HF1EScale, HF2EScale, HOEScale, i, EScales::instanceLabel, CaloTowersCreationAlgo::makeEcalBadChs(), CaloTowersCreationAlgo::makeHcalDropChMap(), CaloTowersCreationAlgo::process(), parseEventContent::prod, edm::ESHandle< class >::product(), edm::Event::put(), CaloTowersCreationAlgo::setEBEScale(), CaloTowersCreationAlgo::setEbHandle(), CaloTowersCreationAlgo::setEcalChStatusFromDB(), CaloTowersCreationAlgo::setEcalSeveritiesToBeExcluded(), CaloTowersCreationAlgo::SetEcalSeveritiesToBeUsedInBadTowers(), CaloTowersCreationAlgo::setEcalSevLvlAlgo(), CaloTowersCreationAlgo::setEEEScale(), CaloTowersCreationAlgo::setEeHandle(), CaloTowersCreationAlgo::setGeometry(), CaloTowersCreationAlgo::setHBEScale(), CaloTowersCreationAlgo::setHcalAcceptSeverityLevel(), CaloTowersCreationAlgo::setHcalAcceptSeverityLevelForRejectedHit(), CaloTowersCreationAlgo::setHcalChStatusFromDB(), CaloTowersCreationAlgo::setHcalSevLvlComputer(), CaloTowersCreationAlgo::setHEDEScale(), CaloTowersCreationAlgo::setHESEScale(), CaloTowersCreationAlgo::setHF1EScale(), CaloTowersCreationAlgo::setHF2EScale(), CaloTowersCreationAlgo::setHOEScale(), CaloTowersCreationAlgo::setRecoveredEcalHitsAreUsed(), CaloTowersCreationAlgo::setRecoveredHcalHitsAreUsed(), HcalCondObjectContainerBase::setTopo(), CaloTowersCreationAlgo::setUseRejectedHitsOnly(), CaloTowersCreationAlgo::setUseRejectedRecoveredEcalHits(), CaloTowersCreationAlgo::setUseRejectedRecoveredHcalHits(), theEcalSeveritiesToBeExcluded_, theEcalSeveritiesToBeUsedInBadTowers_, theHcalAcceptSeverityLevel_, theHcalAcceptSeverityLevelForRejectedHit_, theRecoveredEcalHitsAreUsed_, theRecoveredHcalHitsAreUsed_, tok_hbhe_, tok_hf_, tok_ho_, toks_ecal_, HcalCondObjectContainerBase::topo(), useRejectedHitsOnly_, useRejectedRecoveredEcalHits_, and useRejectedRecoveredHcalHits_.

131  {
132  // get the necessary event setup objects...
136  c.get<CaloGeometryRecord>().get(pG);
137  c.get<IdealGeometryRecord>().get(htopo);
138  c.get<IdealGeometryRecord>().get(cttopo);
139 
140  // ECAL channel status map ****************************************
142  c.get<EcalChannelStatusRcd>().get( ecalChStatus );
143  const EcalChannelStatus* dbEcalChStatus = ecalChStatus.product();
144 
145  // HCAL channel status map ****************************************
146  edm::ESHandle<HcalChannelQuality> hcalChStatus;
147  c.get<HcalChannelQualityRcd>().get( hcalChStatus );
148  const HcalChannelQuality* dbHcalChStatus = hcalChStatus.product();
149 
150  if (!dbHcalChStatus->topo()) dbHcalChStatus->setTopo(htopo.product());
151 
152  // Assignment of severity levels **********************************
153  edm::ESHandle<HcalSeverityLevelComputer> hcalSevLvlComputerHndl;
154  c.get<HcalSeverityLevelComputerRcd>().get(hcalSevLvlComputerHndl);
155  const HcalSeverityLevelComputer* hcalSevLvlComputer = hcalSevLvlComputerHndl.product();
156 
157  edm::ESHandle<EcalSeverityLevelAlgo> ecalSevLvlAlgoHndl;
158  c.get<EcalSeverityLevelAlgoRcd>().get(ecalSevLvlAlgoHndl);
159  const EcalSeverityLevelAlgo* ecalSevLvlAlgo = ecalSevLvlAlgoHndl.product();
160 
161 
170  algo_.setGeometry(cttopo.product(),htopo.product(),pG.product());
171 
172  // for treatment of problematic and anomalous cells
173 
174  algo_.setHcalChStatusFromDB(dbHcalChStatus);
175  algo_.setEcalChStatusFromDB(dbEcalChStatus);
176 
179 
182 
183  algo_.setHcalSevLvlComputer(hcalSevLvlComputer);
184  algo_.setEcalSevLvlAlgo(ecalSevLvlAlgo);
185 
186 
188 
191 
194 
195  /*
196  std::cout << "VI Produce: "
197  << (useRejectedHitsOnly_ ? "use rejectOnly " : " ")
198  << (allowMissingInputs_ ? "allowMissing " : " " )
199  << (theRecoveredEcalHitsAreUsed_ ? "use RecoveredEcal ": " " )
200  << toks_ecal_.size()
201  << ' ' << theEcalSeveritiesToBeExcluded_.size()
202  << ' ' << theEcalSeveritiesToBeUsedInBadTowers_.size()
203  << std::endl;
204  */
205 
206  algo_.begin(); // clear the internal buffer
207 
208  // can't chain these in a big OR statement, or else it'll
209  // get triggered for each of the first three events
210  bool check1 = hcalSevLevelWatcher_.check(c);
211  bool check2 = hcalChStatusWatcher_.check(c);
212  bool check3 = caloTowerConstituentsWatcher_.check(c);
213  if(check1 || check2 || check3)
214  {
216  }
217 
218  // check ecal SevLev
220 
221  // ----------------------------------------------------------
222  // For ecal error handling need to
223  // have access to the EB and EE collections at the end of
224  // tower reconstruction.
225 
228 
229  for (std::vector<edm::EDGetTokenT<EcalRecHitCollection> >::const_iterator i=toks_ecal_.begin();
230  i!=toks_ecal_.end(); i++) {
231 
233 
234  if (! e.getByToken(*i,ec_tmp) ) continue;
235  if (ec_tmp->size()==0) continue;
236 
237  // check if this is EB or EE
238  if ( (ec_tmp->begin()->detid()).subdetId() == EcalBarrel ) {
239  ebHandle = ec_tmp;
240  }
241  else if ((ec_tmp->begin()->detid()).subdetId() == EcalEndcap ) {
242  eeHandle = ec_tmp;
243  }
244  }
245 
246  algo_.setEbHandle(ebHandle);
247  algo_.setEeHandle(eeHandle);
248 
249  //-----------------------------------------------------------
250 
251  bool present;
252 
253  // Step A/C: Get Inputs and process (repeatedly)
255  present=e.getByToken(tok_hbhe_,hbhe);
256  if (present || !allowMissingInputs_) algo_.process(*hbhe);
257 
259  present=e.getByToken(tok_ho_,ho);
260  if (present || !allowMissingInputs_) algo_.process(*ho);
261 
263  present=e.getByToken(tok_hf_,hf);
264  if (present || !allowMissingInputs_) algo_.process(*hf);
265 
266  std::vector<edm::EDGetTokenT<EcalRecHitCollection> >::const_iterator i;
267  for (i=toks_ecal_.begin(); i!=toks_ecal_.end(); i++) {
269  present=e.getByToken(*i,ec);
270  if (present || !allowMissingInputs_) algo_.process(*ec);
271  }
272 
273  // Step B: Create empty output
274  std::auto_ptr<CaloTowerCollection> prod(new CaloTowerCollection());
275 
276  // Step C: Process
277  algo_.finish(*prod);
278 
279  /*
280  int totc=0; float totE=0;
281  reco::LeafCandidate::LorentzVector totP4;
282  for (auto const & tw : (*prod) ) { totc += tw.constituents().size(); totE+=tw.energy(); totP4+=tw.p4();}
283  std::cout << "VI " << (*prod).size() << " " << totc << " " << totE << " " << totP4 << std::endl;
284  */
285 
286  // Step D: Put into the event
287  if (eScales_.instanceLabel=="") e.put(prod);
288  else e.put(prod,eScales_.instanceLabel);
289 
290 
291 }
int i
Definition: DBlmapReader.cc:9
void setEcalChStatusFromDB(const EcalChannelStatus *s)
CaloTowersCreationAlgo algo_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:434
void setHcalChStatusFromDB(const HcalChannelQuality *s)
void setTopo(const HcalTopology *topo) const
void finish(CaloTowerCollection &destCollection)
void setEeHandle(const edm::Handle< EcalRecHitCollection > ee)
std::vector< int > theEcalSeveritiesToBeExcluded_
edm::EDGetTokenT< HORecHitCollection > tok_ho_
void setEbHandle(const edm::Handle< EcalRecHitCollection > eb)
void setUseRejectedRecoveredEcalHits(bool flag)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
Definition: Event.h:116
void setEcalSeveritiesToBeExcluded(const std::vector< int > &ecalSev)
void setHcalAcceptSeverityLevelForRejectedHit(unsigned int level)
void setHcalSevLvlComputer(const HcalSeverityLevelComputer *c)
std::vector< edm::EDGetTokenT< EcalRecHitCollection > > toks_ecal_
edm::EDGetTokenT< HBHERecHitCollection > tok_hbhe_
void SetEcalSeveritiesToBeUsedInBadTowers(const std::vector< int > &ecalSev)
void setRecoveredEcalHitsAreUsed(bool flag)
edm::ESWatcher< HcalChannelQualityRcd > hcalChStatusWatcher_
void process(const HBHERecHitCollection &hbhe)
std::string instanceLabel
Definition: EScales.h:19
unsigned int theHcalAcceptSeverityLevelForRejectedHit_
void setRecoveredHcalHitsAreUsed(bool flag)
const T & get() const
Definition: EventSetup.h:55
T const * product() const
Definition: ESHandle.h:62
void setUseRejectedHitsOnly(bool flag)
bool check(const edm::EventSetup &iSetup)
Definition: ESWatcher.h:58
unsigned int theHcalAcceptSeverityLevel_
edm::SortedCollection< CaloTower > CaloTowerCollection
Definition: CaloTowerFwd.h:15
void setHcalAcceptSeverityLevel(unsigned int level)
edm::ESWatcher< HcalSeverityLevelComputerRcd > hcalSevLevelWatcher_
void setEcalSevLvlAlgo(const EcalSeverityLevelAlgo *a)
void setUseRejectedRecoveredHcalHits(bool flag)
edm::ESWatcher< IdealGeometryRecord > caloTowerConstituentsWatcher_
void setGeometry(const CaloTowerConstituentsMap *cttopo, const HcalTopology *htopo, const CaloGeometry *geo)
std::vector< int > theEcalSeveritiesToBeUsedInBadTowers_
edm::EDGetTokenT< HFRecHitCollection > tok_hf_
const HcalTopology * topo() const
edm::ESWatcher< EcalSeverityLevelAlgoRcd > ecalSevLevelWatcher_

Member Data Documentation

CaloTowersCreationAlgo CaloTowersCreator::algo_
private

Definition at line 37 of file CaloTowersCreator.h.

Referenced by produce().

bool CaloTowersCreator::allowMissingInputs_
private

Definition at line 43 of file CaloTowersCreator.h.

Referenced by produce().

edm::ESWatcher<IdealGeometryRecord> CaloTowersCreator::caloTowerConstituentsWatcher_
private

Definition at line 75 of file CaloTowersCreator.h.

Referenced by produce().

double CaloTowersCreator::EBEScale

Definition at line 30 of file CaloTowersCreator.h.

Referenced by CaloTowersCreator(), and produce().

std::vector<edm::InputTag> CaloTowersCreator::ecalLabels_
private

Definition at line 41 of file CaloTowersCreator.h.

Referenced by CaloTowersCreator().

edm::ESWatcher<EcalSeverityLevelAlgoRcd> CaloTowersCreator::ecalSevLevelWatcher_
private

Definition at line 76 of file CaloTowersCreator.h.

Referenced by produce().

double CaloTowersCreator::EEEScale

Definition at line 30 of file CaloTowersCreator.h.

Referenced by CaloTowersCreator(), and produce().

EScales CaloTowersCreator::eScales_
private

Definition at line 77 of file CaloTowersCreator.h.

Referenced by CaloTowersCreator(), and produce().

double CaloTowersCreator::HBEScale

Definition at line 30 of file CaloTowersCreator.h.

Referenced by CaloTowersCreator(), and produce().

edm::ESWatcher<HcalChannelQualityRcd> CaloTowersCreator::hcalChStatusWatcher_
private

Definition at line 74 of file CaloTowersCreator.h.

Referenced by produce().

edm::ESWatcher<HcalSeverityLevelComputerRcd> CaloTowersCreator::hcalSevLevelWatcher_
private

Definition at line 73 of file CaloTowersCreator.h.

Referenced by produce().

double CaloTowersCreator::HEDEScale

Definition at line 31 of file CaloTowersCreator.h.

Referenced by CaloTowersCreator(), and produce().

double CaloTowersCreator::HESEScale

Definition at line 30 of file CaloTowersCreator.h.

Referenced by CaloTowersCreator(), and produce().

double CaloTowersCreator::HF1EScale

Definition at line 31 of file CaloTowersCreator.h.

Referenced by CaloTowersCreator(), and produce().

double CaloTowersCreator::HF2EScale

Definition at line 31 of file CaloTowersCreator.h.

Referenced by CaloTowersCreator(), and produce().

double CaloTowersCreator::HOEScale

Definition at line 31 of file CaloTowersCreator.h.

Referenced by CaloTowersCreator(), and produce().

std::vector<int> CaloTowersCreator::theEcalSeveritiesToBeExcluded_
private

Definition at line 49 of file CaloTowersCreator.h.

Referenced by CaloTowersCreator(), and produce().

std::vector<int> CaloTowersCreator::theEcalSeveritiesToBeUsedInBadTowers_
private

Definition at line 61 of file CaloTowersCreator.h.

Referenced by CaloTowersCreator(), and produce().

unsigned int CaloTowersCreator::theHcalAcceptSeverityLevel_
private

Definition at line 48 of file CaloTowersCreator.h.

Referenced by produce().

unsigned int CaloTowersCreator::theHcalAcceptSeverityLevelForRejectedHit_
private

Definition at line 59 of file CaloTowersCreator.h.

Referenced by produce().

bool CaloTowersCreator::theRecoveredEcalHitsAreUsed_
private

Definition at line 53 of file CaloTowersCreator.h.

Referenced by produce().

bool CaloTowersCreator::theRecoveredHcalHitsAreUsed_
private

Definition at line 52 of file CaloTowersCreator.h.

Referenced by produce().

edm::EDGetTokenT<HBHERecHitCollection> CaloTowersCreator::tok_hbhe_
private

Definition at line 38 of file CaloTowersCreator.h.

Referenced by CaloTowersCreator(), and produce().

edm::EDGetTokenT<HFRecHitCollection> CaloTowersCreator::tok_hf_
private

Definition at line 40 of file CaloTowersCreator.h.

Referenced by CaloTowersCreator(), and produce().

edm::EDGetTokenT<HORecHitCollection> CaloTowersCreator::tok_ho_
private

Definition at line 39 of file CaloTowersCreator.h.

Referenced by CaloTowersCreator(), and produce().

std::vector<edm::EDGetTokenT<EcalRecHitCollection> > CaloTowersCreator::toks_ecal_
private

Definition at line 42 of file CaloTowersCreator.h.

Referenced by CaloTowersCreator(), and produce().

bool CaloTowersCreator::useRejectedHitsOnly_
private

Definition at line 58 of file CaloTowersCreator.h.

Referenced by produce().

bool CaloTowersCreator::useRejectedRecoveredEcalHits_
private

Definition at line 71 of file CaloTowersCreator.h.

Referenced by produce().

bool CaloTowersCreator::useRejectedRecoveredHcalHits_
private

Definition at line 70 of file CaloTowersCreator.h.

Referenced by produce().