CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
HcalGainsCheck Class Reference

#include <HcalGainsCheck.h>

Inheritance diagram for HcalGainsCheck:
edm::EDAnalyzer edm::EDConsumerBase

Public Member Functions

void analyze (const edm::Event &ev, const edm::EventSetup &es) override
 
void beginJob () override
 
void endJob () override
 
 HcalGainsCheck (edm::ParameterSet const &ps)
 
 ~HcalGainsCheck () override
 
- Public Member Functions inherited from edm::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzer ()
 
SerialTaskQueueglobalLuminosityBlocksQueue ()
 
SerialTaskQueueglobalRunsQueue ()
 
ModuleDescription const & moduleDescription () const
 
std::string workerType () const
 
 ~EDAnalyzer () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Attributes

TH1F * diffUpRefCap0
 
TH1F * diffUpRefCap1
 
TH1F * diffUpRefCap2
 
TH1F * diffUpRefCap3
 
std::string dumprefs
 
std::string dumpupdate
 
bool emapflag
 
double epsilon
 
TFile * f
 
TH1F * gainsRefCap0
 
TH1F * gainsRefCap0vsEta
 
TH1F * gainsRefCap1
 
TH1F * gainsRefCap1vsEta
 
TH1F * gainsRefCap2
 
TH1F * gainsRefCap2vsEta
 
TH1F * gainsRefCap3
 
TH1F * gainsRefCap3vsEta
 
TH1F * gainsUpCap0
 
TH1F * gainsUpCap0vsEta
 
TH1F * gainsUpCap1
 
TH1F * gainsUpCap1vsEta
 
TH1F * gainsUpCap2
 
TH1F * gainsUpCap2vsEta
 
TH1F * gainsUpCap3
 
TH1F * gainsUpCap3vsEta
 
TH2F * ocMapRef
 
TH2F * ocMapUp
 
std::string outfile
 
TH1F * ratioUpRefCap0
 
TH1F * ratioUpRefCap1
 
TH1F * ratioUpRefCap2
 
TH1F * ratioUpRefCap3
 
std::string rootfile
 
bool validategainsflag
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 
static bool wantsGlobalLuminosityBlocks ()
 
static bool wantsGlobalRuns ()
 
static bool wantsStreamLuminosityBlocks ()
 
static bool wantsStreamRuns ()
 
- 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 ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
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

Definition at line 47 of file HcalGainsCheck.h.

Constructor & Destructor Documentation

HcalGainsCheck::HcalGainsCheck ( edm::ParameterSet const &  ps)

Definition at line 3 of file HcalGainsCheck.cc.

References dumprefs, dumpupdate, emapflag, epsilon, edm::ParameterSet::getUntrackedParameter(), outfile, rootfile, AlCaHLTBitMon_QueryRunRegistry::string, and validategainsflag.

3  {
4  rootfile = ps.getUntrackedParameter<std::string>("rootfile", "null");
5  outfile = ps.getUntrackedParameter<std::string>("outFile", "null");
6  dumpupdate = ps.getUntrackedParameter<std::string>("dumpUpdateGainsTo", "null");
7  dumprefs = ps.getUntrackedParameter<std::string>("dumpRefGainsTo", "null");
8  emapflag = ps.getUntrackedParameter<bool>("checkEmap", false);
9  validategainsflag = ps.getUntrackedParameter<bool>("validateGains", false);
10  epsilon = ps.getUntrackedParameter<double>("deltaG", 1000000);
11 }
std::string dumpupdate
std::string outfile
std::string dumprefs
std::string rootfile
HcalGainsCheck::~HcalGainsCheck ( )
inlineoverride

Definition at line 51 of file HcalGainsCheck.h.

References analyze(), beginJob(), endJob(), and ev.

51 {}

Member Function Documentation

void HcalGainsCheck::analyze ( const edm::Event ev,
const edm::EventSetup es 
)
override

Definition at line 46 of file HcalGainsCheck.cc.

References HcalCondObjectContainer< Item >::addValues(), HcalElectronicsMap::allPrecisionId(), gather_cfg::cout, diffUpRefCap0, diffUpRefCap1, diffUpRefCap2, diffUpRefCap3, HcalDbASCIIIO::dumpObject(), dumprefs, dumpupdate, emapflag, epsilon, Exception, spr::find(), gainsRefCap0, gainsRefCap1, gainsRefCap2, gainsRefCap3, gainsUpCap0, gainsUpCap1, gainsUpCap2, gainsUpCap3, edm::EventSetup::get(), HcalCondObjectContainer< Item >::getAllChannels(), HcalGain::getValue(), HcalCondObjectContainer< Item >::getValues(), B2GTnPMonitor_cfi::item, outfile, edm::ESHandle< T >::product(), ratioUpRefCap0, ratioUpRefCap1, ratioUpRefCap2, ratioUpRefCap3, HcalCondObjectContainerBase::topo(), and validategainsflag.

