test
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 | Protected Types | Protected Member Functions | Protected Attributes
TPTask Class Reference

#include <TPTask.h>

Inheritance diagram for TPTask:
hcaldqm::DQTask DQMEDAnalyzer hcaldqm::DQModule edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > edm::stream::EDAnalyzerBase edm::EDConsumerBase

Public Member Functions

virtual void beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &)
 
virtual void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)
 
virtual void endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &)
 
 TPTask (edm::ParameterSet const &)
 
virtual ~TPTask ()
 
- Public Member Functions inherited from hcaldqm::DQTask
virtual void analyze (edm::Event const &, edm::EventSetup const &)
 
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
 DQTask (edm::ParameterSet const &)
 
virtual ~DQTask ()
 
- Public Member Functions inherited from DQMEDAnalyzer
virtual void beginRun (edm::Run const &, edm::EventSetup const &) final
 
virtual void beginStream (edm::StreamID id) final
 
 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 ()
 
- Public Member Functions inherited from hcaldqm::DQModule
 DQModule (edm::ParameterSet const &)
 
virtual ~DQModule ()
 

Public Attributes

tuple tpTask
 

Protected Types

enum  TPFlag {
  fEtMsm =0, fFGMsm =1, fDataMsn =2, fEmulMsn =3,
  nTPFlag =4
}
 

Protected Member Functions

virtual void _process (edm::Event const &, edm::EventSetup const &)
 
virtual void _resetMonitors (UpdateFreq)
 
- Protected Member Functions inherited from hcaldqm::DQTask
virtual int _getCalibType (edm::Event const &)
 
virtual bool _isApplicable (edm::Event const &)
 
- 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)
 

Protected Attributes

Container2D _cEtCorr2x3_TTSubdet
 
Container2D _cEtCorr_TTSubdet
 
ContainerSingleProf2D _cEtCorrRatio_depthlike
 
ContainerProf2D _cEtCorrRatio_ElectronicsuTCA
 
ContainerProf2D _cEtCorrRatio_ElectronicsVME
 
ContainerProf1D _cEtCorrRatiovsBX_TTSubdet
 
ContainerProf1D _cEtCorrRatiovsLS_TTSubdet
 
ContainerSingleProf2D _cEtCutData_depthlike
 
ContainerProf1D _cEtCutDatavsBX_TTSubdet
 
ContainerProf1D _cEtCutDatavsLS_TTSubdet
 
ContainerSingleProf2D _cEtCutEmul_depthlike
 
ContainerProf1D _cEtCutEmulvsBX_TTSubdet
 
ContainerProf1D _cEtCutEmulvsLS_TTSubdet
 
ContainerSingleProf2D _cEtData_depthlike
 
ContainerProf2D _cEtData_ElectronicsuTCA
 
ContainerProf2D _cEtData_ElectronicsVME
 
Container1D _cEtData_TTSubdet
 
ContainerSingleProf2D _cEtEmul_depthlike
 
ContainerProf2D _cEtEmul_ElectronicsuTCA
 
ContainerProf2D _cEtEmul_ElectronicsVME
 
Container1D _cEtEmul_TTSubdet
 
ContainerSingle2D _cEtMsm_depthlike
 
Container2D _cEtMsm_ElectronicsuTCA
 
Container2D _cEtMsm_ElectronicsVME
 
ContainerProf1D _cEtMsmRatiovsBX_TTSubdet
 
ContainerProf1D _cEtMsmRatiovsLS_TTSubdet
 
ContainerProf1D _cEtMsmvsBX_TTSubdet
 
ContainerProf1D _cEtMsmvsLS_TTSubdet
 
Container2D _cFGCorr_TTSubdet
 
ContainerSingle2D _cFGMsm_depthlike
 
Container2D _cFGMsm_ElectronicsuTCA
 
Container2D _cFGMsm_ElectronicsVME
 
ContainerProf1D _cMsnCutDatavsBX_TTSubdet
 
ContainerProf1D _cMsnCutDatavsLS_TTSubdet
 
ContainerProf1D _cMsnCutEmulvsBX_TTSubdet
 
ContainerProf1D _cMsnCutEmulvsLS_TTSubdet
 
ContainerSingle2D _cMsnData_depthlike
 
Container2D _cMsnData_ElectronicsuTCA
 
Container2D _cMsnData_ElectronicsVME
 
ContainerProf1D _cMsnDatavsBX_TTSubdet
 
ContainerProf1D _cMsnDatavsLS_TTSubdet
 
ContainerSingle2D _cMsnEmul_depthlike
 
Container2D _cMsnEmul_ElectronicsuTCA
 
Container2D _cMsnEmul_ElectronicsVME
 
ContainerProf1D _cMsnEmulvsBX_TTSubdet
 
ContainerProf1D _cMsnEmulvsLS_TTSubdet
 
ContainerSingle2D _cOccupancyCutData_depthlike
 
Container2D _cOccupancyCutData_ElectronicsuTCA
 
Container2D _cOccupancyCutData_ElectronicsVME
 
ContainerProf1D _cOccupancyCutDatavsBX_TTSubdet
 
ContainerProf1D _cOccupancyCutDatavsLS_TTSubdet
 
ContainerSingle2D _cOccupancyCutEmul_depthlike
 
Container2D _cOccupancyCutEmul_ElectronicsuTCA
 
Container2D _cOccupancyCutEmul_ElectronicsVME
 
ContainerProf1D _cOccupancyCutEmulvsBX_TTSubdet
 
ContainerProf1D _cOccupancyCutEmulvsLS_TTSubdet
 
ContainerSingle2D _cOccupancyData2x3_depthlike
 
ContainerSingle2D _cOccupancyData_depthlike
 
Container2D _cOccupancyData_ElectronicsuTCA
 
Container2D _cOccupancyData_ElectronicsVME
 
ContainerProf1D _cOccupancyDatavsBX_TTSubdet
 
ContainerProf1D _cOccupancyDatavsLS_TTSubdet
 
ContainerSingle2D _cOccupancyEmul2x3_depthlike
 
ContainerSingle2D _cOccupancyEmul_depthlike
 
Container2D _cOccupancyEmul_ElectronicsuTCA
 
Container2D _cOccupancyEmul_ElectronicsVME
 
ContainerProf1D _cOccupancyEmulvsBX_TTSubdet
 
ContainerProf1D _cOccupancyEmulvsLS_TTSubdet
 
ContainerSingle2D _cSummaryvsLS
 
Container2D _cSummaryvsLS_FED
 
int _cutEt
 
electronicsmap::ElectronicsMap _ehashmap
 
HcalElectronicsMap const * _emap
 
HashFilter _filter_depth0
 
HashFilter _filter_uTCA
 
HashFilter _filter_VME
 
bool _skip1x1
 
edm::InputTag _tagData
 
edm::InputTag _tagEmul
 
double _thresh_DataMsn
 
double _thresh_EmulMsn
 
double _thresh_EtMsmRate
 
double _thresh_FGMsmRate
 
edm::EDGetTokenT
< HcalTrigPrimDigiCollection
_tokData
 
edm::EDGetTokenT
< HcalTrigPrimDigiCollection
_tokEmul
 
std::vector< flag::Flag_vflags
 
std::vector< uint32_t > _vhashFEDs
 
ContainerXXX< uint32_t > _xDataMsn
 
ContainerXXX< uint32_t > _xDataTotal
 
ContainerXXX< uint32_t > _xEmulMsn
 
ContainerXXX< uint32_t > _xEmulTotal
 
ContainerXXX< uint32_t > _xEtMsm
 
ContainerXXX< uint32_t > _xFGMsm
 
ContainerXXX< uint32_t > _xNumCorr
 
- Protected Attributes inherited from hcaldqm::DQTask
ContainerI _cEvsPerLS
 
ContainerI _cEvsTotal
 
ContainerS _cProcessingTypeName
 
ContainerS _cRunKeyName
 
ContainerI _cRunKeyVal
 
int _procLSs
 
edm::InputTag _tagRaw
 
edm::EDGetTokenT
< FEDRawDataCollection
_tokRaw
 
std::vector< uint32_t > _vcdaqEids
 
ContainerXXX< uint32_t > _xQuality
 
- Protected Attributes inherited from hcaldqm::DQModule
int _currentLS
 
int _debug
 
int _evsPerLS
 
int _evsTotal
 
Logger _logger
 
int _maxLS
 
ModuleType _mtype
 
std::string _name
 
ProcessingType _ptype
 
std::string _runkeyName
 
int _runkeyVal
 
std::string _subsystem
 

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)
 

Detailed Description

Definition at line 24 of file TPTask.h.

Member Enumeration Documentation

enum TPTask::TPFlag
protected
Enumerator
fEtMsm 
fFGMsm 
fDataMsn 
fEmulMsn 
nTPFlag 

Definition at line 48 of file TPTask.h.

49  {
50  fEtMsm=0,
51  fFGMsm=1,
52  fDataMsn=2,
53  fEmulMsn=3,
54  nTPFlag=4
55  };

Constructor & Destructor Documentation

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

Definition at line 3 of file TPTask.cc.

References _cutEt, _skip1x1, _tagData, _tagEmul, _thresh_DataMsn, _thresh_EmulMsn, _thresh_EtMsmRate, _thresh_FGMsmRate, _tokData, _tokEmul, _vflags, fDataMsn, fEmulMsn, fEtMsm, fFGMsm, edm::ParameterSet::getUntrackedParameter(), HLT_25ns10e33_v2_cff::InputTag, and nTPFlag.

