CMS 3D CMS Logo

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

#include <EcalTBValidation.h>

Inheritance diagram for EcalTBValidation:
DQMEDAnalyzer edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > edm::stream::EDAnalyzerBase edm::EDConsumerBase

Public Member Functions

virtual void analyze (const edm::Event &, const edm::EventSetup &)
 
void bookHistograms (DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override
 
 EcalTBValidation (const edm::ParameterSet &)
 
 ~EcalTBValidation ()
 
- Public Member Functions inherited from DQMEDAnalyzer
virtual void beginRun (edm::Run const &, edm::EventSetup const &) final
 
virtual void beginStream (edm::StreamID id) final
 
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
 DQMEDAnalyzer (void)
 
virtual void endLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
virtual void endRunSummary (edm::Run const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
uint32_t streamId () const
 
- Public Member Functions inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > >
 EDAnalyzer ()=default
 
- Public Member Functions inherited from edm::stream::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDAnalyzerBase ()
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
 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 (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

Private Attributes

int data_
 
edm::EDGetTokenT
< EBDigiCollection
digi_Token_
 
std::string digiCollection_
 
std::string digiProducer_
 
edm::EDGetTokenT
< EcalTBEventHeader
eventHeader_Token_
 
std::string eventHeaderCollection_
 
std::string eventHeaderProducer_
 
edm::EDGetTokenT
< EBUncalibratedRecHitCollection
hit_Token_
 
std::string hitCollection_
 
std::string hitProducer_
 
edm::EDGetTokenT
< EcalTBHodoscopeRecInfo
hodoRec_Token_
 
std::string hodoRecInfoCollection_
 
std::string hodoRecInfoProducer_
 
MonitorElementmeETBampltdc_
 
MonitorElementmeETBe1e25_
 
MonitorElementmeETBe1e25vsX_
 
MonitorElementmeETBe1e25vsY_
 
MonitorElementmeETBe1e9_
 
MonitorElementmeETBe1e9vsX_
 
MonitorElementmeETBe1e9vsY_
 
MonitorElementmeETBe1vsX_
 
MonitorElementmeETBe1vsY_
 
MonitorElementmeETBe1x1_
 
MonitorElementmeETBe1x1_center_
 
MonitorElementmeETBe3x3_
 
MonitorElementmeETBe3x3_center_
 
MonitorElementmeETBe5x5_
 
MonitorElementmeETBe5x5_center_
 
MonitorElementmeETBe9e25_
 
MonitorElementmeETBe9e25vsX_
 
MonitorElementmeETBe9e25vsY_
 
MonitorElementmeETBhodoX_
 
MonitorElementmeETBhodoY_
 
MonitorElementmeETBShape_
 
MonitorElementmeETBxib_
 
edm::EDGetTokenT
< EcalTBTDCRecInfo
tdcRec_Token_
 
std::string tdcRecInfoCollection_
 
std::string tdcRecInfoProducer_
 
bool verbose_
 
int xtalInBeam_
 

Additional Inherited Members

- Public Types inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > >
typedef CacheContexts< T...> CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T...> HasAbility
 
typedef
CacheTypes::LuminosityBlockCache 
LuminosityBlockCache
 
typedef
LuminosityBlockContextT
< LuminosityBlockCache,
RunCache, GlobalCache
LuminosityBlockContext
 
typedef
CacheTypes::LuminosityBlockSummaryCache 
LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache,
GlobalCache
RunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 
- Public Types inherited from edm::stream::EDAnalyzerBase
typedef EDAnalyzerAdaptorBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from DQMEDAnalyzer
static std::shared_ptr
< dqmDetails::NoCache
globalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *)
 
static std::shared_ptr
< dqmDetails::NoCache
globalBeginRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *)
 
static void globalEndLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *, dqmDetails::NoCache *)
 
static void globalEndRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *, dqmDetails::NoCache *)
 
- Static Public Member Functions inherited from edm::stream::EDAnalyzerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- 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

Definition at line 21 of file EcalTBValidation.h.

Constructor & Destructor Documentation

EcalTBValidation::EcalTBValidation ( const edm::ParameterSet config)
explicit

Definition at line 17 of file EcalTBValidation.cc.