Referenced by ~HcalGainsCheck().

46  {
47  using namespace edm::eventsetup;
48  bool epsilonflag = false;
49  bool notequalsflag = false;
50  // get new gains
51  edm::ESHandle<HcalGains> newGains;
52  es.get<HcalGainsRcd>().get("update", newGains);
53  const HcalGains* myNewGains = newGains.product();
54 
55  // get reference gains
56  edm::ESHandle<HcalGains> refGains;
57  es.get<HcalGainsRcd>().get("reference", refGains);
58  const HcalGains* myRefGains = refGains.product();
59 
60  // get e-map from reference
62  es.get<HcalElectronicsMapRcd>().get("reference", refEMap);
63  const HcalElectronicsMap* myRefEMap = refEMap.product();
64 
65  // dump gains:
66  if (dumpupdate != "null") {
67  std::ofstream outStream(dumpupdate.c_str());
68  std::cout << "--- Dumping Gains - update ---" << std::endl;
69  HcalDbASCIIIO::dumpObject(outStream, (*myNewGains));
70  }
71  if (dumprefs != "null") {
72  std::ofstream outStream2(dumprefs.c_str());
73  std::cout << "--- Dumping Gains - reference ---" << std::endl;
74  HcalDbASCIIIO::dumpObject(outStream2, (*myRefGains));
75  }
76  // get the list of all channels
77  std::vector<DetId> listNewChan = myNewGains->getAllChannels();
78  std::vector<DetId> listRefChan = myRefGains->getAllChannels();
79 
80  std::vector<DetId>::const_iterator cell;
81 
82  //plots: occupancy map, value map, difference, ratio, gains:
83  for (std::vector<DetId>::const_iterator it = listRefChan.begin(); it != listRefChan.end(); it++) {
84  HcalGenericDetId myId(*it);
85  // ocMapRef->Fill(myId->);
86 
87  float valCap0 = myRefGains->getValues(*it)->getValue(0);
88  float valCap1 = myRefGains->getValues(*it)->getValue(1);
89  float valCap2 = myRefGains->getValues(*it)->getValue(2);
90  float valCap3 = myRefGains->getValues(*it)->getValue(3);
91 
92  gainsRefCap0->Fill(valCap0);
93  gainsRefCap1->Fill(valCap1);
94  gainsRefCap2->Fill(valCap2);
95  gainsRefCap3->Fill(valCap3);
96 
97  cell = std::find(listNewChan.begin(), listNewChan.end(), (*it));
98  if (cell != listNewChan.end()) //found
99  {
100  float valCap0up = myNewGains->getValues(*it)->getValue(0);
101  float valCap1up = myNewGains->getValues(*it)->getValue(1);
102  float valCap2up = myNewGains->getValues(*it)->getValue(2);
103  float valCap3up = myNewGains->getValues(*it)->getValue(3);
104 
105  diffUpRefCap0->Fill(valCap0up - valCap0);
106  diffUpRefCap1->Fill(valCap1up - valCap1);
107  diffUpRefCap2->Fill(valCap2up - valCap2);
108  diffUpRefCap3->Fill(valCap3up - valCap3);
109 
110  if (fabs(valCap0up - valCap0) > epsilon)
111  epsilonflag = true;
112  if (fabs(valCap1up - valCap1) > epsilon)
113  epsilonflag = true;
114  if (fabs(valCap2up - valCap2) > epsilon)
115  epsilonflag = true;
116  if (fabs(valCap3up - valCap3) > epsilon)
117  epsilonflag = true;
118 
119  if (valCap0up != valCap0)
120  notequalsflag = true;
121  if (valCap1up != valCap1)
122  notequalsflag = true;
123  if (valCap2up != valCap2)
124  notequalsflag = true;
125  if (valCap3up != valCap3)
126  notequalsflag = true;
127 
128  ratioUpRefCap0->Fill(valCap0up / valCap0);
129  ratioUpRefCap1->Fill(valCap1up / valCap1);
130  ratioUpRefCap2->Fill(valCap2up / valCap2);
131  ratioUpRefCap3->Fill(valCap3up / valCap3);
132  }
133  }
134  for (std::vector<DetId>::const_iterator it = listNewChan.begin(); it != listNewChan.end(); it++) {
135  float valCap0 = myNewGains->getValues(*it)->getValue(0);
136  float valCap1 = myNewGains->getValues(*it)->getValue(1);
137  float valCap2 = myNewGains->getValues(*it)->getValue(2);
138  float valCap3 = myNewGains->getValues(*it)->getValue(3);
139 
140  gainsUpCap0->Fill(valCap0);
141  gainsUpCap1->Fill(valCap1);
142  gainsUpCap2->Fill(valCap2);
143  gainsUpCap3->Fill(valCap3);
144  }
145 
146  if (epsilon != 1000000) {
147  if (epsilonflag)
148  throw cms::Exception("DataDoesNotMatch") << "Values differ by more than deltaG" << std::endl;
149  } else {
150  std::cout << "These gains do not differ by more than deltaG" << std::endl;
151  }
152 
153  if (validategainsflag) {
154  if (notequalsflag)
155  throw cms::Exception("DataDoesNotMatch") << "Values do not match" << std::endl;
156  } else {
157  std::cout << "These gains are identical" << std::endl;
158  }
159 
160  // go through list of valid channels from reference, look up if conditions exist for update
161  // push back into new vector the corresponding updated conditions,
162  // or if it doesn't exist, the reference
163 
164  if (outfile != "null") {
165  HcalGains* resultGains = new HcalGains(refGains->topo());
166  for (std::vector<DetId>::const_iterator it = listRefChan.begin(); it != listRefChan.end(); it++) {
167  DetId mydetid = *it;
168  HcalGenericDetId myId(*it);
169  cell = std::find(listNewChan.begin(), listNewChan.end(), mydetid);
170  if (cell == listNewChan.end()) // not present in new list, take old conditions
171  {
172  const HcalGain* item = myRefGains->getValues(mydetid);
173  std::cout << "o";
174  resultGains->addValues(*item);
175  } else // present in new list, take new conditions
176  {
177  const HcalGain* item = myNewGains->getValues(mydetid);
178  std::cout << "n";
179  resultGains->addValues(*item);
180  }
181  }
182  std::cout << std::endl;
183 
184  std::vector<DetId> listResult = resultGains->getAllChannels();
185  // get the e-map list of channels
186  if (emapflag) {
187  std::vector<HcalGenericDetId> listEMap = myRefEMap->allPrecisionId();
188  // look up if emap channels are all present in pedestals, if not then cerr
189  for (std::vector<HcalGenericDetId>::const_iterator it = listEMap.begin(); it != listEMap.end(); it++) {
190  DetId mydetid = DetId(it->rawId());
191  if (std::find(listResult.begin(), listResult.end(), mydetid) == listResult.end()) {
192  std::cout << "Conditions not found for DetId = " << HcalGenericDetId(it->rawId()) << std::endl;
193  }
194  }
195  }
196 
197  // dump the resulting list of pedestals into a file
198  // std::ostringstream filename3;
199  // filename3 << "test_combined.txt";
200  std::ofstream outStream3(outfile.c_str());
201  std::cout << "--- Dumping Gains - the combined ones ---" << std::endl;
202  HcalDbASCIIIO::dumpObject(outStream3, (*resultGains));
203  }
204  // const float* values = myped->getValues (channelID);
205  // if (values) std::cout << "pedestals for channel " << channelID << ": "
206  // << values [0] << '/' << values [1] << '/' << values [2] << '/' << values [3] << std::endl;
207 }
TH1F * diffUpRefCap1
TH1F * diffUpRefCap3
TH1F * ratioUpRefCap2
const Item * getValues(DetId fId, bool throwOnFail=true) const
float getValue(int fCapId) const
get value for capId = 0..3
Definition: HcalGain.h:21
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:19
TH1F * diffUpRefCap2
TH1F * diffUpRefCap0
std::vector< DetId > getAllChannels() const
std::vector< HcalGenericDetId > allPrecisionId() const
std::string dumpupdate
TH1F * ratioUpRefCap3
TH1F * ratioUpRefCap0
Definition: DetId.h:17
std::string outfile
bool dumpObject(std::ostream &fOutput, const HcalPedestals &fObject)
T get() const
Definition: EventSetup.h:73
TH1F * ratioUpRefCap1
std::string dumprefs
bool addValues(const Item &myItem)
T const * product() const
Definition: ESHandle.h:86
const HcalTopology * topo() const
void HcalGainsCheck::beginJob ( void  )
overridevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 13 of file HcalGainsCheck.cc.