3  :
4  DQTask(ps)
5 {
6  _tagData = ps.getUntrackedParameter<edm::InputTag>("tagData",
7  edm::InputTag("hcalDigis"));
8  _tagEmul = ps.getUntrackedParameter<edm::InputTag>("tagEmul",
9  edm::InputTag("emulDigis"));
10 
11  _tokData = consumes<HcalTrigPrimDigiCollection>(_tagData);
12  _tokEmul = consumes<HcalTrigPrimDigiCollection>(_tagEmul);
13 
14  _skip1x1 = ps.getUntrackedParameter<bool>("skip1x1", true);
15  _cutEt = ps.getUntrackedParameter<int>("cutEt", 3);
16  _thresh_EtMsmRate = ps.getUntrackedParameter<double>("thresh_EtMsmRate",
17  0.1);
18  _thresh_FGMsmRate = ps.getUntrackedParameter<double>("thresh_FGMsmRate",
19  0.1);
20  _thresh_DataMsn = ps.getUntrackedParameter<double>("thresh_DataMsn",
21  0.1);
22  _thresh_EmulMsn = ps.getUntrackedParameter<double>("thresh_EmulMsn");
23 
24  _vflags.resize(nTPFlag);
25  _vflags[fEtMsm]=flag::Flag("EtMsm");
26  _vflags[fFGMsm]=flag::Flag("FGMsm");
27  _vflags[fDataMsn]=flag::Flag("DataMsn");
28  _vflags[fEmulMsn]=flag::Flag("EmulMsn");
29 }
bool _skip1x1
Definition: TPTask.h:58
edm::InputTag _tagData
Definition: TPTask.h:41
DQTask(edm::ParameterSet const &)
Definition: DQTask.cc:7
double _thresh_EtMsmRate
Definition: TPTask.h:60
std::vector< flag::Flag > _vflags
Definition: TPTask.h:47
edm::EDGetTokenT< HcalTrigPrimDigiCollection > _tokData
Definition: TPTask.h:43
int _cutEt
Definition: TPTask.h:59
double _thresh_EmulMsn
Definition: TPTask.h:60
double _thresh_FGMsmRate
Definition: TPTask.h:60
double _thresh_DataMsn
Definition: TPTask.h:60
edm::EDGetTokenT< HcalTrigPrimDigiCollection > _tokEmul
Definition: TPTask.h:44
edm::InputTag _tagEmul
Definition: TPTask.h:42
virtual TPTask::~TPTask ( )
inlinevirtual

Definition at line 28 of file TPTask.h.

28 {}

Member Function Documentation

void TPTask::_process ( edm::Event const &  e,
edm::EventSetup const &   
)
protectedvirtual

Implements hcaldqm::DQTask.

Definition at line 515 of file TPTask.cc.

References _cEtCorr2x3_TTSubdet, _cEtCorr_TTSubdet, _cEtCorrRatio_depthlike, _cEtCorrRatio_ElectronicsuTCA, _cEtCorrRatio_ElectronicsVME, _cEtCorrRatiovsBX_TTSubdet, _cEtCorrRatiovsLS_TTSubdet, _cEtCutData_depthlike, _cEtCutDatavsBX_TTSubdet, _cEtCutDatavsLS_TTSubdet, _cEtCutEmul_depthlike, _cEtCutEmulvsBX_TTSubdet, _cEtCutEmulvsLS_TTSubdet, _cEtData_depthlike, _cEtData_ElectronicsuTCA, _cEtData_ElectronicsVME, _cEtData_TTSubdet, _cEtEmul_depthlike, _cEtEmul_ElectronicsuTCA, _cEtEmul_ElectronicsVME, _cEtEmul_TTSubdet, _cEtMsm_depthlike, _cEtMsm_ElectronicsuTCA, _cEtMsm_ElectronicsVME, _cEtMsmRatiovsBX_TTSubdet, _cEtMsmRatiovsLS_TTSubdet, _cEtMsmvsBX_TTSubdet, _cEtMsmvsLS_TTSubdet, _cFGCorr_TTSubdet, _cFGMsm_depthlike, _cFGMsm_ElectronicsuTCA, _cFGMsm_ElectronicsVME, _cMsnCutDatavsBX_TTSubdet, _cMsnCutDatavsLS_TTSubdet, _cMsnCutEmulvsBX_TTSubdet, _cMsnCutEmulvsLS_TTSubdet, _cMsnData_ElectronicsuTCA, _cMsnData_ElectronicsVME, _cMsnDatavsBX_TTSubdet, _cMsnDatavsLS_TTSubdet, _cMsnEmul_depthlike, _cMsnEmul_ElectronicsuTCA, _cMsnEmul_ElectronicsVME, _cMsnEmulvsBX_TTSubdet, _cMsnEmulvsLS_TTSubdet, _cOccupancyCutData_depthlike, _cOccupancyCutData_ElectronicsuTCA, _cOccupancyCutData_ElectronicsVME, _cOccupancyCutDatavsBX_TTSubdet, _cOccupancyCutDatavsLS_TTSubdet, _cOccupancyCutEmul_depthlike, _cOccupancyCutEmul_ElectronicsuTCA, _cOccupancyCutEmul_ElectronicsVME, _cOccupancyCutEmulvsBX_TTSubdet, _cOccupancyCutEmulvsLS_TTSubdet, _cOccupancyData2x3_depthlike, _cOccupancyData_depthlike, _cOccupancyData_ElectronicsuTCA, _cOccupancyData_ElectronicsVME, _cOccupancyDatavsBX_TTSubdet, _cOccupancyDatavsLS_TTSubdet, _cOccupancyEmul2x3_depthlike, _cOccupancyEmul_depthlike, _cOccupancyEmul_ElectronicsuTCA, _cOccupancyEmul_ElectronicsVME, _cOccupancyEmulvsBX_TTSubdet, _cOccupancyEmulvsLS_TTSubdet, hcaldqm::DQModule::_currentLS, _cutEt, _ehashmap, hcaldqm::DQModule::_logger, hcaldqm::DQModule::_ptype, _tagData, _tagEmul, _tokData, _tokEmul, _xDataMsn, _xDataTotal, _xEmulMsn, _xEmulTotal, _xEtMsm, _xFGMsm, _xNumCorr, edm::EventBase::bunchCrossing(), Logger::dqmthrow(), hcaldqm::Container2D::fill(), hcaldqm::ContainerSingle2D::fill(), hcaldqm::Container1D::fill(), hcaldqm::fOnline, hcaldqm::ContainerXXX< STDTYPE >::get(), edm::Event::getByToken(), HcalTrigTowerDetId::ietaAbs(), edm::InputTag::instance(), HcalElectronicsId::isVMEid(), edm::InputTag::label(), hcaldqm::electronicsmap::ElectronicsMap::lookup(), bookConverter::max, min(), and HcalTrigTowerDetId::version().