References data_, digi_Token_, digiCollection_, digiProducer_, eventHeader_Token_, eventHeaderCollection_, eventHeaderProducer_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), hit_Token_, hitCollection_, hitProducer_, hodoRec_Token_, hodoRecInfoCollection_, hodoRecInfoProducer_, HLT_25ns10e33_v2_cff::InputTag, meETBampltdc_, meETBe1e25_, meETBe1e25vsX_, meETBe1e25vsY_, meETBe1e9_, meETBe1e9vsX_, meETBe1e9vsY_, meETBe1vsX_, meETBe1vsY_, meETBe1x1_, meETBe1x1_center_, meETBe3x3_, meETBe3x3_center_, meETBe5x5_, meETBe5x5_center_, meETBe9e25_, meETBe9e25vsX_, meETBe9e25vsY_, meETBhodoX_, meETBhodoY_, meETBShape_, meETBxib_, AlCaHLTBitMon_QueryRunRegistry::string, tdcRec_Token_, tdcRecInfoCollection_, tdcRecInfoProducer_, verbose_, and xtalInBeam_.

17  {
18 
19  data_ = config.getUntrackedParameter<int>("data",-1000);
20  xtalInBeam_ = config.getUntrackedParameter<int>("xtalInBeam",-1000);
21 
22  digiCollection_ = config.getParameter<std::string>("digiCollection");
23  digiProducer_ = config.getParameter<std::string>("digiProducer");
24  hitCollection_ = config.getParameter<std::string>("hitCollection");
25  hitProducer_ = config.getParameter<std::string>("hitProducer");
26  hodoRecInfoCollection_ = config.getParameter<std::string>("hodoRecInfoCollection");
27  hodoRecInfoProducer_ = config.getParameter<std::string>("hodoRecInfoProducer");
28  tdcRecInfoCollection_ = config.getParameter<std::string>("tdcRecInfoCollection");
29  tdcRecInfoProducer_ = config.getParameter<std::string>("tdcRecInfoProducer");
30  eventHeaderCollection_ = config.getParameter<std::string>("eventHeaderCollection");
31  eventHeaderProducer_ = config.getParameter<std::string>("eventHeaderProducer");
32 
33  digi_Token_ = consumes<EBDigiCollection>(edm::InputTag(digiProducer_, digiCollection_));
34  hit_Token_ = consumes<EBUncalibratedRecHitCollection>(edm::InputTag(hitProducer_, hitCollection_));
35  hodoRec_Token_ = consumes<EcalTBHodoscopeRecInfo>(edm::InputTag(hodoRecInfoProducer_, hodoRecInfoCollection_));
36  tdcRec_Token_ = consumes<EcalTBTDCRecInfo>(edm::InputTag(tdcRecInfoProducer_, tdcRecInfoCollection_));
37  eventHeader_Token_ = consumes<EcalTBEventHeader>(edm::InputTag(eventHeaderProducer_));
38  //rootfile_ = config.getUntrackedParameter<std::string>("rootfile","EcalTBValidation.root");
39 
40  // verbosity...
41  verbose_ = config.getUntrackedParameter<bool>("verbose", false);
42 
43  meETBxib_ = 0;
44  meETBampltdc_ = 0;
45  meETBShape_ = 0;
46  meETBhodoX_ = 0;
47  meETBhodoY_ = 0;
48  meETBe1x1_ = 0;
49  meETBe3x3_ = 0;
50  meETBe5x5_ = 0;
51  meETBe1e9_ = 0;
52  meETBe1e25_ = 0;
53  meETBe9e25_ = 0;
57  meETBe1vsX_ = 0;
58  meETBe1vsY_ = 0;
59  meETBe1e9vsX_ = 0;
60  meETBe1e9vsY_ = 0;
61  meETBe1e25vsX_ = 0;
62  meETBe1e25vsY_ = 0;
63  meETBe9e25vsX_ = 0;
64  meETBe9e25vsY_ = 0;
65 
66 }
MonitorElement * meETBShape_
T getParameter(std::string const &) const
MonitorElement * meETBampltdc_
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * meETBe5x5_
MonitorElement * meETBe1e25_
MonitorElement * meETBe3x3_
edm::EDGetTokenT< EcalTBTDCRecInfo > tdcRec_Token_
edm::EDGetTokenT< EBDigiCollection > digi_Token_
MonitorElement * meETBe9e25vsX_
edm::EDGetTokenT< EcalTBHodoscopeRecInfo > hodoRec_Token_
MonitorElement * meETBe1e25vsX_
std::string eventHeaderProducer_
MonitorElement * meETBxib_
edm::EDGetTokenT< EBUncalibratedRecHitCollection > hit_Token_
MonitorElement * meETBe9e25_
MonitorElement * meETBe9e25vsY_
std::string eventHeaderCollection_
MonitorElement * meETBe1vsX_
std::string hitProducer_
std::string hodoRecInfoProducer_
std::string digiProducer_
MonitorElement * meETBe5x5_center_
std::string hitCollection_
MonitorElement * meETBe1e9vsX_
MonitorElement * meETBe1e25vsY_
MonitorElement * meETBe1x1_
std::string tdcRecInfoCollection_
std::string tdcRecInfoProducer_
edm::EDGetTokenT< EcalTBEventHeader > eventHeader_Token_
MonitorElement * meETBe1e9_
MonitorElement * meETBe3x3_center_
MonitorElement * meETBe1e9vsY_
std::string digiCollection_
MonitorElement * meETBhodoY_
MonitorElement * meETBe1vsY_
std::string hodoRecInfoCollection_
MonitorElement * meETBe1x1_center_
MonitorElement * meETBhodoX_
EcalTBValidation::~EcalTBValidation ( )