References diffUpRefCap0, diffUpRefCap1, diffUpRefCap2, diffUpRefCap3, f, gainsRefCap0, gainsRefCap1, gainsRefCap2, gainsRefCap3, gainsUpCap0, gainsUpCap1, gainsUpCap2, gainsUpCap3, ocMapRef, ocMapUp, ratioUpRefCap0, ratioUpRefCap1, ratioUpRefCap2, ratioUpRefCap3, and rootfile.

Referenced by ~HcalGainsCheck().

13  {
14  f = new TFile(rootfile.c_str(), "RECREATE");
15 
16  //book histos:
17  ocMapUp = new TH2F("ocMapUp", "occupancy_map_updated_gains", 83, -41.5, 41.5, 72, 0.5, 72.5);
18  ocMapRef = new TH2F("ocMapRef", "occupancy_map_updated_gains", 83, -41.5, 41.5, 72, 0.5, 72.5);
19  // valMapUp;
20  // valMapRef;
21 
22  diffUpRefCap0 = new TH1F("diffUpRefCap0", "difference_update_reference_Cap0", 100, -0.5, 0.5);
23  ratioUpRefCap0 = new TH1F("ratioUpRefCap0", "ration_update_reference_Cap0", 100, 0.5, 1.5);
24  gainsUpCap0 = new TH1F("gainsUpCap0", "gains_update_Cap0", 100, 0.0, 0.6);
25  gainsRefCap0 = new TH1F("gainsRefCap0", "gains_reference_Cap0", 100, 0.0, 0.6);
26 
27  diffUpRefCap1 = new TH1F("diffUpRefCap1", "difference_update_reference_Cap1", 100, -0.5, 0.5);
28  ratioUpRefCap1 = new TH1F("ratioUpRefCap1", "ration_update_reference_Cap1", 100, 0.5, 1.5);
29  gainsUpCap1 = new TH1F("gainsUpCap1", "gains_update_Cap1", 100, 0.0, 0.6);
30  gainsRefCap1 = new TH1F("gainsRefCap1", "gains_reference_Cap1", 100, 0.0, 0.6);
31 
32  diffUpRefCap2 = new TH1F("diffUpRefCap2", "difference_update_reference_Cap2", 100, -0.5, 0.5);
33  ratioUpRefCap2 = new TH1F("ratioUpRefCap2", "ration_update_reference_Cap2", 100, 0.5, 1.5);
34  gainsUpCap2 = new TH1F("gainsUpCap2", "gains_update_Cap2", 100, 0.0, 0.6);
35  gainsRefCap2 = new TH1F("gainsRefCap2", "gains_reference_Cap2", 100, 0.0, 0.6);
36 
37  diffUpRefCap3 = new TH1F("diffUpRefCap3", "difference_update_reference_Cap3", 100, -0.5, 0.5);
38  ratioUpRefCap3 = new TH1F("ratioUpRefCap3", "ration_update_reference_Cap3", 100, 0.5, 1.5);
39  gainsUpCap3 = new TH1F("gainsUpCap3", "gains_update_Cap3", 100, 0.0, 0.6);
40  gainsRefCap3 = new TH1F("gainsRefCap3", "gains_reference_Cap3", 100, 0.0, 0.6);
41 
42  // gainsUpCap0vsEta = new TGraph("gainsUpCap0vsEta","gains_update_Cap0_vsEta",100,-41,0.6);
43  // gainsRefCap0vsEta = new TGraph("gainsRefCap0vsEta","gains_reference_Cap0_vsEta",100,0.0,0.6);
44 }
TH1F * diffUpRefCap1
TH1F * diffUpRefCap3
TH1F * ratioUpRefCap2
TH1F * diffUpRefCap2
TH1F * diffUpRefCap0
TH1F * ratioUpRefCap3
TH1F * ratioUpRefCap0
TH1F * ratioUpRefCap1
std::string rootfile
void HcalGainsCheck::endJob ( void  )
overridevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 210 of file HcalGainsCheck.cc.