517 {
520  if (!e.getByToken(_tokData, cdata))
521  _logger.dqmthrow("Collection HcalTrigPrimDigiCollection isn't available"
522  + _tagData.label() + " " + _tagData.instance());
523  if (!e.getByToken(_tokEmul, cemul))
524  _logger.dqmthrow("Collection HcalTrigPrimDigiCollection isn't available"
525  + _tagEmul.label() + " " + _tagEmul.instance());
526 
527  // extract some info per event
528  int bx = e.bunchCrossing();
529 
530  // some summaries... per event
531  int numHBHE(0), numHF(0), numCutHBHE(0), numCutHF(0);
532  int numCorrHBHE(0), numCorrHF(0);
533  int numMsmHBHE(0), numMsmHF(0);
534  int numMsnHBHE(0), numMsnHF(0), numMsnCutHBHE(0), numMsnCutHF(0);
535 
536  /*
537  * STEP1:
538  * Loop over the data digis and
539  * - do ... for all the data digis
540  * - find the emulator digi
541  * --- compare soi Et
542  * --- compare soi FG
543  * --- Do not fill anything for emulator Et!!!
544  */
545  for (HcalTrigPrimDigiCollection::const_iterator it=cdata->begin();
546  it!=cdata->end(); ++it)
547  {
548  HcalTrigTowerDetId tid = it->id();
549 
550  //
551  // HF 2x3 TPs Treat theam separately and only for ONLINE!
552  //
553  if (tid.version()==0 && tid.ietaAbs()>=29)
554  {
555  // do this only for online processing
556  if (_ptype==fOnline)
557  {
559  HcalTrigPrimDigiCollection::const_iterator jt=cemul->find(tid);
560  if (jt!=cemul->end())
561  _cEtCorr2x3_TTSubdet.fill(tid, it->SOI_compressedEt(),
562  jt->SOI_compressedEt());
563  }
564 
565  // skip to the next tp digi
566  continue;
567  }
568 
569  // FROM THIS POINT, HBHE + 1x1 HF TPs
571  int soiEt_d = it->SOI_compressedEt();
572  int soiFG_d = it->SOI_fineGrain()?1:0;
573  tid.ietaAbs()>=29?numHF++:numHBHE++;
574 
575  // fill w/o a cut
576  _cEtData_TTSubdet.fill(tid, soiEt_d);
577  _cEtData_depthlike.fill(tid, soiEt_d);
579  if (eid.isVMEid())
580  {
582  _cEtData_ElectronicsVME.fill(eid, soiEt_d);
583  }
584  else
585  {
587  _cEtData_ElectronicsuTCA.fill(eid, soiEt_d);
588  }
589 
590  // FILL w/a CUT
591  if (soiEt_d>_cutEt)
592  {
593  tid.ietaAbs()>=29?numCutHF++:numCutHBHE++;
595  _cEtCutData_depthlike.fill(tid, soiEt_d);
596 
597  // ONLINE ONLY!
598  if (_ptype==fOnline)
599  {
601  _cEtCutDatavsBX_TTSubdet.fill(tid, bx, soiEt_d);
602  _xDataTotal.get(eid)++;
603  }
604  // ^^^ONLINE ONLY!
605 
606  if (eid.isVMEid())
608  else
610  }
611 
612  // FIND the EMULATOR DIGI
613  HcalTrigPrimDigiCollection::const_iterator jt=cemul->find(tid);
614  if (jt!=cemul->end())
615  {
616  // if PRESENT!
617  int soiEt_e = jt->SOI_compressedEt();
618  int soiFG_e = jt->SOI_fineGrain()?1:0;
619  // if both are zeroes => set 1
620  double rEt = soiEt_d==0 && soiEt_e==0?1:
621  double(std::min(soiEt_d, soiEt_e))/
622  double(std::max(soiEt_e, soiEt_d));
623 
624  // ONLINE ONLY!
625  if (_ptype==fOnline)
626  {
627  _xNumCorr.get(eid)++;
628  tid.ietaAbs()>=29?numCorrHF++:numCorrHBHE++;
630  _cEtCorrRatiovsBX_TTSubdet.fill(tid, bx, rEt);
631  }
632  // ^^^ONLINE ONLY!
633 
634  _cEtCorrRatio_depthlike.fill(tid, rEt);
635  _cEtCorr_TTSubdet.fill(tid, soiEt_d, soiEt_e);
636  _cFGCorr_TTSubdet.fill(tid, soiFG_d, soiFG_e);
637  // FILL w/o a CUT
638  if (eid.isVMEid())
639  {
641  }
642  else
643  {
645  }
646 
647  // if SOI Et are not equal
648  // fill mismatched
649  if (soiEt_d!=soiEt_e)
650  {
651  tid.ietaAbs()>=29?numMsmHF++:numMsmHBHE++;
652  _cEtMsm_depthlike.fill(tid);
653  if (eid.isVMEid())
655  else
657  if (_ptype==fOnline)
658  _xEtMsm.get(eid)++;
659  }
660  // if SOI FG are not equal
661  // fill mismatched
662  if (soiFG_d!=soiFG_e)
663  {
664  _cFGMsm_depthlike.fill(tid);
665  if (eid.isVMEid())
667  else
669  if (_ptype==fOnline)
670  _xFGMsm.get(eid)++;
671  }
672  }
673  else
674  {
675  // IF MISSING
676  _cEtCorr_TTSubdet.fill(tid, soiEt_d, -2);
678  tid.ietaAbs()>=29?numMsnHF++:numMsnHBHE++;
679  if (eid.isVMEid())
681  else
683 
684  if (soiEt_d>_cutEt)
685  {
686  tid.ietaAbs()>=29?numMsnCutHF++:numMsnCutHBHE++;
687  if (_ptype==fOnline)
688  _xEmulMsn.get(eid)++;
689  }
690  }
691  }
692 
693  // ONLINE ONLY!
694  if (_ptype==fOnline)
695  {
697  numHBHE);
699  numHF);
701  numCutHBHE);
703  numCutHF);
705  _currentLS, numHBHE);
707  _currentLS,numHF);
709  _currentLS, numCutHBHE);
711  _currentLS, numCutHF);
712 
714  numMsmHBHE);
716  numMsmHF);
718  numMsmHBHE);
720  numMsmHF);
721 
723  double(numMsmHBHE)/double(numCorrHBHE));
725  double(numMsmHF)/double(numCorrHF));
727  double(numMsmHBHE)/double(numCorrHBHE));
729  double(numMsmHF)/double(numCorrHF));
730 
732  _currentLS, numMsnHBHE);
734  _currentLS, numMsnHF);
736  _currentLS, numMsnCutHBHE);
738  _currentLS, numMsnCutHF);
739 
741  bx, numMsnHBHE);
743  bx, numMsnHF);
745  bx, numMsnCutHBHE);
747  bx, numMsnCutHF);
748  }
749 
750  numHBHE=0; numHF=0; numCutHBHE=0; numCutHF=0;
751  numMsnHBHE=0; numMsnHF=0; numCutHBHE=0; numCutHF=0;
752 
753  /*
754  * STEP2:
755  * Loop over the emulator digis and
756  * - do ... for all the emulator digis
757  * - find data digi and
758  * --- if found skip
759  * --- if not found - fill the missing Data plot
760  */
761  for (HcalTrigPrimDigiCollection::const_iterator it=cemul->begin();
762  it!=cemul->end(); ++it)
763  {
764  HcalTrigTowerDetId tid = it->id();
765 
766  // HF 2x3 TPs. Only do it for Online!!!
767  if (tid.version()==0 && tid.ietaAbs()>=29)
768  {
769  // only do this for online processing
770  if (_ptype==fOnline)
772  continue;
773  }
775  int soiEt = it->SOI_compressedEt();
776 
777  // FILL/INCREMENT w/o a CUT
778  tid.ietaAbs()>=29?numHF++:numHBHE++;
779  _cEtEmul_TTSubdet.fill(tid, soiEt);
780  _cEtEmul_depthlike.fill(tid, soiEt);
782  if (eid.isVMEid())
783  {
785  _cEtEmul_ElectronicsVME.fill(eid, soiEt);
786  }
787  else
788  {
790  _cEtEmul_ElectronicsuTCA.fill(eid, soiEt);
791  }
792 
793  // FILL w/ a CUT
794  if (soiEt>_cutEt)
795  {
796  tid.ietaAbs()>=29?numCutHF++:numCutHBHE++;
798  _cEtCutEmul_depthlike.fill(tid, soiEt);
799  if (eid.isVMEid())
801  else
803 
804  // ONLINE ONLY!
805  if (_ptype==fOnline)
806  {
808  _cEtCutEmulvsBX_TTSubdet.fill(tid, bx, soiEt);
809  _xEmulTotal.get(eid)++;
810  }
811  // ^^^ONLINE ONLY!
812  }
813 
814  // FIND a data digi
815  HcalTrigPrimDigiCollection::const_iterator jt=cdata->find(tid);
816  if (jt==cdata->end())
817  {
818  tid.ietaAbs()>=29?numMsnHF++:numMsnHBHE++;
819  _cEtCorr_TTSubdet.fill(tid, -2, soiEt);
820  if (eid.isVMEid())
822  else
824  if (soiEt>_cutEt)
825  {
826  tid.ietaAbs()>=29?numMsnCutHF++:numMsnCutHBHE++;
827  if (_ptype==fOnline)
828  _xDataMsn.get(eid)++;
829  }
830  }
831  }
832 
833  // ONLINE ONLY!
834  if (_ptype==fOnline)
835  {
837  numHBHE);
839  numHF);
841  numCutHBHE);
843  numCutHF);
844 
846  _currentLS, numHBHE);
848  _currentLS,numHF);
850  _currentLS, numCutHBHE);
852  _currentLS, numCutHF);
853 
855  _currentLS, numMsnHBHE);
857  _currentLS, numMsnHF);
859  _currentLS, numMsnCutHBHE);
861  _currentLS, numMsnCutHF);
862 
864  bx, numMsnHBHE);
866  bx, numMsnHF);
868  bx, numMsnCutHBHE);
870  bx, numMsnCutHF);
871  }
872  // ^^^ONLINE ONLY!
873 }
Container2D _cMsnEmul_ElectronicsVME
Definition: TPTask.h:147
ContainerSingle2D _cEtMsm_depthlike
Definition: TPTask.h:130
edm::InputTag _tagData
Definition: TPTask.h:41
ContainerSingleProf2D _cEtEmul_depthlike
Definition: TPTask.h:93
Container2D _cEtMsm_ElectronicsVME
Definition: TPTask.h:126
ContainerProf1D _cEtCutEmulvsBX_TTSubdet
Definition: TPTask.h:84
ContainerSingle2D _cMsnEmul_depthlike
Definition: TPTask.h:149
ContainerProf1D _cOccupancyCutEmulvsLS_TTSubdet
Definition: TPTask.h:163
ContainerXXX< uint32_t > _xDataTotal
Definition: TPTask.h:168
edm::EDGetTokenT< HcalTrigPrimDigiCollection > _tokData
Definition: TPTask.h:43
ContainerProf1D _cEtCutEmulvsLS_TTSubdet
Definition: TPTask.h:82
std::vector< HcalTriggerPrimitiveDigi >::const_iterator const_iterator
ContainerProf1D _cOccupancyEmulvsLS_TTSubdet
Definition: TPTask.h:161
int _cutEt
Definition: TPTask.h:59
ContainerProf1D _cEtCorrRatiovsLS_TTSubdet
Definition: TPTask.h:101
Container1D _cEtEmul_TTSubdet
Definition: TPTask.h:77
ContainerProf1D _cEtCutDatavsLS_TTSubdet
Definition: TPTask.h:81
ContainerXXX< uint32_t > _xNumCorr
Definition: TPTask.h:168
ContainerProf2D _cEtEmul_ElectronicsuTCA
Definition: TPTask.h:89
ContainerProf1D _cOccupancyCutEmulvsBX_TTSubdet
Definition: TPTask.h:159
ContainerXXX< uint32_t > _xEmulMsn
Definition: TPTask.h:168
ContainerProf1D _cMsnCutEmulvsLS_TTSubdet
Definition: TPTask.h:151
Container2D _cFGMsm_ElectronicsuTCA
Definition: TPTask.h:129
ContainerProf1D _cOccupancyCutDatavsLS_TTSubdet
Definition: TPTask.h:162
Container2D _cFGMsm_ElectronicsVME
Definition: TPTask.h:128
Container2D _cOccupancyCutEmul_ElectronicsuTCA
Definition: TPTask.h:113
virtual void fill(HcalDetId const &)
Definition: Container2D.cc:59
Container2D _cEtCorr2x3_TTSubdet
Definition: TPTask.h:79
ProcessingType _ptype
Definition: DQModule.h:59
virtual void fill(uint32_t)
Definition: Container1D.cc:82
Container2D _cMsnEmul_ElectronicsuTCA
Definition: TPTask.h:148
ContainerProf1D _cMsnCutDatavsBX_TTSubdet
Definition: TPTask.h:144
ContainerSingle2D _cFGMsm_depthlike
Definition: TPTask.h:131
ContainerSingleProf2D _cEtCutEmul_depthlike
Definition: TPTask.h:95
void dqmthrow(std::string const &msg) const
Definition: Logger.h:15
Container2D _cEtCorr_TTSubdet
Definition: TPTask.h:78
ContainerXXX< uint32_t > _xFGMsm
Definition: TPTask.h:168
ContainerXXX< uint32_t > _xEtMsm
Definition: TPTask.h:168
ContainerSingle2D _cOccupancyData_depthlike
Definition: TPTask.h:116
ContainerProf1D _cEtMsmvsLS_TTSubdet
Definition: TPTask.h:132
ContainerProf1D _cMsnDatavsBX_TTSubdet
Definition: TPTask.h:143
Logger _logger
Definition: DQModule.h:70
T min(T a, T b)
Definition: MathUtil.h:58
Container2D _cOccupancyEmul_ElectronicsVME
Definition: TPTask.h:107
Container2D _cOccupancyEmul_ElectronicsuTCA
Definition: TPTask.h:108
Container2D _cMsnData_ElectronicsVME
Definition: TPTask.h:138
ContainerXXX< uint32_t > _xEmulTotal
Definition: TPTask.h:168
ContainerProf2D _cEtData_ElectronicsuTCA
Definition: TPTask.h:87
ContainerProf2D _cEtCorrRatio_ElectronicsuTCA
Definition: TPTask.h:99
ContainerProf1D _cOccupancyEmulvsBX_TTSubdet
Definition: TPTask.h:157
ContainerProf1D _cMsnEmulvsLS_TTSubdet
Definition: TPTask.h:150
Container2D _cFGCorr_TTSubdet
Definition: TPTask.h:80
ContainerProf1D _cEtCutDatavsBX_TTSubdet
Definition: TPTask.h:83
ContainerProf2D _cEtEmul_ElectronicsVME
Definition: TPTask.h:88
ContainerProf1D _cMsnEmulvsBX_TTSubdet
Definition: TPTask.h:152
bool isVMEid() const
ContainerSingleProf2D _cEtCutData_depthlike
Definition: TPTask.h:94
ContainerSingle2D _cOccupancyCutData_depthlike
Definition: TPTask.h:118
ContainerSingle2D _cOccupancyEmul_depthlike
Definition: TPTask.h:117
ContainerProf1D _cOccupancyDatavsBX_TTSubdet
Definition: TPTask.h:156
int version() const
get the version code for the trigger tower
ContainerProf2D _cEtData_ElectronicsVME
Definition: TPTask.h:86
Container2D _cOccupancyCutData_ElectronicsVME
Definition: TPTask.h:110
Container2D _cOccupancyData_ElectronicsuTCA
Definition: TPTask.h:106
ContainerProf1D _cMsnCutDatavsLS_TTSubdet
Definition: TPTask.h:142
ContainerSingleProf2D _cEtData_depthlike
Definition: TPTask.h:92
ContainerProf1D _cMsnCutEmulvsBX_TTSubdet
Definition: TPTask.h:153
ContainerProf1D _cEtMsmvsBX_TTSubdet
Definition: TPTask.h:134
Container1D _cEtData_TTSubdet
Definition: TPTask.h:76
std::string const & label() const
Definition: InputTag.h:36
ContainerSingleProf2D _cEtCorrRatio_depthlike
Definition: TPTask.h:100
ContainerProf2D _cEtCorrRatio_ElectronicsVME
Definition: TPTask.h:98
Container2D _cEtMsm_ElectronicsuTCA
Definition: TPTask.h:127
ContainerSingle2D _cOccupancyEmul2x3_depthlike
Definition: TPTask.h:123
Container2D _cMsnData_ElectronicsuTCA
Definition: TPTask.h:139
virtual STDTYPE & get(HcalDetId const &)
Definition: ContainerXXX.h:243
ContainerSingle2D _cOccupancyData2x3_depthlike
Definition: TPTask.h:122
ContainerProf1D _cMsnDatavsLS_TTSubdet
Definition: TPTask.h:141
edm::EDGetTokenT< HcalTrigPrimDigiCollection > _tokEmul
Definition: TPTask.h:44
ContainerXXX< uint32_t > _xDataMsn
Definition: TPTask.h:168
ContainerSingle2D _cOccupancyCutEmul_depthlike
Definition: TPTask.h:119
ContainerProf1D _cEtMsmRatiovsLS_TTSubdet
Definition: TPTask.h:133
ContainerProf1D _cEtMsmRatiovsBX_TTSubdet
Definition: TPTask.h:135
ContainerProf1D _cOccupancyDatavsLS_TTSubdet
Definition: TPTask.h:160
virtual void fill(int, int)
edm::InputTag _tagEmul
Definition: TPTask.h:42
Container2D _cOccupancyData_ElectronicsVME
Definition: TPTask.h:105
ContainerProf1D _cOccupancyCutDatavsBX_TTSubdet
Definition: TPTask.h:158
ContainerProf1D _cEtCorrRatiovsBX_TTSubdet
Definition: TPTask.h:102
Readout chain identification for Hcal.
std::string const & instance() const
Definition: InputTag.h:37
int ietaAbs() const
get the absolute value of the tower ieta
Container2D _cOccupancyCutData_ElectronicsuTCA
Definition: TPTask.h:111
electronicsmap::ElectronicsMap _ehashmap
Definition: TPTask.h:68
Container2D _cOccupancyCutEmul_ElectronicsVME
Definition: TPTask.h:112
void TPTask::_resetMonitors ( UpdateFreq  uf)
protectedvirtual