Definition at line 69 of file EcalTBValidation.cc.

69 {}

Member Function Documentation

void EcalTBValidation::analyze ( const edm::Event event,
const edm::EventSetup setup 
)
virtual

Implements edm::stream::EDAnalyzerBase.

Definition at line 123 of file EcalTBValidation.cc.

References EcalMGPASample::adc(), ecal_dqm_sourceclient-live_cfg::cerr, data_, digi_Token_, digiCollection_, EBDetId::ETAPHIMODE, eventHeader_Token_, eventHeaderProducer_, MonitorElement::Fill(), HcalObjRepresent::Fill(), hit_Token_, hitCollection_, hodoRec_Token_, hodoRecInfoCollection_, EBDetId::ieta(), cuy::ii, EBDetId::iphi(), EBDetId::ism(), meETBampltdc_, meETBe1e25_, meETBe1e25vsX_, meETBe1e25vsY_, meETBe1e9_, meETBe1e9vsX_, meETBe1e9vsY_, meETBe1vsX_, meETBe1vsY_, meETBe1x1_, meETBe1x1_center_, meETBe3x3_, meETBe3x3_center_, meETBe5x5_, meETBe5x5_center_, meETBe9e25_, meETBe9e25vsX_, meETBe9e25vsY_, meETBhodoX_, meETBhodoY_, meETBShape_, meETBxib_, edm::Handle< T >::product(), compare_using_db::sample, EcalDataFrame::sample(), EcalDataFrame::size(), EBDetId::SMCRYSTALMODE, tdcRec_Token_, tdcRecInfoCollection_, EBDetId::validDetId(), and xtalInBeam_.