References DEFINE_FWK_MODULE, f, and rootfile.

Referenced by ~HcalGainsCheck().

210  {
211  if (rootfile != "null") {
212  f->Write();
213  }
214  f->Close();
215 }
std::string rootfile

Member Data Documentation

TH1F* HcalGainsCheck::diffUpRefCap0
private

Definition at line 76 of file HcalGainsCheck.h.

Referenced by analyze(), and beginJob().

TH1F* HcalGainsCheck::diffUpRefCap1
private

Definition at line 77 of file HcalGainsCheck.h.

Referenced by analyze(), and beginJob().

TH1F* HcalGainsCheck::diffUpRefCap2
private

Definition at line 78 of file HcalGainsCheck.h.

Referenced by analyze(), and beginJob().

TH1F* HcalGainsCheck::diffUpRefCap3
private

Definition at line 79 of file HcalGainsCheck.h.

Referenced by analyze(), and beginJob().

std::string HcalGainsCheck::dumprefs
private

Definition at line 62 of file HcalGainsCheck.h.

Referenced by analyze(), and HcalGainsCheck().

std::string HcalGainsCheck::dumpupdate
private

Definition at line 61 of file HcalGainsCheck.h.

Referenced by analyze(), and HcalGainsCheck().

bool HcalGainsCheck::emapflag
private