Reimplemented from hcaldqm::DQTask.

Definition at line 510 of file TPTask.cc.

511 {
512  DQTask::_resetMonitors(uf);
513 }
void TPTask::beginLuminosityBlock ( edm::LuminosityBlock const &  lb,
edm::EventSetup const &  es 
)
virtual

Reimplemented from hcaldqm::DQTask.

Definition at line 875 of file TPTask.cc.

877 {
878  DQTask::beginLuminosityBlock(lb, es);
879 
880  /*
881  // ONLINE ONLY!
882  if (_ptype!=fOnline)
883  return;
884  _cEtCutDatavsLS_TTSubdet.extendAxisRange(_currentLS);
885  _cEtCutEmulvsLS_TTSubdet.extendAxisRange(_currentLS);
886  _cEtCorrRatiovsLS_TTSubdet.extendAxisRange(_currentLS);
887  _cEtMsmvsLS_TTSubdet.extendAxisRange(_currentLS);
888  _cEtMsmRatiovsLS_TTSubdet.extendAxisRange(_currentLS);
889  _cMsnDatavsLS_TTSubdet.extendAxisRange(_currentLS);
890  _cMsnCutDatavsLS_TTSubdet.extendAxisRange(_currentLS);
891  _cMsnEmulvsLS_TTSubdet.extendAxisRange(_currentLS);
892  _cMsnCutEmulvsLS_TTSubdet.extendAxisRange(_currentLS);
893  _cOccupancyDatavsLS_TTSubdet.extendAxisRange(_currentLS);
894  _cOccupancyEmulvsLS_TTSubdet.extendAxisRange(_currentLS);
895  _cOccupancyCutDatavsLS_TTSubdet.extendAxisRange(_currentLS);
896  _cOccupancyCutEmulvsLS_TTSubdet.extendAxisRange(_currentLS);
897 // _cSummaryvsLS_FED.extendAxisRange(_currentLS);
898 // _cSummaryvsLS.extendAxisRange(_currentLS);
899 // */
900 }
void TPTask::bookHistograms ( DQMStore::IBooker ib,
edm::Run const &  r,
edm::EventSetup const &  es 
)
virtual

Reimplemented from hcaldqm::DQTask.

Definition at line 31 of file TPTask.cc.

References _cEtCorr2x3_TTSubdet, _cEtCorr_TTSubdet, _cEtCorrRatio_depthlike, _cEtCorrRatio_ElectronicsuTCA, _cEtCorrRatio_ElectronicsVME, _cEtCorrRatiovsBX_TTSubdet, _cEtCorrRatiovsLS_TTSubdet, _cEtCutData_depthlike, _cEtCutDatavsBX_TTSubdet, _cEtCutDatavsLS_TTSubdet, _cEtCutEmul_depthlike, _cEtCutEmulvsBX_TTSubdet, _cEtCutEmulvsLS_TTSubdet, _cEtData_depthlike, _cEtData_ElectronicsuTCA, _cEtData_ElectronicsVME, _cEtData_TTSubdet, _cEtEmul_depthlike, _cEtEmul_ElectronicsuTCA, _cEtEmul_ElectronicsVME, _cEtEmul_TTSubdet, _cEtMsm_depthlike, _cEtMsm_ElectronicsuTCA, _cEtMsm_ElectronicsVME, _cEtMsmRatiovsBX_TTSubdet, _cEtMsmRatiovsLS_TTSubdet, _cEtMsmvsBX_TTSubdet, _cEtMsmvsLS_TTSubdet, _cFGCorr_TTSubdet, _cFGMsm_depthlike, _cFGMsm_ElectronicsuTCA, _cFGMsm_ElectronicsVME, _cMsnCutDatavsBX_TTSubdet, _cMsnCutDatavsLS_TTSubdet, _cMsnCutEmulvsBX_TTSubdet, _cMsnCutEmulvsLS_TTSubdet, _cMsnData_depthlike, _cMsnData_ElectronicsuTCA, _cMsnData_ElectronicsVME, _cMsnDatavsBX_TTSubdet, _cMsnDatavsLS_TTSubdet, _cMsnEmul_depthlike, _cMsnEmul_ElectronicsuTCA, _cMsnEmul_ElectronicsVME, _cMsnEmulvsBX_TTSubdet, _cMsnEmulvsLS_TTSubdet, _cOccupancyCutData_depthlike, _cOccupancyCutData_ElectronicsuTCA, _cOccupancyCutData_ElectronicsVME, _cOccupancyCutDatavsBX_TTSubdet, _cOccupancyCutDatavsLS_TTSubdet, _cOccupancyCutEmul_depthlike, _cOccupancyCutEmul_ElectronicsuTCA, _cOccupancyCutEmul_ElectronicsVME, _cOccupancyCutEmulvsBX_TTSubdet, _cOccupancyCutEmulvsLS_TTSubdet, _cOccupancyData2x3_depthlike, _cOccupancyData_depthlike, _cOccupancyData_ElectronicsuTCA, _cOccupancyData_ElectronicsVME, _cOccupancyDatavsBX_TTSubdet, _cOccupancyDatavsLS_TTSubdet, _cOccupancyEmul2x3_depthlike, _cOccupancyEmul_depthlike, _cOccupancyEmul_ElectronicsuTCA, _cOccupancyEmul_ElectronicsVME, _cOccupancyEmulvsBX_TTSubdet, _cOccupancyEmulvsLS_TTSubdet, _cSummaryvsLS, _cSummaryvsLS_FED, _ehashmap, _emap, _filter_depth0, _filter_uTCA, _filter_VME, hcaldqm::DQModule::_maxLS, hcaldqm::DQModule::_name, hcaldqm::DQModule::_ptype, hcaldqm::DQModule::_subsystem, _vflags, _vhashFEDs, _xDataMsn, _xDataTotal, _xEmulMsn, _xEmulTotal, _xEtMsm, _xFGMsm, _xNumCorr, hcaldqm::ContainerXXX< STDTYPE >::book(), hcaldqm::ContainerSingleProf2D::book(), hcaldqm::ContainerProf2D::book(), hcaldqm::ContainerProf1D::book(), hcaldqm::ContainerSingle2D::book(), hcaldqm::Container2D::book(), hcaldqm::Container1D::book(), bookHistograms(), hcaldqm::constants::CRATE_uTCA_MIN, hcaldqm::constants::CRATE_VME_MIN, hcaldqm::quantity::fBX, hcaldqm::utilities::fed2crate(), hcaldqm::constants::FED_VME_MIN, hcaldqm::hashfunctions::fElectronics, hcaldqm::quantity::fEt_128, hcaldqm::quantity::fEt_256, hcaldqm::quantity::fEtCorr_256, hcaldqm::quantity::fFED, hcaldqm::quantity::fFG, hcaldqm::filter::fFilter, hcaldqm::constants::FIBER_uTCA_MIN1, hcaldqm::constants::FIBER_VME_MIN, hcaldqm::constants::FIBERCH_MIN, hcaldqm::quantity::fN, hcaldqm::fOnline, hcaldqm::filter::fPreserver, hcaldqm::quantity::fRatio, hcaldqm::quantity::fRatio_0to2, hcaldqm::quantity::fSlotuTCA, hcaldqm::quantity::fSpigot, hcaldqm::quantity::fState, hcaldqm::electronicsmap::fT2EHashMap, hcaldqm::hashfunctions::fTTdepth, hcaldqm::quantity::fTTieta, hcaldqm::quantity::fTTieta2x3, hcaldqm::quantity::fTTiphi, hcaldqm::hashfunctions::fTTSubdet, edm::EventSetup::get(), hcaldqm::utilities::getFEDList(), hcaldqm::utilities::getFEDuTCAList(), hcaldqm::utilities::getFEDVMEList(), hcaldqm::ContainerSingleProf2D::initialize(), hcaldqm::ContainerProf2D::initialize(), hcaldqm::ContainerProf1D::initialize(), hcaldqm::Container2D::initialize(), hcaldqm::ContainerXXX< STDTYPE >::initialize(), hcaldqm::ContainerSingle2D::initialize(), hcaldqm::filter::HashFilter::initialize(), hcaldqm::electronicsmap::ElectronicsMap::initialize(), hcaldqm::Container1D::initialize(), hcaldqm::constants::SLOT_uTCA_MIN, and hcaldqm::constants::SPIGOT_MIN.