123  {
124 
125  using namespace edm;
126  using namespace cms;
127 
128  // digis
129  const EBDigiCollection* theDigis=0;
131  event.getByToken(digi_Token_, pdigis);
132  if(pdigis.isValid()){
133  theDigis = pdigis.product();
134  }
135  else {
136  std::cerr << "Error! can't get the product " << digiCollection_.c_str() << std::endl;
137  return;
138  }
139 
140  // rechits
141  const EBUncalibratedRecHitCollection* theHits=0;
143  event.getByToken(hit_Token_, phits);
144  if(phits.isValid()){
145  theHits = phits.product();
146  }
147  else {
148  std::cerr << "Error! can't get the product " << hitCollection_.c_str() << std::endl;
149  return;
150  }
151 
152  // hodoscopes
153  const EcalTBHodoscopeRecInfo* theHodo=0;
155  event.getByToken(hodoRec_Token_, pHodo);
156  if(pHodo.isValid()){
157  theHodo = pHodo.product();
158  }
159  else{
160  std::cerr << "Error! can't get the product " << hodoRecInfoCollection_.c_str() << std::endl;
161  return;
162  }
163 
164  // tdc
165  const EcalTBTDCRecInfo* theTDC=0;
167  event.getByToken(tdcRec_Token_, pTDC);
168  if(pTDC.isValid()){
169  theTDC = pTDC.product();
170  }
171  else{
172  std::cerr << "Error! can't get the product " << tdcRecInfoCollection_.c_str() << std::endl;
173  return;
174  }
175 
176  // event header
177  const EcalTBEventHeader* evtHeader=0;
178  Handle<EcalTBEventHeader> pEventHeader;
179  event.getByToken(eventHeader_Token_ , pEventHeader);
180  if(pEventHeader.isValid()){
181  evtHeader = pEventHeader.product();
182  }
183  else{
184  std::cerr << "Error! can't get the product " << eventHeaderProducer_.c_str() << std::endl;
185  return;
186  }
187 
188 
189  // -----------------------------------------------------------------------
190  // xtal-in-beam
191  EBDetId xtalInBeamId(1,xtalInBeam_, EBDetId::SMCRYSTALMODE);
192  if (xtalInBeamId==EBDetId(0)){ return; }
193  int xibEta = xtalInBeamId.ieta();
194  int xibPhi = xtalInBeamId.iphi();
195 
196  // skipping events with moving table (in data)
197  if (data_ && (evtHeader->tableIsMoving())) return;
198 
199  // amplitudes
200  EBDetId Xtals5x5[25];
201  for (unsigned int icry=0;icry<25;icry++){
202  unsigned int row = icry/5;
203  unsigned int column = icry%5;
204  int ieta = xtalInBeamId.ieta()+column-2;
205  int iphi = xtalInBeamId.iphi()+row-2;
206  if(EBDetId::validDetId(ieta, iphi)){
207  EBDetId tempId(ieta, iphi,EBDetId::ETAPHIMODE);
208  if (tempId.ism()==1)
209  Xtals5x5[icry] = tempId;
210  else
211  Xtals5x5[icry] = EBDetId(0);
212  } else {
213  Xtals5x5[icry] = EBDetId(0);
214  }
215  }
216 
217  // matrices
218  double ampl1x1 = 0.;
219  double ampl3x3 = 0.;
220  double ampl5x5 = 0.;
221  for (unsigned int icry=0;icry<25;icry++) {
222  if (!Xtals5x5[icry].null()){
223  double theAmpl = (theHits->find(Xtals5x5[icry]))->amplitude();
224  ampl5x5 += theAmpl;
225  if (icry==12){ampl1x1 = theAmpl;}
226  if (icry==6 || icry==7 || icry==8 || icry==11 || icry==12 || icry==13 || icry==16 || icry==17 || icry==18){ampl3x3 += theAmpl;}
227  }}
228 
229 
230  // pulse shape
231  double sampleSave[10];
232  for(int ii=0; ii < 10; ++ii){ sampleSave[ii] = 0.0; }
233  EBDigiCollection::const_iterator thisDigi = theDigis->find(xtalInBeamId);
234  // int sMax = -1; // UNUSED
235  double eMax = 0.;
236  if (thisDigi != theDigis->end()){
237  EBDataFrame myDigi = (*thisDigi);
238  for (int sample=0; sample < myDigi.size(); ++sample){
239  double analogSample = myDigi.sample(sample).adc();
240  sampleSave[sample] = analogSample;
241  if ( eMax < analogSample ) {
242  eMax = analogSample;
243  // sMax = sample; // UNUSED
244  }
245  }
246  }
247 
248  // beam profile
249  double xBeam = theHodo->posX();
250  double yBeam = theHodo->posY();
251 
252  // filling histos
253  meETBxib_ -> Fill(xibEta, xibPhi);
254  meETBhodoX_ -> Fill(xBeam);
255  meETBhodoY_ -> Fill(yBeam);
256  meETBampltdc_ -> Fill(theTDC->offset(),ampl1x1);
257  meETBe1x1_ -> Fill(ampl1x1);
258  meETBe3x3_ -> Fill(ampl3x3);
259  meETBe5x5_ -> Fill(ampl5x5);
260  meETBe1e9_ -> Fill(ampl1x1/ampl3x3);
261  meETBe1e25_ -> Fill(ampl1x1/ampl5x5);
262  meETBe9e25_ -> Fill(ampl3x3/ampl5x5);
263  meETBe1vsX_ -> Fill(xBeam,ampl1x1);
264  meETBe1vsY_ -> Fill(yBeam,ampl1x1);
265  meETBe1e9vsX_ -> Fill(xBeam,ampl1x1/ampl3x3);
266  meETBe1e9vsY_ -> Fill(yBeam,ampl1x1/ampl3x3);
267  meETBe1e25vsX_ -> Fill(xBeam,ampl1x1/ampl5x5);
268  meETBe1e25vsY_ -> Fill(yBeam,ampl1x1/ampl5x5);
269  meETBe9e25vsX_ -> Fill(xBeam,ampl3x3/ampl5x5);
270  meETBe9e25vsY_ -> Fill(yBeam,ampl3x3/ampl5x5);
271 
272  for(int ii=0; ii < 10; ++ii){ meETBShape_->Fill(double(ii)+theTDC->offset(),sampleSave[ii]); }
273 
274  if ( (fabs(xBeam)<2.5) && (fabs(yBeam)<2.5) ){
275  meETBe1x1_center_ -> Fill(ampl1x1);
276  meETBe3x3_center_ -> Fill(ampl3x3);
277  meETBe5x5_center_ -> Fill(ampl5x5);
278  }
279 }
MonitorElement * meETBShape_
MonitorElement * meETBampltdc_
MonitorElement * meETBe5x5_
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
MonitorElement * meETBe1e25_
MonitorElement * meETBe3x3_
edm::EDGetTokenT< EcalTBTDCRecInfo > tdcRec_Token_
edm::EDGetTokenT< EBDigiCollection > digi_Token_
MonitorElement * meETBe9e25vsX_
edm::EDGetTokenT< EcalTBHodoscopeRecInfo > hodoRec_Token_
EcalMGPASample sample(int i) const
Definition: EcalDataFrame.h:29
MonitorElement * meETBe1e25vsX_
int ii
Definition: cuy.py:588
std::string eventHeaderProducer_
int size() const
Definition: EcalDataFrame.h:26
static bool validDetId(int i, int j)
check if a valid index combination
Definition: EBDetId.h:124
MonitorElement * meETBxib_
void Fill(long long x)
edm::EDGetTokenT< EBUncalibratedRecHitCollection > hit_Token_
MonitorElement * meETBe9e25_
MonitorElement * meETBe9e25vsY_
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
MonitorElement * meETBe1vsX_
int ieta() const
get the crystal ieta
Definition: EBDetId.h:51
MonitorElement * meETBe5x5_center_
static const int ETAPHIMODE
Definition: EBDetId.h:166
std::string hitCollection_
T const * product() const
Definition: Handle.h:81
MonitorElement * meETBe1e9vsX_
MonitorElement * meETBe1e25vsY_
MonitorElement * meETBe1x1_
std::string tdcRecInfoCollection_
edm::EDGetTokenT< EcalTBEventHeader > eventHeader_Token_
MonitorElement * meETBe1e9_
MonitorElement * meETBe3x3_center_
static const int SMCRYSTALMODE
Definition: EBDetId.h:167
MonitorElement * meETBe1e9vsY_
std::string digiCollection_
MonitorElement * meETBhodoY_
MonitorElement * meETBe1vsY_
std::string hodoRecInfoCollection_
MonitorElement * meETBe1x1_center_
MonitorElement * meETBhodoX_
int adc() const
get the ADC sample (12 bits)
void EcalTBValidation::bookHistograms ( DQMStore::IBooker i,
edm::Run const &  ,
edm::EventSetup const &   
)
overridevirtual