Definition at line 65 of file HcalGainsCheck.h.

Referenced by analyze(), and HcalGainsCheck().

double HcalGainsCheck::epsilon
private
TFile* HcalGainsCheck::f
private
TH1F* HcalGainsCheck::gainsRefCap0
private

Definition at line 88 of file HcalGainsCheck.h.

Referenced by analyze(), and beginJob().

TH1F* HcalGainsCheck::gainsRefCap0vsEta
private

Definition at line 96 of file HcalGainsCheck.h.

TH1F* HcalGainsCheck::gainsRefCap1
private

Definition at line 89 of file HcalGainsCheck.h.

Referenced by analyze(), and beginJob().

TH1F* HcalGainsCheck::gainsRefCap1vsEta
private

Definition at line 97 of file HcalGainsCheck.h.

TH1F* HcalGainsCheck::gainsRefCap2
private

Definition at line 90 of file HcalGainsCheck.h.

Referenced by analyze(), and beginJob().

TH1F* HcalGainsCheck::gainsRefCap2vsEta
private

Definition at line 98 of file HcalGainsCheck.h.

TH1F* HcalGainsCheck::gainsRefCap3
private

Definition at line 91 of file HcalGainsCheck.h.

Referenced by analyze(), and beginJob().

TH1F* HcalGainsCheck::gainsRefCap3vsEta
private

Definition at line 99 of file HcalGainsCheck.h.

TH1F* HcalGainsCheck::gainsUpCap0
private

Definition at line 84 of file HcalGainsCheck.h.

Referenced by analyze(), and beginJob().

TH1F* HcalGainsCheck::gainsUpCap0vsEta
private

Definition at line 92 of file HcalGainsCheck.h.

TH1F* HcalGainsCheck::gainsUpCap1
private

Definition at line 85 of file HcalGainsCheck.h.

Referenced by analyze(), and beginJob().

TH1F* HcalGainsCheck::gainsUpCap1vsEta
private

Definition at line 93 of file HcalGainsCheck.h.

TH1F* HcalGainsCheck::gainsUpCap2
private

Definition at line 86 of file HcalGainsCheck.h.

Referenced by analyze(), and beginJob().

TH1F* HcalGainsCheck::gainsUpCap2vsEta
private

Definition at line 94 of file HcalGainsCheck.h.

TH1F* HcalGainsCheck::gainsUpCap3
private

Definition at line 87 of file HcalGainsCheck.h.

Referenced by analyze(), and beginJob().

TH1F* HcalGainsCheck::gainsUpCap3vsEta
private

Definition at line 95 of file HcalGainsCheck.h.

TH2F* HcalGainsCheck::ocMapRef
private

Definition at line 72 of file HcalGainsCheck.h.

Referenced by beginJob().

TH2F* HcalGainsCheck::ocMapUp
private

Definition at line 71 of file HcalGainsCheck.h.

Referenced by beginJob().

std::string HcalGainsCheck::outfile
private

Definition at line 64 of file HcalGainsCheck.h.

Referenced by analyze(), and HcalGainsCheck().

TH1F* HcalGainsCheck::ratioUpRefCap0
private

Definition at line 80 of file HcalGainsCheck.h.

Referenced by analyze(), and beginJob().

TH1F* HcalGainsCheck::ratioUpRefCap1
private

Definition at line 81 of file HcalGainsCheck.h.

Referenced by analyze(), and beginJob().

TH1F* HcalGainsCheck::ratioUpRefCap2
private

Definition at line 82 of file HcalGainsCheck.h.

Referenced by analyze(), and beginJob().

TH1F* HcalGainsCheck::ratioUpRefCap3
private

Definition at line 83 of file HcalGainsCheck.h.

Referenced by analyze(), and beginJob().

std::string HcalGainsCheck::rootfile
private

Definition at line 63 of file HcalGainsCheck.h.

Referenced by beginJob(), endJob(), and HcalGainsCheck().

bool HcalGainsCheck::validategainsflag
private

Definition at line 66 of file HcalGainsCheck.h.

Referenced by analyze(), and HcalGainsCheck().