33 {
35 
36  // GET WHAT YOU NEED
38  es.get<HcalDbRecord>().get(dbs);
39  _emap = dbs->getHcalMapping();
40  std::vector<int> vFEDs = utilities::getFEDList(_emap);
41  std::vector<int> vFEDsVME = utilities::getFEDVMEList(_emap);
42  std::vector<int> vFEDsuTCA = utilities::getFEDuTCAList(_emap);
43  std::vector<uint32_t> vVME;
44  std::vector<uint32_t> vuTCA;
45  std::vector<uint32_t> depth0;
46  vVME.push_back(HcalElectronicsId(FIBERCH_MIN,
49  FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
51  vVME);
53  vuTCA);
54  depth0.push_back(HcalTrigTowerDetId(1, 1, 0).rawId());
56  depth0);
57 
58  // push the rawIds of each fed into the vector
59  // this vector is used at endlumi for online state generation
60  for (std::vector<int>::const_iterator it=vFEDsVME.begin();
61  it!=vFEDsVME.end(); ++it)
62  {
64  SPIGOT_MIN, (*it)-FED_VME_MIN).rawId());
65  }
66  for (std::vector<int>::const_iterator it=vFEDsuTCA.begin();
67  it!=vFEDsuTCA.end(); ++it)
68  {
70  SLOT_uTCA_MIN, FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
71  }
72 
73  // INITIALIZE FIRST
74  // Et/FG
89 
92  new quantity::FEDQuantity(vFEDsVME),
97  new quantity::FEDQuantity(vFEDsuTCA),
102  new quantity::FEDQuantity(vFEDsVME),
107  new quantity::FEDQuantity(vFEDsuTCA),
126 
127  // Occupancies
130  new quantity::FEDQuantity(vFEDsVME),
135  new quantity::FEDQuantity(vFEDsVME),
140  new quantity::FEDQuantity(vFEDsuTCA),
145  new quantity::FEDQuantity(vFEDsuTCA),
148 
151  new quantity::FEDQuantity(vFEDsVME),
156  new quantity::FEDQuantity(vFEDsVME),
161  new quantity::FEDQuantity(vFEDsuTCA),
166  new quantity::FEDQuantity(vFEDsuTCA),
169 
170  _cOccupancyData_depthlike.initialize(_name, "OccupancyData",
174  _cOccupancyEmul_depthlike.initialize(_name, "OccupancyEmul",
178  _cOccupancyCutData_depthlike.initialize(_name, "OccupancyCutData",
182  _cOccupancyCutEmul_depthlike.initialize(_name, "OccupancyCutEmul",
186 
187  // Mismatches
190  new quantity::FEDQuantity(vFEDsVME),
195  new quantity::FEDQuantity(vFEDsVME),
200  new quantity::FEDQuantity(vFEDsuTCA),
205  new quantity::FEDQuantity(vFEDsuTCA),
216 
217  // Missing Data w.r.t. Emulator
220  new quantity::FEDQuantity(vFEDsVME),
225  new quantity::FEDQuantity(vFEDsuTCA),
230  new quantity::FEDQuantity(vFEDsVME),
235  new quantity::FEDQuantity(vFEDsuTCA),
248  new quantity::FEDQuantity(vFEDsVME),
253  new quantity::FEDQuantity(vFEDsuTCA),
260 
261  _cOccupancyDatavsBX_TTSubdet.initialize(_name, "OccupancyDatavsBX",
265  _cOccupancyEmulvsBX_TTSubdet.initialize(_name, "OccupancyEmulvsBX",
269  _cOccupancyCutDatavsBX_TTSubdet.initialize(_name, "OccupancyCutDatavsBX",
273  _cOccupancyCutEmulvsBX_TTSubdet.initialize(_name, "OccupancyCutEmulvsBX",
277 
278  // INITIALIZE HISTOGRAMS to be used in Online only!
279  if (_ptype==fOnline)
280  {
281  _cEtCorr2x3_TTSubdet.initialize(_name, "EtCorr2x3",
286  _cOccupancyData2x3_depthlike.initialize(_name, "OccupancyData2x3",
290  _cOccupancyEmul2x3_depthlike.initialize(_name, "OccupancyEmul2x3",
294  _cEtCutDatavsLS_TTSubdet.initialize(_name, "EtCutDatavsLS",
298  _cEtCutEmulvsLS_TTSubdet.initialize(_name, "EtCutEmulvsLS",
302  _cEtCutDatavsBX_TTSubdet.initialize(_name, "EtCutDatavsBX",
306  _cEtCutEmulvsBX_TTSubdet.initialize(_name, "EtCutEmulvsBX",
310  _cEtCorrRatiovsLS_TTSubdet.initialize(_name, "EtCorrRatiovsLS",
314  _cEtCorrRatiovsBX_TTSubdet.initialize(_name, "EtCorrRatiovsBX",
318  _cEtMsmRatiovsLS_TTSubdet.initialize(_name, "EtMsmRatiovsLS",
322  _cEtMsmRatiovsBX_TTSubdet.initialize(_name, "EtMsmRatiovsBX",
334  _cMsnDatavsLS_TTSubdet.initialize(_name, "MsnDatavsLS",
338  _cMsnCutDatavsLS_TTSubdet.initialize(_name, "MsnCutDatavsLS",
342  _cMsnDatavsBX_TTSubdet.initialize(_name, "MsnDatavsBX",
346  _cMsnCutDatavsBX_TTSubdet.initialize(_name, "MsnCutDatavsBX",
350  _cMsnEmulvsLS_TTSubdet.initialize(_name, "MsnEmulvsLS",
354  _cMsnCutEmulvsLS_TTSubdet.initialize(_name, "MsnCutEmulvsLS",
358  _cMsnEmulvsBX_TTSubdet.initialize(_name, "MsnEmulvsBX",
362  _cMsnCutEmulvsBX_TTSubdet.initialize(_name, "MsnCutEmulvsBX",
366  _cOccupancyDatavsLS_TTSubdet.initialize(_name, "OccupancyDatavsLS",
371  "OccupancyCutDatavsLS",
375  _cOccupancyDatavsBX_TTSubdet.initialize(_name, "OccupancyDatavsBX",
380  "OccupancyCutDatavsBX",
384  _cOccupancyEmulvsLS_TTSubdet.initialize(_name, "OccupancyEmulvsLS",
389  "OccupancyCutEmulvsLS",
393  _cOccupancyEmulvsBX_TTSubdet.initialize(_name, "OccupancyEmulvsBX",
398  "OccupancyCutEmulvsBX",
402  _cSummaryvsLS_FED.initialize(_name, "SummaryvsLS",
407  _cSummaryvsLS.initialize(_name, "SummaryvsLS",
409  new quantity::FEDQuantity(vFEDs),
411 
419  }
420 
421  // BOOK HISTOGRAMS
461 
462  // whatever has to go online only goes here
463  if (_ptype==fOnline)
464  {
496 
497  _xEtMsm.book(_emap);
498  _xFGMsm.book(_emap);
504  }
505 
506  // initialize the hash map
508 }
HashFilter _filter_uTCA
Definition: TPTask.h:72
Container2D _cMsnEmul_ElectronicsVME
Definition: TPTask.h:147
ContainerSingle2D _cEtMsm_depthlike
Definition: TPTask.h:130
HashFilter _filter_depth0
Definition: TPTask.h:73
virtual void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *qy=new ValueQuantity(quantity::fN), int debug=0)
Definition: Container1D.cc:40
ContainerSingleProf2D _cEtEmul_depthlike
Definition: TPTask.h:93
int const CRATE_VME_MIN
Definition: Constants.h:60
Container2D _cEtMsm_ElectronicsVME
Definition: TPTask.h:126
uint16_t fed2crate(int fed)
Definition: Utilities.cc:12
ContainerProf1D _cEtCutEmulvsBX_TTSubdet
Definition: TPTask.h:84
ContainerSingle2D _cMsnEmul_depthlike
Definition: TPTask.h:149
std::vector< uint32_t > _vhashFEDs
Definition: TPTask.h:64
ContainerProf1D _cOccupancyCutEmulvsLS_TTSubdet
Definition: TPTask.h:163
ContainerXXX< uint32_t > _xDataTotal
Definition: TPTask.h:168
std::vector< flag::Flag > _vflags
Definition: TPTask.h:47
void initialize(HcalElectronicsMap const *, ElectronicsMapType etype=fHcalElectronicsMap)
ContainerProf1D _cEtCutEmulvsLS_TTSubdet
Definition: TPTask.h:82
ContainerProf1D _cOccupancyEmulvsLS_TTSubdet
Definition: TPTask.h:161
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
int const SPIGOT_MIN
Definition: Constants.h:85
ContainerProf1D _cEtCorrRatiovsLS_TTSubdet
Definition: TPTask.h:101
Container1D _cEtEmul_TTSubdet
Definition: TPTask.h:77
ContainerProf1D _cEtCutDatavsLS_TTSubdet
Definition: TPTask.h:81
ContainerXXX< uint32_t > _xNumCorr
Definition: TPTask.h:168
HashFilter _filter_VME
Definition: TPTask.h:71
int const FIBER_VME_MIN
Definition: Constants.h:90
ContainerProf2D _cEtEmul_ElectronicsuTCA
Definition: TPTask.h:89
ContainerProf1D _cOccupancyCutEmulvsBX_TTSubdet
Definition: TPTask.h:159
ContainerXXX< uint32_t > _xEmulMsn
Definition: TPTask.h:168
void bookHistograms(fwlite::EventContainer &eventCont)
ContainerProf1D _cMsnCutEmulvsLS_TTSubdet
Definition: TPTask.h:151
int const FIBERCH_MIN
Definition: Constants.h:100
virtual void initialize(std::string const &folder, Quantity *, Quantity *, Quantity *qz=new ValueQuantity(quantity::fN), int debug=0)
Container2D _cFGMsm_ElectronicsuTCA
Definition: TPTask.h:129
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
std::vector< int > getFEDVMEList(HcalElectronicsMap const *)
Definition: Utilities.cc:71
ContainerProf1D _cOccupancyCutDatavsLS_TTSubdet
Definition: TPTask.h:162
Container2D _cFGMsm_ElectronicsVME
Definition: TPTask.h:128
Container2D _cOccupancyCutEmul_ElectronicsuTCA
Definition: TPTask.h:113
Container2D _cEtCorr2x3_TTSubdet
Definition: TPTask.h:79
ProcessingType _ptype
Definition: DQModule.h:59
Container2D _cMsnEmul_ElectronicsuTCA
Definition: TPTask.h:148
virtual void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *, int debug=0)
ContainerProf1D _cMsnCutDatavsBX_TTSubdet
Definition: TPTask.h:144
ContainerSingle2D _cFGMsm_depthlike
Definition: TPTask.h:131
ContainerSingleProf2D _cEtCutEmul_depthlike
Definition: TPTask.h:95
HcalElectronicsMap const * _emap
Definition: TPTask.h:67
int const FED_VME_MIN
Definition: Constants.h:47
virtual void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *, Quantity *qz=new ValueQuantity(quantity::fEnergy), int debug=0)
Container2D _cEtCorr_TTSubdet
Definition: TPTask.h:78
ContainerXXX< uint32_t > _xFGMsm
Definition: TPTask.h:168
ContainerXXX< uint32_t > _xEtMsm
Definition: TPTask.h:168
ContainerSingle2D _cOccupancyData_depthlike
Definition: TPTask.h:116
virtual void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *, Quantity *qz=new ValueQuantity(quantity::fN), int debug=0)
Definition: Container2D.cc:32
int const FIBER_uTCA_MIN1
Definition: Constants.h:93
ContainerProf1D _cEtMsmvsLS_TTSubdet
Definition: TPTask.h:132
ContainerProf1D _cMsnDatavsBX_TTSubdet
Definition: TPTask.h:143
ContainerSingle2D _cSummaryvsLS
Definition: TPTask.h:167
Container2D _cOccupancyEmul_ElectronicsVME
Definition: TPTask.h:107
std::string _name
Definition: DQModule.h:57
Container2D _cOccupancyEmul_ElectronicsuTCA
Definition: TPTask.h:108
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
Container2D _cMsnData_ElectronicsVME
Definition: TPTask.h:138
ContainerXXX< uint32_t > _xEmulTotal
Definition: TPTask.h:168
ContainerProf2D _cEtData_ElectronicsuTCA
Definition: TPTask.h:87
ContainerProf2D _cEtCorrRatio_ElectronicsuTCA
Definition: TPTask.h:99
int const CRATE_uTCA_MIN
Definition: Constants.h:65
ContainerProf1D _cOccupancyEmulvsBX_TTSubdet
Definition: TPTask.h:157
ContainerProf1D _cMsnEmulvsLS_TTSubdet
Definition: TPTask.h:150
Container2D _cFGCorr_TTSubdet
Definition: TPTask.h:80
ContainerProf1D _cEtCutDatavsBX_TTSubdet
Definition: TPTask.h:83
ContainerProf2D _cEtEmul_ElectronicsVME
Definition: TPTask.h:88
ContainerProf1D _cMsnEmulvsBX_TTSubdet
Definition: TPTask.h:152
ContainerSingleProf2D _cEtCutData_depthlike
Definition: TPTask.h:94
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
Definition: Container2D.cc:895
virtual void book(HcalElectronicsMap const *)
Definition: ContainerXXX.h:93
virtual void initialize(std::string const &folder, Quantity *, Quantity *, Quantity *qz=new ValueQuantity(quantity::fN), int debug=0)
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
Definition: Container1D.cc:957
ContainerSingle2D _cOccupancyCutData_depthlike
Definition: TPTask.h:118
ContainerSingle2D _cOccupancyEmul_depthlike
Definition: TPTask.h:117
Container2D _cSummaryvsLS_FED
Definition: TPTask.h:166
ContainerProf1D _cOccupancyDatavsBX_TTSubdet
Definition: TPTask.h:156
ContainerProf2D _cEtData_ElectronicsVME
Definition: TPTask.h:86
Container2D _cOccupancyCutData_ElectronicsVME
Definition: TPTask.h:110
Container2D _cOccupancyData_ElectronicsuTCA
Definition: TPTask.h:106
ContainerProf1D _cMsnCutDatavsLS_TTSubdet
Definition: TPTask.h:142
ContainerSingleProf2D _cEtData_depthlike
Definition: TPTask.h:92
ContainerProf1D _cMsnCutEmulvsBX_TTSubdet
Definition: TPTask.h:153
ContainerProf1D _cEtMsmvsBX_TTSubdet
Definition: TPTask.h:134
Container1D _cEtData_TTSubdet
Definition: TPTask.h:76
ContainerSingleProf2D _cEtCorrRatio_depthlike
Definition: TPTask.h:100
ContainerSingle2D _cMsnData_depthlike
Definition: TPTask.h:140
ContainerProf2D _cEtCorrRatio_ElectronicsVME
Definition: TPTask.h:98
Container2D _cEtMsm_ElectronicsuTCA
Definition: TPTask.h:127
ContainerSingle2D _cOccupancyEmul2x3_depthlike
Definition: TPTask.h:123
Container2D _cMsnData_ElectronicsuTCA
Definition: TPTask.h:139
ContainerSingle2D _cOccupancyData2x3_depthlike
Definition: TPTask.h:122
ContainerProf1D _cMsnDatavsLS_TTSubdet
Definition: TPTask.h:141
std::vector< int > getFEDList(HcalElectronicsMap const *)
Definition: Utilities.cc:47
ContainerXXX< uint32_t > _xDataMsn
Definition: TPTask.h:168
std::vector< int > getFEDuTCAList(HcalElectronicsMap const *)
Definition: Utilities.cc:97
std::string _subsystem
Definition: DQModule.h:64
ContainerSingle2D _cOccupancyCutEmul_depthlike
Definition: TPTask.h:119
ContainerProf1D _cEtMsmRatiovsLS_TTSubdet
Definition: TPTask.h:133
ContainerProf1D _cEtMsmRatiovsBX_TTSubdet
Definition: TPTask.h:135
ContainerProf1D _cOccupancyDatavsLS_TTSubdet
Definition: TPTask.h:160
virtual void initialize(hashfunctions::HashType, int debug=0)
Definition: ContainerXXX.h:85
virtual void initialize(FilterType ftype, HashType htype, std::vector< uint32_t > const &)
Definition: HashFilter.cc:26
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
Container2D _cOccupancyData_ElectronicsVME
Definition: TPTask.h:105
ContainerProf1D _cOccupancyCutDatavsBX_TTSubdet
Definition: TPTask.h:158
ContainerProf1D _cEtCorrRatiovsBX_TTSubdet
Definition: TPTask.h:102
Readout chain identification for Hcal.
Container2D _cOccupancyCutData_ElectronicsuTCA
Definition: TPTask.h:111
int const SLOT_uTCA_MIN
Definition: Constants.h:72
electronicsmap::ElectronicsMap _ehashmap
Definition: TPTask.h:68
Container2D _cOccupancyCutEmul_ElectronicsVME
Definition: TPTask.h:112
void TPTask::endLuminosityBlock ( edm::LuminosityBlock const &  lb,
edm::EventSetup const &  es 
)
virtual

Reimplemented from hcaldqm::DQTask.

Definition at line 902 of file TPTask.cc.

References _cSummaryvsLS, _cSummaryvsLS_FED, hcaldqm::DQModule::_currentLS, hcaldqm::DQModule::_ptype, hcaldqm::flag::Flag::_state, _thresh_EtMsmRate, _thresh_FGMsmRate, hcaldqm::DQTask::_vcdaqEids, _vflags, _vhashFEDs, _xDataMsn, _xDataTotal, _xEmulMsn, _xEmulTotal, _xEtMsm, _xFGMsm, _xNumCorr, hcaldqm::flag::fBAD, fEtMsm, fFGMsm, hcaldqm::flag::fGOOD, spr::find(), hcaldqm::flag::fNCDAQ, hcaldqm::fOnline, hcaldqm::ContainerXXX< STDTYPE >::get(), hcaldqm::utilities::isFEDHBHE(), hcaldqm::utilities::isFEDHF(), hcaldqm::ContainerXXX< STDTYPE >::reset(), hcaldqm::flag::Flag::reset(), hcaldqm::Container2D::setBinContent(), and hcaldqm::ContainerSingle2D::setBinContent().

904 {
905  if (_ptype!=fOnline)
906  return;
907 
908  //
909  // GENERATE STATUS ONLY FOR ONLINE!
910  //
911  for (std::vector<uint32_t>::const_iterator it=_vhashFEDs.begin();
912  it!=_vhashFEDs.end(); ++it)
913  {
914  flag::Flag fSum("TP");
916 
917  std::vector<uint32_t>::const_iterator cit=std::find(
918  _vcdaqEids.begin(), _vcdaqEids.end(), *it);
919  if (cit==_vcdaqEids.end())
920  {
921  // not @cDAQ
922  for (uint32_t iflag=0; iflag<_vflags.size(); iflag++)
923  _cSummaryvsLS_FED.setBinContent(eid, _currentLS, int(iflag),
924  int(flag::fNCDAQ));
926  continue;
927  }
928 
929  if (utilities::isFEDHBHE(eid) || utilities::isFEDHF(eid))
930  {
931  // FED is @cDAQ
932  double etmsm = _xNumCorr.get(eid)>0?
933  double(_xEtMsm.get(eid))/double(_xNumCorr.get(eid)):0;
934  double fgmsm = _xNumCorr.get(eid)>0?
935  double(_xFGMsm.get(eid))/double(_xNumCorr.get(eid)):0;
936  /*
937  * UNUSED VARS
938  * double dmsm = _xDataTotal.get(eid)>0?
939  double(_xDataMsn.get(eid))/double(_xDataTotal.get(eid)):0;
940  double emsm = _xEmulTotal.get(eid)>0?
941  double(_xEmulMsn.get(eid))/double(_xEmulTotal.get(eid)):0;
942  */
943  if (etmsm>=_thresh_EtMsmRate)
944  _vflags[fEtMsm]._state = flag::fBAD;
945  else
946  _vflags[fEtMsm]._state = flag::fGOOD;
947  if (fgmsm>=_thresh_FGMsmRate)
948  _vflags[fFGMsm]._state = flag::fBAD;
949  else
950  _vflags[fFGMsm]._state = flag::fGOOD;
951  /*
952  * DISABLE THESE FLAGS FOR ONLINE FOR NOW!
953  if (dmsm>=_thresh_DataMsn)
954  _vflags[fDataMsn]._state = flag::fBAD;
955  else
956  _vflags[fDataMsn]._state = flag::fGOOD;
957  if (emsm>=_thresh_EmulMsn)
958  _vflags[fEmulMsn]._state = flag::fBAD;
959  else
960  _vflags[fEmulMsn]._state = flag::fGOOD;
961  */
962  }
963 
964  int iflag=0;
965  for (std::vector<flag::Flag>::iterator ft=_vflags.begin();
966  ft!=_vflags.end(); ++ft)
967  {
968  _cSummaryvsLS_FED.setBinContent(eid, _currentLS, int(iflag),
969  ft->_state);
970  fSum+=(*ft);
971  iflag++;
972 
973  // this is the MUST!
974  // reset after using this flag
975  ft->reset();
976  }
977  _cSummaryvsLS.setBinContent(eid, _currentLS, int(fSum._state));
978  }
979 
980  // reset...
983  _xEmulTotal.reset();
984 
985  // in the end always do the DQTask::endLumi
986  DQTask::endLuminosityBlock(lb, es);
987 }
virtual void setBinContent(HcalDetId const &, int)
Definition: Container2D.cc:235
double _thresh_EtMsmRate
Definition: TPTask.h:60
std::vector< uint32_t > _vhashFEDs
Definition: TPTask.h:64
ContainerXXX< uint32_t > _xDataTotal
Definition: TPTask.h:168
std::vector< flag::Flag > _vflags
Definition: TPTask.h:47
virtual void reset()
Definition: ContainerXXX.h:342
ContainerXXX< uint32_t > _xNumCorr
Definition: TPTask.h:168
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:7
ContainerXXX< uint32_t > _xEmulMsn
Definition: TPTask.h:168
ProcessingType _ptype
Definition: DQModule.h:59
virtual void setBinContent(int, int, int)
ContainerXXX< uint32_t > _xFGMsm
Definition: TPTask.h:168
ContainerXXX< uint32_t > _xEtMsm
Definition: TPTask.h:168
double _thresh_FGMsmRate
Definition: TPTask.h:60
ContainerSingle2D _cSummaryvsLS
Definition: TPTask.h:167
ContainerXXX< uint32_t > _xEmulTotal
Definition: TPTask.h:168
bool isFEDHBHE(HcalElectronicsId const &)
Definition: Utilities.cc:124
Container2D _cSummaryvsLS_FED
Definition: TPTask.h:166
virtual STDTYPE & get(HcalDetId const &)
Definition: ContainerXXX.h:243
ContainerXXX< uint32_t > _xDataMsn
Definition: TPTask.h:168
std::vector< uint32_t > _vcdaqEids
Definition: DQTask.h:65
Readout chain identification for Hcal.
bool isFEDHF(HcalElectronicsId const &)
Definition: Utilities.cc:146

Member Data Documentation

Container2D TPTask::_cEtCorr2x3_TTSubdet
protected

Definition at line 79 of file TPTask.h.

Referenced by _process(), and bookHistograms().

Container2D TPTask::_cEtCorr_TTSubdet
protected

Definition at line 78 of file TPTask.h.

Referenced by _process(), and bookHistograms().

ContainerSingleProf2D TPTask::_cEtCorrRatio_depthlike
protected

Definition at line 100 of file TPTask.h.

Referenced by _process(), and bookHistograms().

ContainerProf2D TPTask::_cEtCorrRatio_ElectronicsuTCA
protected

Definition at line 99 of file TPTask.h.

Referenced by _process(), and bookHistograms().

ContainerProf2D TPTask::_cEtCorrRatio_ElectronicsVME
protected

Definition at line 98 of file TPTask.h.

Referenced by _process(), and bookHistograms().

ContainerProf1D TPTask::_cEtCorrRatiovsBX_TTSubdet
protected

Definition at line 102 of file TPTask.h.

Referenced by _process(), and bookHistograms().

ContainerProf1D TPTask::_cEtCorrRatiovsLS_TTSubdet
protected

Definition at line 101 of file TPTask.h.

Referenced by _process(), and bookHistograms().

ContainerSingleProf2D TPTask::_cEtCutData_depthlike
protected

Definition at line 94 of file TPTask.h.

Referenced by _process(), and bookHistograms().

ContainerProf1D TPTask::_cEtCutDatavsBX_TTSubdet
protected

Definition at line 83 of file TPTask.h.

Referenced by _process(), and bookHistograms().

ContainerProf1D TPTask::_cEtCutDatavsLS_TTSubdet
protected

Definition at line 81 of file TPTask.h.

Referenced by _process(), and bookHistograms().

ContainerSingleProf2D TPTask::_cEtCutEmul_depthlike
protected

Definition at line 95 of file TPTask.h.

Referenced by _process(), and bookHistograms().

ContainerProf1D TPTask::_cEtCutEmulvsBX_TTSubdet
protected

Definition at line 84 of file TPTask.h.

Referenced by _process(), and bookHistograms().

ContainerProf1D TPTask::_cEtCutEmulvsLS_TTSubdet
protected

Definition at line 82 of file TPTask.h.

Referenced by _process(), and bookHistograms().

ContainerSingleProf2D TPTask::_cEtData_depthlike
protected

Definition at line 92 of file TPTask.h.

Referenced by _process(), and bookHistograms().

ContainerProf2D TPTask::_cEtData_ElectronicsuTCA
protected

Definition at line 87 of file TPTask.h.

Referenced by _process(), and bookHistograms().

ContainerProf2D TPTask::_cEtData_ElectronicsVME
protected

Definition at line 86 of file TPTask.h.

Referenced by _process(), and bookHistograms().

Container1D TPTask::_cEtData_TTSubdet
protected

Definition at line 76 of file TPTask.h.

Referenced by _process(), and bookHistograms().

ContainerSingleProf2D TPTask::_cEtEmul_depthlike
protected

Definition at line 93 of file TPTask.h.

Referenced by _process(), and bookHistograms().

ContainerProf2D TPTask::_cEtEmul_ElectronicsuTCA
protected

Definition at line 89 of file TPTask.h.

Referenced by _process(), and bookHistograms().

ContainerProf2D TPTask::_cEtEmul_ElectronicsVME
protected

Definition at line 88 of file TPTask.h.

Referenced by _process(), and bookHistograms().

Container1D TPTask::_cEtEmul_TTSubdet
protected

Definition at line 77 of file TPTask.h.

Referenced by _process(), and bookHistograms().

ContainerSingle2D TPTask::_cEtMsm_depthlike
protected

Definition at line 130 of file TPTask.h.

Referenced by _process(), and bookHistograms().

Container2D TPTask::_cEtMsm_ElectronicsuTCA
protected

Definition at line 127 of file TPTask.h.

Referenced by _process(), and bookHistograms().

Container2D TPTask::_cEtMsm_ElectronicsVME
protected

Definition at line 126 of file TPTask.h.

Referenced by _process(), and bookHistograms().

ContainerProf1D TPTask::_cEtMsmRatiovsBX_TTSubdet
protected

Definition at line 135 of file TPTask.h.

Referenced by _process(), and bookHistograms().

ContainerProf1D TPTask::_cEtMsmRatiovsLS_TTSubdet
protected

Definition at line 133 of file TPTask.h.

Referenced by _process(), and bookHistograms().

ContainerProf1D TPTask::_cEtMsmvsBX_TTSubdet
protected

Definition at line 134 of file TPTask.h.

Referenced by _process(), and bookHistograms().

ContainerProf1D TPTask::_cEtMsmvsLS_TTSubdet
protected

Definition at line 132 of file TPTask.h.

Referenced by _process(), and bookHistograms().

Container2D TPTask::_cFGCorr_TTSubdet
protected

Definition at line 80 of file TPTask.h.

Referenced by _process(), and bookHistograms().

ContainerSingle2D TPTask::_cFGMsm_depthlike
protected

Definition at line 131 of file TPTask.h.

Referenced by _process(), and bookHistograms().

Container2D TPTask::_cFGMsm_ElectronicsuTCA
protected

Definition at line 129 of file TPTask.h.

Referenced by _process(), and bookHistograms().

Container2D TPTask::_cFGMsm_ElectronicsVME
protected

Definition at line 128 of file TPTask.h.

Referenced by _process(), and bookHistograms().

ContainerProf1D TPTask::_cMsnCutDatavsBX_TTSubdet
protected

Definition at line 144 of file TPTask.h.

Referenced by _process(), and bookHistograms().

ContainerProf1D TPTask::_cMsnCutDatavsLS_TTSubdet
protected

Definition at line 142 of file TPTask.h.

Referenced by _process(), and bookHistograms().

ContainerProf1D TPTask::_cMsnCutEmulvsBX_TTSubdet
protected

Definition at line 153 of file TPTask.h.

Referenced by _process(), and bookHistograms().

ContainerProf1D TPTask::_cMsnCutEmulvsLS_TTSubdet
protected

Definition at line 151 of file TPTask.h.

Referenced by _process(), and bookHistograms().

ContainerSingle2D TPTask::_cMsnData_depthlike
protected

Definition at line 140 of file TPTask.h.

Referenced by bookHistograms().

Container2D TPTask::_cMsnData_ElectronicsuTCA
protected

Definition at line 139 of file TPTask.h.

Referenced by _process(), and bookHistograms().

Container2D TPTask::_cMsnData_ElectronicsVME
protected

Definition at line 138 of file TPTask.h.

Referenced by _process(), and bookHistograms().

ContainerProf1D TPTask::_cMsnDatavsBX_TTSubdet
protected

Definition at line 143 of file TPTask.h.

Referenced by _process(), and bookHistograms().

ContainerProf1D TPTask::_cMsnDatavsLS_TTSubdet
protected

Definition at line 141 of file TPTask.h.

Referenced by _process(), and bookHistograms().

ContainerSingle2D TPTask::_cMsnEmul_depthlike
protected

Definition at line 149 of file TPTask.h.

Referenced by _process(), and bookHistograms().

Container2D TPTask::_cMsnEmul_ElectronicsuTCA
protected

Definition at line 148 of file TPTask.h.

Referenced by _process(), and bookHistograms().

Container2D TPTask::_cMsnEmul_ElectronicsVME
protected

Definition at line 147 of file TPTask.h.

Referenced by _process(), and bookHistograms().

ContainerProf1D TPTask::_cMsnEmulvsBX_TTSubdet
protected

Definition at line 152 of file TPTask.h.

Referenced by _process(), and bookHistograms().

ContainerProf1D TPTask::_cMsnEmulvsLS_TTSubdet
protected

Definition at line 150 of file TPTask.h.

Referenced by _process(), and bookHistograms().

ContainerSingle2D TPTask::_cOccupancyCutData_depthlike
protected

Definition at line 118 of file TPTask.h.

Referenced by _process(), and bookHistograms().

Container2D TPTask::_cOccupancyCutData_ElectronicsuTCA
protected

Definition at line 111 of file TPTask.h.

Referenced by _process(), and bookHistograms().

Container2D TPTask::_cOccupancyCutData_ElectronicsVME
protected

Definition at line 110 of file TPTask.h.

Referenced by _process(), and bookHistograms().

ContainerProf1D TPTask::_cOccupancyCutDatavsBX_TTSubdet
protected

Definition at line 158 of file TPTask.h.

Referenced by _process(), and bookHistograms().

ContainerProf1D TPTask::_cOccupancyCutDatavsLS_TTSubdet
protected

Definition at line 162 of file TPTask.h.

Referenced by _process(), and bookHistograms().

ContainerSingle2D TPTask::_cOccupancyCutEmul_depthlike
protected

Definition at line 119 of file TPTask.h.

Referenced by _process(), and bookHistograms().

Container2D TPTask::_cOccupancyCutEmul_ElectronicsuTCA
protected

Definition at line 113 of file TPTask.h.

Referenced by _process(), and bookHistograms().

Container2D TPTask::_cOccupancyCutEmul_ElectronicsVME
protected

Definition at line 112 of file TPTask.h.

Referenced by _process(), and bookHistograms().

ContainerProf1D TPTask::_cOccupancyCutEmulvsBX_TTSubdet
protected

Definition at line 159 of file TPTask.h.

Referenced by _process(), and bookHistograms().

ContainerProf1D TPTask::_cOccupancyCutEmulvsLS_TTSubdet
protected

Definition at line 163 of file TPTask.h.

Referenced by _process(), and bookHistograms().

ContainerSingle2D TPTask::_cOccupancyData2x3_depthlike
protected

Definition at line 122 of file TPTask.h.

Referenced by _process(), and bookHistograms().

ContainerSingle2D TPTask::_cOccupancyData_depthlike
protected

Definition at line 116 of file TPTask.h.

Referenced by _process(), and bookHistograms().

Container2D TPTask::_cOccupancyData_ElectronicsuTCA
protected

Definition at line 106 of file TPTask.h.

Referenced by _process(), and bookHistograms().

Container2D TPTask::_cOccupancyData_ElectronicsVME
protected

Definition at line 105 of file TPTask.h.

Referenced by _process(), and bookHistograms().

ContainerProf1D TPTask::_cOccupancyDatavsBX_TTSubdet
protected

Definition at line 156 of file TPTask.h.

Referenced by _process(), and bookHistograms().

ContainerProf1D TPTask::_cOccupancyDatavsLS_TTSubdet
protected

Definition at line 160 of file TPTask.h.

Referenced by _process(), and bookHistograms().

ContainerSingle2D TPTask::_cOccupancyEmul2x3_depthlike
protected

Definition at line 123 of file TPTask.h.

Referenced by _process(), and bookHistograms().

ContainerSingle2D TPTask::_cOccupancyEmul_depthlike
protected

Definition at line 117 of file TPTask.h.

Referenced by _process(), and bookHistograms().

Container2D TPTask::_cOccupancyEmul_ElectronicsuTCA
protected

Definition at line 108 of file TPTask.h.

Referenced by _process(), and bookHistograms().

Container2D TPTask::_cOccupancyEmul_ElectronicsVME
protected

Definition at line 107 of file TPTask.h.

Referenced by _process(), and bookHistograms().

ContainerProf1D TPTask::_cOccupancyEmulvsBX_TTSubdet
protected

Definition at line 157 of file TPTask.h.

Referenced by _process(), and bookHistograms().

ContainerProf1D TPTask::_cOccupancyEmulvsLS_TTSubdet
protected

Definition at line 161 of file TPTask.h.

Referenced by _process(), and bookHistograms().

ContainerSingle2D TPTask::_cSummaryvsLS
protected

Definition at line 167 of file TPTask.h.

Referenced by bookHistograms(), and endLuminosityBlock().

Container2D TPTask::_cSummaryvsLS_FED
protected

Definition at line 166 of file TPTask.h.

Referenced by bookHistograms(), and endLuminosityBlock().

int TPTask::_cutEt
protected

Definition at line 59 of file TPTask.h.

Referenced by _process(), and TPTask().

electronicsmap::ElectronicsMap TPTask::_ehashmap
protected

Definition at line 68 of file TPTask.h.

Referenced by _process(), and bookHistograms().

HcalElectronicsMap const* TPTask::_emap
protected

Definition at line 67 of file TPTask.h.

Referenced by bookHistograms().

HashFilter TPTask::_filter_depth0
protected

Definition at line 73 of file TPTask.h.

Referenced by bookHistograms().

HashFilter TPTask::_filter_uTCA
protected

Definition at line 72 of file TPTask.h.

Referenced by bookHistograms().

HashFilter TPTask::_filter_VME
protected

Definition at line 71 of file TPTask.h.

Referenced by bookHistograms().

bool TPTask::_skip1x1
protected

Definition at line 58 of file TPTask.h.

Referenced by TPTask().

edm::InputTag TPTask::_tagData
protected

Definition at line 41 of file TPTask.h.

Referenced by _process(), and TPTask().

edm::InputTag TPTask::_tagEmul
protected

Definition at line 42 of file TPTask.h.

Referenced by _process(), and TPTask().

double TPTask::_thresh_DataMsn
protected

Definition at line 60 of file TPTask.h.

Referenced by TPTask().

double TPTask::_thresh_EmulMsn
protected

Definition at line 60 of file TPTask.h.

Referenced by TPTask().

double TPTask::_thresh_EtMsmRate
protected

Definition at line 60 of file TPTask.h.

Referenced by endLuminosityBlock(), and TPTask().

double TPTask::_thresh_FGMsmRate
protected

Definition at line 60 of file TPTask.h.

Referenced by endLuminosityBlock(), and TPTask().

edm::EDGetTokenT<HcalTrigPrimDigiCollection> TPTask::_tokData
protected

Definition at line 43 of file TPTask.h.

Referenced by _process(), and TPTask().

edm::EDGetTokenT<HcalTrigPrimDigiCollection> TPTask::_tokEmul
protected

Definition at line 44 of file TPTask.h.

Referenced by _process(), and TPTask().

std::vector<flag::Flag> TPTask::_vflags
protected

Definition at line 47 of file TPTask.h.

Referenced by bookHistograms(), endLuminosityBlock(), and TPTask().

std::vector<uint32_t> TPTask::_vhashFEDs
protected

Definition at line 64 of file TPTask.h.

Referenced by bookHistograms(), and endLuminosityBlock().

ContainerXXX<uint32_t> TPTask::_xDataMsn
protected

Definition at line 168 of file TPTask.h.

Referenced by _process(), bookHistograms(), and endLuminosityBlock().

ContainerXXX<uint32_t> TPTask::_xDataTotal
protected

Definition at line 168 of file TPTask.h.

Referenced by _process(), bookHistograms(), and endLuminosityBlock().

ContainerXXX<uint32_t> TPTask::_xEmulMsn
protected

Definition at line 168 of file TPTask.h.

Referenced by _process(), bookHistograms(), and endLuminosityBlock().

ContainerXXX<uint32_t> TPTask::_xEmulTotal
protected

Definition at line 168 of file TPTask.h.

Referenced by _process(), bookHistograms(), and endLuminosityBlock().

ContainerXXX<uint32_t> TPTask::_xEtMsm
protected

Definition at line 168 of file TPTask.h.

Referenced by _process(), bookHistograms(), and endLuminosityBlock().

ContainerXXX<uint32_t> TPTask::_xFGMsm
protected

Definition at line 168 of file TPTask.h.

Referenced by _process(), bookHistograms(), and endLuminosityBlock().

ContainerXXX<uint32_t> TPTask::_xNumCorr
protected

Definition at line 168 of file TPTask.h.

Referenced by _process(), bookHistograms(), and endLuminosityBlock().

tuple TPTask.tpTask
Initial value:
1 = cms.EDAnalyzer(
2  "TPTask",
3 
4  # standard parameters
5  name = cms.untracked.string("TPTask"),
6  debug = cms.untracked.int32(0),
7  runkeyVal = cms.untracked.int32(0),
8  runkeyName = cms.untracked.string("pp_run"),
9  ptype = cms.untracked.int32(0),
10  mtype = cms.untracked.bool(True),
11  subsystem = cms.untracked.string("Hcal"),
12 
13  # tags
14  tagData = cms.untracked.InputTag("hcalDigis"),
15  tagEmul = cms.untracked.InputTag("emulTPDigis"),
16 
17  # cut to put on Et to get the occupancy
18  cutEt = cms.untracked.int32(3),
19 
20  # some speacial features
21  skip1x1 = cms.untracked.bool(True),
22 
23  thresh_EtMsmRate = cms.untracked.double(0.1),
24  thresh_FGMsmRate = cms.untracked.double(0.1),
25  thresh_DataMsn = cms.untracked.double(0.1),
26  thresh_EmulMsn = cms.untracked.double(0.1),
27 )

Definition at line 3 of file TPTask.py.