Implements DQMEDAnalyzer.

Definition at line 71 of file EcalTBValidation.cc.

References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), meETBampltdc_, meETBe1e25_, meETBe1e25vsX_, meETBe1e25vsY_, meETBe1e9_, meETBe1e9vsX_, meETBe1e9vsY_, meETBe1vsX_, meETBe1vsY_, meETBe1x1_, meETBe1x1_center_, meETBe3x3_, meETBe3x3_center_, meETBe5x5_, meETBe5x5_center_, meETBe9e25_, meETBe9e25vsX_, meETBe9e25vsY_, meETBhodoX_, meETBhodoY_, meETBShape_, meETBxib_, DQMStore::IBooker::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.

71  {
72 
73  std::string hname;
74  ibooker.setCurrentFolder( "EcalRecHitsV/EcalTBValidationTask" );
75 
76  hname = "xtal in beam position";
77  meETBxib_ = ibooker.book2D( hname, hname, 85, 0., 85., 20,0., 20. );
78  hname = "Max Amplitude vs TDC offset";
79  meETBampltdc_ = ibooker.book2D( hname, hname, 100, 0., 1., 1000, 0., 4000. );
80  hname = "Beam Profile X";
81  meETBhodoX_ = ibooker.book1D( hname, hname, 100, -20., 20. );
82  hname = "Beam Profile Y";
83  meETBhodoY_ = ibooker.book1D( hname, hname, 100, -20., 20. );
84  hname = "E1x1 energy";
85  meETBe1x1_ = ibooker.book1D( hname, hname, 1000, 0., 4000. );
86  hname = "E3x3 energy";
87  meETBe3x3_ = ibooker.book1D( hname, hname, 1000, 0., 4000. );
88  hname = "E5x5 energy";
89  meETBe5x5_ = ibooker.book1D( hname, hname, 1000, 0., 4000. );
90  hname = "E1x1 energy center";
91  meETBe1x1_center_ = ibooker.book1D( hname, hname, 1000, 0., 4000. );
92  hname = "E3x3 energy center";
93  meETBe3x3_center_ = ibooker.book1D( hname, hname, 1000, 0., 4000. );
94  hname = "E5x5 energy center";
95  meETBe5x5_center_ = ibooker.book1D( hname, hname, 1000, 0., 4000. );
96  hname = "E1 over E9 ratio";
97  meETBe1e9_ = ibooker.book1D( hname, hname, 600, 0., 1.2 );
98  hname = "E1 over E25 ratio";
99  meETBe1e25_ = ibooker.book1D( hname, hname, 600, 0., 1.2 );
100  hname = "E9 over E25 ratio";
101  meETBe9e25_ = ibooker.book1D( hname, hname, 600, 0., 1.2 );
102  hname = "E1 vs X";
103  meETBe1vsX_ = ibooker.book2D( hname, hname, 80, -20, 20, 1000, 0., 4000. );
104  hname = "E1 vs Y";
105  meETBe1vsY_ = ibooker.book2D( hname, hname, 80, -20, 20, 1000, 0., 4000. );
106  hname = "E1 over E9 vs X";
107  meETBe1e9vsX_ = ibooker.book2D( hname, hname, 80, -20, 20, 600, 0., 1.2 );
108  hname = "E1 over E9 vs Y";
109  meETBe1e9vsY_ = ibooker.book2D( hname, hname, 80, -20, 20, 600, 0., 1.2 );
110  hname = "E1 over E25 vs X";
111  meETBe1e25vsX_ = ibooker.book2D( hname, hname, 80, -20, 20, 600, 0., 1.2 );
112  hname = "E1 over E25 vs Y";
113  meETBe1e25vsY_ = ibooker.book2D( hname, hname, 80, -20, 20, 600, 0., 1.2 );
114  hname = "E9 over E25 vs X";
115  meETBe9e25vsX_ = ibooker.book2D( hname, hname, 80, -20, 20, 600, 0., 1.2 );
116  hname = "E9 over E25 vs Y";
117  meETBe9e25vsY_ = ibooker.book2D( hname, hname, 80, -20, 20, 600, 0., 1.2 );
118  hname = "Xtal in Beam Shape";
119  meETBShape_ = ibooker.book2D( hname, hname, 250, 0, 10, 350, 0, 3500 );
120 
121 }
MonitorElement * meETBShape_
MonitorElement * meETBampltdc_
MonitorElement * meETBe5x5_
MonitorElement * meETBe1e25_
MonitorElement * meETBe3x3_
MonitorElement * meETBe9e25vsX_
MonitorElement * meETBe1e25vsX_
MonitorElement * meETBxib_
MonitorElement * meETBe9e25_
MonitorElement * meETBe9e25vsY_
MonitorElement * meETBe1vsX_
MonitorElement * meETBe5x5_center_
MonitorElement * meETBe1e9vsX_
MonitorElement * meETBe1e25vsY_
MonitorElement * meETBe1x1_
MonitorElement * meETBe1e9_
MonitorElement * meETBe3x3_center_
MonitorElement * meETBe1e9vsY_
MonitorElement * meETBhodoY_
MonitorElement * meETBe1vsY_
MonitorElement * meETBe1x1_center_
MonitorElement * meETBhodoX_

Member Data Documentation

int EcalTBValidation::data_
private

Definition at line 33 of file EcalTBValidation.h.

Referenced by analyze(), and EcalTBValidation().

edm::EDGetTokenT<EBDigiCollection> EcalTBValidation::digi_Token_
private

Definition at line 47 of file EcalTBValidation.h.

Referenced by analyze(), and EcalTBValidation().

std::string EcalTBValidation::digiCollection_
private

Definition at line 36 of file EcalTBValidation.h.

Referenced by analyze(), and EcalTBValidation().

std::string EcalTBValidation::digiProducer_
private

Definition at line 37 of file EcalTBValidation.h.

Referenced by EcalTBValidation().

edm::EDGetTokenT<EcalTBEventHeader> EcalTBValidation::eventHeader_Token_
private

Definition at line 51 of file EcalTBValidation.h.

Referenced by analyze(), and EcalTBValidation().

std::string EcalTBValidation::eventHeaderCollection_
private

Definition at line 44 of file EcalTBValidation.h.

Referenced by EcalTBValidation().

std::string EcalTBValidation::eventHeaderProducer_
private

Definition at line 45 of file EcalTBValidation.h.

Referenced by analyze(), and EcalTBValidation().

edm::EDGetTokenT<EBUncalibratedRecHitCollection> EcalTBValidation::hit_Token_
private

Definition at line 48 of file EcalTBValidation.h.

Referenced by analyze(), and EcalTBValidation().

std::string EcalTBValidation::hitCollection_
private

Definition at line 38 of file EcalTBValidation.h.

Referenced by analyze(), and EcalTBValidation().

std::string EcalTBValidation::hitProducer_
private

Definition at line 39 of file EcalTBValidation.h.

Referenced by EcalTBValidation().

edm::EDGetTokenT<EcalTBHodoscopeRecInfo> EcalTBValidation::hodoRec_Token_
private

Definition at line 49 of file EcalTBValidation.h.

Referenced by analyze(), and EcalTBValidation().

std::string EcalTBValidation::hodoRecInfoCollection_
private

Definition at line 40 of file EcalTBValidation.h.

Referenced by analyze(), and EcalTBValidation().

std::string EcalTBValidation::hodoRecInfoProducer_
private

Definition at line 41 of file EcalTBValidation.h.

Referenced by EcalTBValidation().

MonitorElement* EcalTBValidation::meETBampltdc_
private

Definition at line 64 of file EcalTBValidation.h.

Referenced by analyze(), bookHistograms(), and EcalTBValidation().

MonitorElement* EcalTBValidation::meETBe1e25_
private

Definition at line 72 of file EcalTBValidation.h.

Referenced by analyze(), bookHistograms(), and EcalTBValidation().

MonitorElement* EcalTBValidation::meETBe1e25vsX_
private

Definition at line 81 of file EcalTBValidation.h.

Referenced by analyze(), bookHistograms(), and EcalTBValidation().

MonitorElement* EcalTBValidation::meETBe1e25vsY_
private

Definition at line 82 of file EcalTBValidation.h.

Referenced by analyze(), bookHistograms(), and EcalTBValidation().

MonitorElement* EcalTBValidation::meETBe1e9_
private

Definition at line 71 of file EcalTBValidation.h.

Referenced by analyze(), bookHistograms(), and EcalTBValidation().

MonitorElement* EcalTBValidation::meETBe1e9vsX_
private

Definition at line 79 of file EcalTBValidation.h.

Referenced by analyze(), bookHistograms(), and EcalTBValidation().

MonitorElement* EcalTBValidation::meETBe1e9vsY_
private

Definition at line 80 of file EcalTBValidation.h.

Referenced by analyze(), bookHistograms(), and EcalTBValidation().

MonitorElement* EcalTBValidation::meETBe1vsX_
private

Definition at line 77 of file EcalTBValidation.h.

Referenced by analyze(), bookHistograms(), and EcalTBValidation().

MonitorElement* EcalTBValidation::meETBe1vsY_
private

Definition at line 78 of file EcalTBValidation.h.

Referenced by analyze(), bookHistograms(), and EcalTBValidation().

MonitorElement* EcalTBValidation::meETBe1x1_
private

Definition at line 68 of file EcalTBValidation.h.

Referenced by analyze(), bookHistograms(), and EcalTBValidation().

MonitorElement* EcalTBValidation::meETBe1x1_center_
private

Definition at line 74 of file EcalTBValidation.h.

Referenced by analyze(), bookHistograms(), and EcalTBValidation().

MonitorElement* EcalTBValidation::meETBe3x3_
private

Definition at line 69 of file EcalTBValidation.h.

Referenced by analyze(), bookHistograms(), and EcalTBValidation().

MonitorElement* EcalTBValidation::meETBe3x3_center_
private

Definition at line 75 of file EcalTBValidation.h.

Referenced by analyze(), bookHistograms(), and EcalTBValidation().

MonitorElement* EcalTBValidation::meETBe5x5_
private

Definition at line 70 of file EcalTBValidation.h.

Referenced by analyze(), bookHistograms(), and EcalTBValidation().

MonitorElement* EcalTBValidation::meETBe5x5_center_
private

Definition at line 76 of file EcalTBValidation.h.

Referenced by analyze(), bookHistograms(), and EcalTBValidation().

MonitorElement* EcalTBValidation::meETBe9e25_
private

Definition at line 73 of file EcalTBValidation.h.

Referenced by analyze(), bookHistograms(), and EcalTBValidation().

MonitorElement* EcalTBValidation::meETBe9e25vsX_
private

Definition at line 83 of file EcalTBValidation.h.

Referenced by analyze(), bookHistograms(), and EcalTBValidation().

MonitorElement* EcalTBValidation::meETBe9e25vsY_
private

Definition at line 84 of file EcalTBValidation.h.

Referenced by analyze(), bookHistograms(), and EcalTBValidation().

MonitorElement* EcalTBValidation::meETBhodoX_
private

Definition at line 66 of file EcalTBValidation.h.

Referenced by analyze(), bookHistograms(), and EcalTBValidation().

MonitorElement* EcalTBValidation::meETBhodoY_
private

Definition at line 67 of file EcalTBValidation.h.

Referenced by analyze(), bookHistograms(), and EcalTBValidation().

MonitorElement* EcalTBValidation::meETBShape_
private

Definition at line 65 of file EcalTBValidation.h.

Referenced by analyze(), bookHistograms(), and EcalTBValidation().

MonitorElement* EcalTBValidation::meETBxib_
private

Definition at line 63 of file EcalTBValidation.h.

Referenced by analyze(), bookHistograms(), and EcalTBValidation().

edm::EDGetTokenT<EcalTBTDCRecInfo> EcalTBValidation::tdcRec_Token_
private

Definition at line 50 of file EcalTBValidation.h.

Referenced by analyze(), and EcalTBValidation().

std::string EcalTBValidation::tdcRecInfoCollection_
private

Definition at line 42 of file EcalTBValidation.h.

Referenced by analyze(), and EcalTBValidation().

std::string EcalTBValidation::tdcRecInfoProducer_
private

Definition at line 43 of file EcalTBValidation.h.

Referenced by EcalTBValidation().

bool EcalTBValidation::verbose_
private

Definition at line 31 of file EcalTBValidation.h.

Referenced by EcalTBValidation().

int EcalTBValidation::xtalInBeam_
private

Definition at line 34 of file EcalTBValidation.h.

Referenced by analyze(), and EcalTBValidation().