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 ()
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector
< ProductResolverIndexAndSkipBit >
const & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
virtual ~EDConsumerBase () noexcept(false)
 
- Public Member Functions inherited from hcaldqm::DQModule
 DQModule (edm::ParameterSet const &)
 
virtual ~DQModule ()(false)
 

Public Attributes

list fgbits = [1 for x in range(5)]
 
tuple tpTask
 

Protected Types

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

Protected Member Functions

virtual void _process (edm::Event const &, edm::EventSetup const &)
 
virtual void _resetMonitors (hcaldqm::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

hcaldqm::Container2D _cEtCorr2x3_TTSubdet
 
hcaldqm::Container2D _cEtCorr_TTSubdet
 
hcaldqm::ContainerSingleProf2D _cEtCorrRatio_depthlike
 
hcaldqm::ContainerProf2D _cEtCorrRatio_ElectronicsuTCA
 
hcaldqm::ContainerProf2D _cEtCorrRatio_ElectronicsVME
 
hcaldqm::ContainerProf1D _cEtCorrRatiovsBX_TTSubdet
 
hcaldqm::ContainerProf1D _cEtCorrRatiovsLS_TTSubdet
 
hcaldqm::ContainerSingleProf2D _cEtCutData_depthlike
 
hcaldqm::ContainerProf1D _cEtCutDatavsBX_TTSubdet
 
hcaldqm::ContainerProf1D _cEtCutDatavsLS_TTSubdet
 
hcaldqm::ContainerSingleProf2D _cEtCutEmul_depthlike
 
hcaldqm::ContainerProf1D _cEtCutEmulvsBX_TTSubdet
 
hcaldqm::ContainerProf1D _cEtCutEmulvsLS_TTSubdet
 
hcaldqm::ContainerSingleProf2D _cEtData_depthlike
 
hcaldqm::ContainerProf2D _cEtData_ElectronicsuTCA
 
hcaldqm::ContainerProf2D _cEtData_ElectronicsVME
 
hcaldqm::Container1D _cEtData_TTSubdet
 
hcaldqm::ContainerSingleProf2D _cEtEmul_depthlike
 
hcaldqm::ContainerProf2D _cEtEmul_ElectronicsuTCA
 
hcaldqm::ContainerProf2D _cEtEmul_ElectronicsVME
 
hcaldqm::Container1D _cEtEmul_TTSubdet
 
hcaldqm::ContainerSingle2D _cEtMsm_depthlike
 
hcaldqm::Container2D _cEtMsm_ElectronicsuTCA
 
hcaldqm::Container2D _cEtMsm_ElectronicsVME
 
hcaldqm::ContainerProf1D _cEtMsmRatiovsBX_TTSubdet
 
hcaldqm::ContainerProf1D _cEtMsmRatiovsLS_TTSubdet
 
hcaldqm::ContainerProf1D _cEtMsmvsBX_TTSubdet
 
hcaldqm::ContainerProf1D _cEtMsmvsLS_TTSubdet
 
hcaldqm::Container2D _cFGCorr_TTSubdet [hcaldqm::constants::NUM_FGBITS]
 
hcaldqm::ContainerSingle2D _cFGMsm_depthlike
 
hcaldqm::Container2D _cFGMsm_ElectronicsuTCA
 
hcaldqm::Container2D _cFGMsm_ElectronicsVME
 
hcaldqm::ContainerProf1D _cMsnCutDatavsBX_TTSubdet
 
hcaldqm::ContainerProf1D _cMsnCutDatavsLS_TTSubdet
 
hcaldqm::ContainerProf1D _cMsnCutEmulvsBX_TTSubdet
 
hcaldqm::ContainerProf1D _cMsnCutEmulvsLS_TTSubdet
 
hcaldqm::ContainerSingle2D _cMsnData_depthlike
 
hcaldqm::Container2D _cMsnData_ElectronicsuTCA
 
hcaldqm::Container2D _cMsnData_ElectronicsVME
 
hcaldqm::ContainerProf1D _cMsnDatavsBX_TTSubdet
 
hcaldqm::ContainerProf1D _cMsnDatavsLS_TTSubdet
 
hcaldqm::ContainerSingle2D _cMsnEmul_depthlike
 
hcaldqm::Container2D _cMsnEmul_ElectronicsuTCA
 
hcaldqm::Container2D _cMsnEmul_ElectronicsVME
 
hcaldqm::ContainerProf1D _cMsnEmulvsBX_TTSubdet
 
hcaldqm::ContainerProf1D _cMsnEmulvsLS_TTSubdet
 
hcaldqm::ContainerSingle2D _cOccupancyCutData_depthlike
 
hcaldqm::Container2D _cOccupancyCutData_ElectronicsuTCA
 
hcaldqm::Container2D _cOccupancyCutData_ElectronicsVME
 
hcaldqm::ContainerProf1D _cOccupancyCutDatavsBX_TTSubdet
 
hcaldqm::ContainerProf1D _cOccupancyCutDatavsLS_TTSubdet
 
hcaldqm::ContainerSingle2D _cOccupancyCutEmul_depthlike
 
hcaldqm::Container2D _cOccupancyCutEmul_ElectronicsuTCA
 
hcaldqm::Container2D _cOccupancyCutEmul_ElectronicsVME
 
hcaldqm::ContainerProf1D _cOccupancyCutEmulvsBX_TTSubdet
 
hcaldqm::ContainerProf1D _cOccupancyCutEmulvsLS_TTSubdet
 
hcaldqm::ContainerSingle2D _cOccupancyData2x3_depthlike
 
hcaldqm::ContainerSingle2D _cOccupancyData_depthlike
 
hcaldqm::Container2D _cOccupancyData_ElectronicsuTCA
 
hcaldqm::Container2D _cOccupancyData_ElectronicsVME
 
hcaldqm::ContainerProf1D _cOccupancyDatavsBX_TTSubdet
 
hcaldqm::ContainerProf1D _cOccupancyDatavsLS_TTSubdet
 
hcaldqm::ContainerSingle2D _cOccupancyEmul2x3_depthlike
 
hcaldqm::ContainerSingle2D _cOccupancyEmul_depthlike
 
hcaldqm::Container2D _cOccupancyEmul_ElectronicsuTCA
 
hcaldqm::Container2D _cOccupancyEmul_ElectronicsVME
 
hcaldqm::ContainerProf1D _cOccupancyEmulvsBX_TTSubdet
 
hcaldqm::ContainerProf1D _cOccupancyEmulvsLS_TTSubdet
 
hcaldqm::ContainerSingle2D _cSummaryvsLS
 
hcaldqm::Container2D _cSummaryvsLS_FED
 
int _cutEt
 
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
 
HcalElectronicsMap const * _emap
 
hcaldqm::filter::HashFilter _filter_depth0
 
hcaldqm::filter::HashFilter _filter_uTCA
 
hcaldqm::filter::HashFilter _filter_VME
 
bool _skip1x1
 
edm::InputTag _tagData
 
edm::InputTag _tagEmul
 
double _thresh_DataMsn
 
double _thresh_EmulMsn
 
double _thresh_EtMsmRate_high
 
double _thresh_EtMsmRate_low
 
double _thresh_FGMsmRate_high
 
double _thresh_FGMsmRate_low
 
edm::EDGetTokenT
< HcalTrigPrimDigiCollection
_tokData
 
edm::EDGetTokenT
< HcalTrigPrimDigiCollection
_tokEmul
 
bool _unknownIdsPresent
 
std::vector< bool > _vFGBitsReady
 
std::vector< hcaldqm::flag::Flag_vflags
 
std::vector< uint32_t > _vhashFEDs
 
hcaldqm::ContainerXXX< uint32_t > _xDataMsn
 
hcaldqm::ContainerXXX< uint32_t > _xDataTotal
 
hcaldqm::ContainerXXX< uint32_t > _xEmulMsn
 
hcaldqm::ContainerXXX< uint32_t > _xEmulTotal
 
hcaldqm::ContainerXXX< uint32_t > _xEtMsm
 
hcaldqm::ContainerXXX< uint32_t > _xFGMsm
 
hcaldqm::ContainerXXX< uint32_t > _xNumCorr
 
MonitorElementmeUnknownIds1LS
 
- 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

file: Author: Description:

Definition at line 22 of file TPTask.h.

Member Enumeration Documentation

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

Definition at line 46 of file TPTask.h.

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

Constructor & Destructor Documentation

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

Definition at line 6 of file TPTask.cc.

References _cutEt, _skip1x1, _tagData, _tagEmul, _thresh_DataMsn, _thresh_EmulMsn, _thresh_EtMsmRate_high, _thresh_EtMsmRate_low, _thresh_FGMsmRate_high, _thresh_FGMsmRate_low, _tokData, _tokEmul, _vFGBitsReady, _vflags, fDataMsn, fEmulMsn, fEtMsm, fFGMsm, fUnknownIds, edm::ParameterSet::getUntrackedParameter(), HLT_FULL_cff::InputTag, nTPFlag, hcaldqm::constants::NUM_FGBITS, and tmp.

6  :
7  DQTask(ps)
8 {
9  _tagData = ps.getUntrackedParameter<edm::InputTag>("tagData",
10  edm::InputTag("hcalDigis"));
11  _tagEmul = ps.getUntrackedParameter<edm::InputTag>("tagEmul",
12  edm::InputTag("emulDigis"));
13 
14  _tokData = consumes<HcalTrigPrimDigiCollection>(_tagData);
15  _tokEmul = consumes<HcalTrigPrimDigiCollection>(_tagEmul);
16 
17  _skip1x1 = ps.getUntrackedParameter<bool>("skip1x1", true);
18  _cutEt = ps.getUntrackedParameter<int>("cutEt", 3);
19  _thresh_EtMsmRate_high = ps.getUntrackedParameter<double>(
20  "thresh_EtMsmRate_high", 0.2);
21  _thresh_EtMsmRate_low = ps.getUntrackedParameter<double>(
22  "thresh_EtMsmRate_low", 0.05);
23  _thresh_FGMsmRate_high = ps.getUntrackedParameter<double>(
24  "thresh_FGMsmRate", 0.2);
25  _thresh_FGMsmRate_low = ps.getUntrackedParameter<double>(
26  "thresh_FGMsmRate_low", 0.05);
27  _thresh_DataMsn = ps.getUntrackedParameter<double>("thresh_DataMsn",
28  0.1);
29  _thresh_EmulMsn = ps.getUntrackedParameter<double>("thresh_EmulMsn");
30  std::vector<int> tmp = ps.getUntrackedParameter<std::vector<int> >("vFGBitsReady");
31  for (uint32_t iii=0; iii<constants::NUM_FGBITS; iii++)
32  _vFGBitsReady.push_back(tmp[iii]);
33 
34  _vflags.resize(nTPFlag);
35  _vflags[fEtMsm]=flag::Flag("EtMsm");
36  _vflags[fFGMsm]=flag::Flag("FGMsm");
37  _vflags[fDataMsn]=flag::Flag("DataMsn");
38  _vflags[fEmulMsn]=flag::Flag("EmulMsn");
39  _vflags[fUnknownIds]=flag::Flag("UnknownIds");
40 }
bool _skip1x1
Definition: TPTask.h:57
edm::InputTag _tagData
Definition: TPTask.h:39
double _thresh_FGMsmRate_high
Definition: TPTask.h:59
DQTask(edm::ParameterSet const &)
Definition: DQTask.cc:7
edm::EDGetTokenT< HcalTrigPrimDigiCollection > _tokData
Definition: TPTask.h:41
int _cutEt
Definition: TPTask.h:58
double _thresh_FGMsmRate_low
Definition: TPTask.h:59
double _thresh_EtMsmRate_low
Definition: TPTask.h:59
double _thresh_EmulMsn
Definition: TPTask.h:59
std::vector< hcaldqm::flag::Flag > _vflags
Definition: TPTask.h:45
double _thresh_EtMsmRate_high
Definition: TPTask.h:59
double _thresh_DataMsn
Definition: TPTask.h:59
std::vector< bool > _vFGBitsReady
Definition: TPTask.h:62
std::vector< std::vector< double > > tmp
Definition: MVATrainer.cc:100
int const NUM_FGBITS
Definition: Constants.h:178
edm::EDGetTokenT< HcalTrigPrimDigiCollection > _tokEmul
Definition: TPTask.h:42
edm::InputTag _tagEmul
Definition: TPTask.h:40
virtual TPTask::~TPTask ( )
inlinevirtual

Definition at line 26 of file TPTask.h.

26 {}

Member Function Documentation

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

Implements hcaldqm::DQTask.

Definition at line 550 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, _unknownIdsPresent, _vFGBitsReady, _xDataMsn, _xDataTotal, _xEmulMsn, _xEmulTotal, _xEtMsm, _xFGMsm, _xNumCorr, edm::EventBase::bunchCrossing(), Logger::dqmthrow(), runTauDisplay::eid, hcaldqm::Container2D::fill(), hcaldqm::ContainerSingle2D::fill(), hcaldqm::Container1D::fill(), MonitorElement::Fill(), lumiContext::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, meUnknownIds1LS, min(), hcaldqm::constants::NUM_FGBITS, DetId::rawId(), and HcalTrigTowerDetId::version().

552 {
555  if (!e.getByToken(_tokData, cdata))
556  _logger.dqmthrow("Collection HcalTrigPrimDigiCollection isn't available"
557  + _tagData.label() + " " + _tagData.instance());
558  if (!e.getByToken(_tokEmul, cemul))
559  _logger.dqmthrow("Collection HcalTrigPrimDigiCollection isn't available"
560  + _tagEmul.label() + " " + _tagEmul.instance());
561 
562  // extract some info per event
563  int bx = e.bunchCrossing();
564 
565  // some summaries... per event
566  int numHBHE(0), numHF(0), numCutHBHE(0), numCutHF(0);
567  int numCorrHBHE(0), numCorrHF(0);
568  int numMsmHBHE(0), numMsmHF(0);
569  int numMsnHBHE(0), numMsnHF(0), numMsnCutHBHE(0), numMsnCutHF(0);
570 
571  // for explanation see RecHit or Digi Tasks
572  uint32_t rawidHBHEValid = 0;
573  uint32_t rawidHFValid = 0;
574 
575  /*
576  * STEP1:
577  * Loop over the data digis and
578  * - do ... for all the data digis
579  * - find the emulator digi
580  * --- compare soi Et
581  * --- compare soi FG
582  * --- Do not fill anything for emulator Et!!!
583  */
584  for (HcalTrigPrimDigiCollection::const_iterator it=cdata->begin();
585  it!=cdata->end(); ++it)
586  {
587  // Explicit check on the DetIds present in the Collection
588  HcalTrigTowerDetId tid = it->id();
589  uint32_t rawid = _ehashmap.lookup(tid);
590  if (rawid==0)
591  {meUnknownIds1LS->Fill(1); _unknownIdsPresent = true; continue;}
592  HcalElectronicsId const& eid(rawid);
593  if (tid.ietaAbs()>=29)
594  rawidHFValid = tid.rawId();
595  else
596  rawidHBHEValid = tid.rawId();
597 
598  //
599  // HF 2x3 TPs Treat theam separately and only for ONLINE!
600  //
601  if (tid.version()==0 && tid.ietaAbs()>=29)
602  {
603  // do this only for online processing
604  if (_ptype==fOnline)
605  {
607  HcalTrigPrimDigiCollection::const_iterator jt=cemul->find(tid);
608  if (jt!=cemul->end())
609  _cEtCorr2x3_TTSubdet.fill(tid, it->SOI_compressedEt(),
610  jt->SOI_compressedEt());
611  }
612 
613  // skip to the next tp digi
614  continue;
615  }
616 
617  // FROM THIS POINT, HBHE + 1x1 HF TPs
618  int soiEt_d = it->t0().compressedEt();
619  int soiFG_d[constants::NUM_FGBITS];
620  for (uint32_t ibit=0; ibit<constants::NUM_FGBITS; ibit++)
621  soiFG_d[ibit] = it->t0().fineGrain(ibit)?1:0;
622  tid.ietaAbs()>=29?numHF++:numHBHE++;
623 
624  // fill w/o a cut
625  _cEtData_TTSubdet.fill(tid, soiEt_d);
626  _cEtData_depthlike.fill(tid, soiEt_d);
628  if (eid.isVMEid())
629  {
631  _cEtData_ElectronicsVME.fill(eid, soiEt_d);
632  }
633  else
634  {
637  }
638 
639  // FILL w/a CUT
640  if (soiEt_d>_cutEt)
641  {
642  tid.ietaAbs()>=29?numCutHF++:numCutHBHE++;
644  _cEtCutData_depthlike.fill(tid, soiEt_d);
645 
646  // ONLINE ONLY!
647  if (_ptype==fOnline)
648  {
650  _cEtCutDatavsBX_TTSubdet.fill(tid, bx, soiEt_d);
651  _xDataTotal.get(eid)++;
652  }
653  // ^^^ONLINE ONLY!
654 
655  if (eid.isVMEid())
657  else
659  }
660 
661  // FIND the EMULATOR DIGI
662  HcalTrigPrimDigiCollection::const_iterator jt=cemul->find(tid);
663  if (jt!=cemul->end())
664  {
665  // if PRESENT!
666  int soiEt_e = jt->SOI_compressedEt();
667  int soiFG_e[constants::NUM_FGBITS];
668  for (uint32_t ibit=0; ibit<constants::NUM_FGBITS; ibit++)
669  soiFG_e[ibit] = jt->t0().fineGrain(ibit)?1:0;
670  // if both are zeroes => set 1
671  double rEt = soiEt_d==0 && soiEt_e==0?1:
672  double(std::min(soiEt_d, soiEt_e))/
673  double(std::max(soiEt_e, soiEt_d));
674 
675  // ONLINE ONLY!
676  if (_ptype==fOnline)
677  {
678  _xNumCorr.get(eid)++;
679  tid.ietaAbs()>=29?numCorrHF++:numCorrHBHE++;
681  _cEtCorrRatiovsBX_TTSubdet.fill(tid, bx, rEt);
682  }
683  // ^^^ONLINE ONLY!
684 
685  _cEtCorrRatio_depthlike.fill(tid, rEt);
686  _cEtCorr_TTSubdet.fill(tid, soiEt_d, soiEt_e);
687  for (uint32_t ibit=0; ibit<constants::NUM_FGBITS; ibit++)
688  _cFGCorr_TTSubdet[ibit].fill(tid, soiFG_d[ibit], soiFG_e[ibit]);
689  // FILL w/o a CUT
690  if (eid.isVMEid())
691  {
693  }
694  else
695  {
697  }
698 
699  // if SOI Et are not equal
700  // fill mismatched
701  if (soiEt_d!=soiEt_e)
702  {
703  tid.ietaAbs()>=29?numMsmHF++:numMsmHBHE++;
704  _cEtMsm_depthlike.fill(tid);
705  if (eid.isVMEid())
707  else
709  if (_ptype==fOnline)
710  _xEtMsm.get(eid)++;
711  }
712  // if SOI FG are not equal
713  // fill mismatched.
714  // Do this comparison only for FG Bits that are commissioned
715  for (uint32_t ibit=0; ibit<constants::NUM_FGBITS; ibit++)
716  if (soiFG_d[ibit]!=soiFG_e[ibit] && _vFGBitsReady[ibit])
717  {
718  _cFGMsm_depthlike.fill(tid);
719  if (eid.isVMEid())
721  else
723  if (_ptype==fOnline)
724  _xFGMsm.get(eid)++;
725  }
726  }
727  else
728  {
729  // IF MISSING
730  _cEtCorr_TTSubdet.fill(tid, soiEt_d, -2);
732  tid.ietaAbs()>=29?numMsnHF++:numMsnHBHE++;
733  if (eid.isVMEid())
735  else
737 
738  if (soiEt_d>_cutEt)
739  {
740  tid.ietaAbs()>=29?numMsnCutHF++:numMsnCutHBHE++;
741  if (_ptype==fOnline)
742  _xEmulMsn.get(eid)++;
743  }
744  }
745  }
746 
747  if (rawidHFValid!=0 && rawidHBHEValid!=0)
748  {
749  // ONLINE ONLY!
750  if (_ptype==fOnline)
751  {
753  numHBHE);
755  numHF);
757  bx, numCutHBHE);
759  numCutHF);
761  _currentLS, numHBHE);
763  _currentLS,numHF);
765  _currentLS, numCutHBHE);
767  _currentLS, numCutHF);
768 
770  numMsmHBHE);
772  numMsmHF);
773  _cEtMsmvsBX_TTSubdet.fill(HcalTrigTowerDetId(rawidHBHEValid), bx,
774  numMsmHBHE);
775  _cEtMsmvsBX_TTSubdet.fill(HcalTrigTowerDetId(rawidHFValid), bx,
776  numMsmHF);
777 
779  _currentLS,
780  double(numMsmHBHE)/double(numCorrHBHE));
782  _currentLS,
783  double(numMsmHF)/double(numCorrHF));
785  double(numMsmHBHE)/double(numCorrHBHE));
787  double(numMsmHF)/double(numCorrHF));
788 
790  _currentLS, numMsnHBHE);
792  _currentLS, numMsnHF);
794  _currentLS, numMsnCutHBHE);
796  _currentLS, numMsnCutHF);
797 
799  bx, numMsnHBHE);
801  bx, numMsnHF);
803  bx, numMsnCutHBHE);
805  bx, numMsnCutHF);
806  }
807  }
808 
809  numHBHE=0; numHF=0; numCutHBHE=0; numCutHF=0;
810  numMsnHBHE=0; numMsnHF=0; numCutHBHE=0; numCutHF=0;
811 
812  // reset
813  rawidHBHEValid = 0;
814  rawidHFValid = 0;
815 
816  /*
817  * STEP2:
818  * Loop over the emulator digis and
819  * - do ... for all the emulator digis
820  * - find data digi and
821  * --- if found skip
822  * --- if not found - fill the missing Data plot
823  */
824  for (HcalTrigPrimDigiCollection::const_iterator it=cemul->begin();
825  it!=cemul->end(); ++it)
826  {
827  // Explicit check on the DetIds present in the Collection
828  HcalTrigTowerDetId tid = it->id();
829  uint32_t rawid = _ehashmap.lookup(tid);
830  if (rawid==0)
831  {meUnknownIds1LS->Fill(1); _unknownIdsPresent = true; continue;}
832  HcalElectronicsId const& eid(rawid);
833  if (tid.ietaAbs()>=29)
834  rawidHFValid = tid.rawId();
835  else
836  rawidHBHEValid = tid.rawId();
837 
838  // HF 2x3 TPs. Only do it for Online!!!
839  if (tid.version()==0 && tid.ietaAbs()>=29)
840  {
841  // only do this for online processing
842  if (_ptype==fOnline)
844  continue;
845  }
846  int soiEt = it->SOI_compressedEt();
847 
848  // FILL/INCREMENT w/o a CUT
849  tid.ietaAbs()>=29?numHF++:numHBHE++;
850  _cEtEmul_TTSubdet.fill(tid, soiEt);
851  _cEtEmul_depthlike.fill(tid, soiEt);
853  if (eid.isVMEid())
854  {
857  }
858  else
859  {
862  }
863 
864  // FILL w/ a CUT
865  if (soiEt>_cutEt)
866  {
867  tid.ietaAbs()>=29?numCutHF++:numCutHBHE++;
869  _cEtCutEmul_depthlike.fill(tid, soiEt);
870  if (eid.isVMEid())
872  else
874 
875  // ONLINE ONLY!
876  if (_ptype==fOnline)
877  {
879  _cEtCutEmulvsBX_TTSubdet.fill(tid, bx, soiEt);
880  _xEmulTotal.get(eid)++;
881  }
882  // ^^^ONLINE ONLY!
883  }
884 
885  // FIND a data digi
886  HcalTrigPrimDigiCollection::const_iterator jt=cdata->find(tid);
887  if (jt==cdata->end())
888  {
889  tid.ietaAbs()>=29?numMsnHF++:numMsnHBHE++;
890  _cEtCorr_TTSubdet.fill(tid, -2, soiEt);
891  if (eid.isVMEid())
893  else
895  if (soiEt>_cutEt)
896  {
897  tid.ietaAbs()>=29?numMsnCutHF++:numMsnCutHBHE++;
898  if (_ptype==fOnline)
899  _xDataMsn.get(eid)++;
900  }
901  }
902  }
903 
904  if (rawidHBHEValid!=0 && rawidHFValid!=0)
905  {
906  // ONLINE ONLY!
907  if (_ptype==fOnline)
908  {
910  numHBHE);
912  numHF);
914  bx,
915  numCutHBHE);
917  numCutHF);
918 
920  _currentLS, numHBHE);
922  _currentLS,numHF);
924  _currentLS, numCutHBHE);
926  _currentLS, numCutHF);
927 
929  _currentLS, numMsnHBHE);
931  _currentLS, numMsnHF);
933  _currentLS, numMsnCutHBHE);
935  _currentLS, numMsnCutHF);
936 
938  bx, numMsnHBHE);
940  bx, numMsnHF);
942  bx, numMsnCutHBHE);
944  bx, numMsnCutHF);
945  }
946  // ^^^ONLINE ONLY!
947  }
948 }
hcaldqm::ContainerProf1D _cEtCorrRatiovsBX_TTSubdet
Definition: TPTask.h:103
hcaldqm::ContainerXXX< uint32_t > _xDataTotal
Definition: TPTask.h:172
hcaldqm::ContainerProf1D _cMsnCutEmulvsBX_TTSubdet
Definition: TPTask.h:154
hcaldqm::Container2D _cMsnData_ElectronicsVME
Definition: TPTask.h:139
hcaldqm::Container1D _cEtEmul_TTSubdet
Definition: TPTask.h:78
hcaldqm::ContainerSingleProf2D _cEtData_depthlike
Definition: TPTask.h:93
edm::InputTag _tagData
Definition: TPTask.h:39
string fill
Definition: lumiContext.py:319
hcaldqm::ContainerProf1D _cMsnDatavsBX_TTSubdet
Definition: TPTask.h:144
hcaldqm::ContainerSingle2D _cOccupancyCutEmul_depthlike
Definition: TPTask.h:120
hcaldqm::ContainerProf1D _cMsnDatavsLS_TTSubdet
Definition: TPTask.h:142
hcaldqm::ContainerProf1D _cEtMsmvsLS_TTSubdet
Definition: TPTask.h:133
hcaldqm::Container2D _cOccupancyData_ElectronicsVME
Definition: TPTask.h:106
hcaldqm::ContainerProf1D _cEtCutEmulvsLS_TTSubdet
Definition: TPTask.h:83
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
Definition: TPTask.h:69
edm::EDGetTokenT< HcalTrigPrimDigiCollection > _tokData
Definition: TPTask.h:41
MonitorElement * meUnknownIds1LS
Definition: TPTask.h:167
std::vector< HcalTriggerPrimitiveDigi >::const_iterator const_iterator
hcaldqm::ContainerSingleProf2D _cEtCorrRatio_depthlike
Definition: TPTask.h:101
hcaldqm::ContainerProf1D _cMsnCutDatavsBX_TTSubdet
Definition: TPTask.h:145
int _cutEt
Definition: TPTask.h:58
hcaldqm::ContainerProf1D _cMsnCutDatavsLS_TTSubdet
Definition: TPTask.h:143
hcaldqm::ContainerSingle2D _cOccupancyCutData_depthlike
Definition: TPTask.h:119
hcaldqm::ContainerProf1D _cOccupancyDatavsLS_TTSubdet
Definition: TPTask.h:161
hcaldqm::Container2D _cOccupancyEmul_ElectronicsVME
Definition: TPTask.h:108
hcaldqm::ContainerProf1D _cEtMsmRatiovsLS_TTSubdet
Definition: TPTask.h:134
hcaldqm::ContainerSingle2D _cOccupancyEmul2x3_depthlike
Definition: TPTask.h:124
hcaldqm::ContainerProf1D _cMsnEmulvsBX_TTSubdet
Definition: TPTask.h:153
void Fill(long long x)
hcaldqm::ContainerProf2D _cEtCorrRatio_ElectronicsuTCA
Definition: TPTask.h:100
uint32_t rawId() const
get the raw id
Definition: DetId.h:43
hcaldqm::Container2D _cFGCorr_TTSubdet[hcaldqm::constants::NUM_FGBITS]
Definition: TPTask.h:81
hcaldqm::ContainerXXX< uint32_t > _xDataMsn
Definition: TPTask.h:172
ProcessingType _ptype
Definition: DQModule.h:59
virtual void fill(uint32_t)
Definition: Container1D.cc:82
hcaldqm::Container2D _cOccupancyCutData_ElectronicsVME
Definition: TPTask.h:111
hcaldqm::ContainerXXX< uint32_t > _xEmulMsn
Definition: TPTask.h:172
void dqmthrow(std::string const &msg) const
Definition: Logger.h:15
hcaldqm::ContainerProf2D _cEtData_ElectronicsVME
Definition: TPTask.h:87
hcaldqm::ContainerProf1D _cEtMsmvsBX_TTSubdet
Definition: TPTask.h:135
hcaldqm::ContainerProf1D _cOccupancyDatavsBX_TTSubdet
Definition: TPTask.h:157
hcaldqm::ContainerProf2D _cEtEmul_ElectronicsuTCA
Definition: TPTask.h:90
hcaldqm::ContainerProf1D _cEtCorrRatiovsLS_TTSubdet
Definition: TPTask.h:102
hcaldqm::ContainerSingle2D _cOccupancyData2x3_depthlike
Definition: TPTask.h:123
hcaldqm::ContainerSingle2D _cFGMsm_depthlike
Definition: TPTask.h:132
hcaldqm::ContainerProf2D _cEtEmul_ElectronicsVME
Definition: TPTask.h:89
hcaldqm::ContainerProf2D _cEtCorrRatio_ElectronicsVME
Definition: TPTask.h:99
hcaldqm::ContainerXXX< uint32_t > _xEtMsm
Definition: TPTask.h:172
hcaldqm::Container2D _cEtMsm_ElectronicsuTCA
Definition: TPTask.h:128
hcaldqm::Container2D _cOccupancyCutEmul_ElectronicsuTCA
Definition: TPTask.h:114
Logger _logger
Definition: DQModule.h:70
T min(T a, T b)
Definition: MathUtil.h:58
hcaldqm::ContainerProf1D _cOccupancyCutDatavsLS_TTSubdet
Definition: TPTask.h:163
hcaldqm::Container2D _cOccupancyCutData_ElectronicsuTCA
Definition: TPTask.h:112
hcaldqm::ContainerSingle2D _cOccupancyData_depthlike
Definition: TPTask.h:117
hcaldqm::Container2D _cOccupancyCutEmul_ElectronicsVME
Definition: TPTask.h:113
hcaldqm::ContainerSingle2D _cEtMsm_depthlike
Definition: TPTask.h:131
hcaldqm::ContainerProf1D _cEtCutDatavsLS_TTSubdet
Definition: TPTask.h:82
hcaldqm::Container2D _cMsnData_ElectronicsuTCA
Definition: TPTask.h:140
hcaldqm::Container2D _cFGMsm_ElectronicsVME
Definition: TPTask.h:129
hcaldqm::Container2D _cMsnEmul_ElectronicsuTCA
Definition: TPTask.h:149
hcaldqm::ContainerProf1D _cOccupancyEmulvsBX_TTSubdet
Definition: TPTask.h:158
hcaldqm::ContainerXXX< uint32_t > _xEmulTotal
Definition: TPTask.h:172
hcaldqm::Container2D _cFGMsm_ElectronicsuTCA
Definition: TPTask.h:130
hcaldqm::ContainerProf1D _cEtCutDatavsBX_TTSubdet
Definition: TPTask.h:84
int version() const
get the version code for the trigger tower
std::vector< bool > _vFGBitsReady
Definition: TPTask.h:62
hcaldqm::ContainerProf1D _cOccupancyCutEmulvsBX_TTSubdet
Definition: TPTask.h:160
hcaldqm::ContainerXXX< uint32_t > _xFGMsm
Definition: TPTask.h:172
hcaldqm::Container2D _cOccupancyEmul_ElectronicsuTCA
Definition: TPTask.h:109
std::string const & label() const
Definition: InputTag.h:36
hcaldqm::ContainerProf1D _cOccupancyCutDatavsBX_TTSubdet
Definition: TPTask.h:159
hcaldqm::ContainerSingle2D _cOccupancyEmul_depthlike
Definition: TPTask.h:118
hcaldqm::Container2D _cOccupancyData_ElectronicsuTCA
Definition: TPTask.h:107
virtual STDTYPE & get(HcalDetId const &)
Definition: ContainerXXX.h:249
int const NUM_FGBITS
Definition: Constants.h:178
edm::EDGetTokenT< HcalTrigPrimDigiCollection > _tokEmul
Definition: TPTask.h:42
hcaldqm::ContainerProf1D _cEtCutEmulvsBX_TTSubdet
Definition: TPTask.h:85
hcaldqm::Container2D _cEtMsm_ElectronicsVME
Definition: TPTask.h:127
hcaldqm::Container2D _cEtCorr2x3_TTSubdet
Definition: TPTask.h:80
virtual void fill(HcalDetId const &) override
Definition: Container2D.cc:59
hcaldqm::Container2D _cEtCorr_TTSubdet
Definition: TPTask.h:79
hcaldqm::ContainerSingleProf2D _cEtEmul_depthlike
Definition: TPTask.h:94
hcaldqm::ContainerXXX< uint32_t > _xNumCorr
Definition: TPTask.h:172
bool _unknownIdsPresent
Definition: TPTask.h:168
hcaldqm::ContainerProf1D _cOccupancyEmulvsLS_TTSubdet
Definition: TPTask.h:162
hcaldqm::ContainerProf1D _cOccupancyCutEmulvsLS_TTSubdet
Definition: TPTask.h:164
virtual void fill(int, int)
hcaldqm::ContainerProf1D _cEtMsmRatiovsBX_TTSubdet
Definition: TPTask.h:136
edm::InputTag _tagEmul
Definition: TPTask.h:40
hcaldqm::ContainerSingleProf2D _cEtCutEmul_depthlike
Definition: TPTask.h:96
hcaldqm::ContainerProf2D _cEtData_ElectronicsuTCA
Definition: TPTask.h:88
hcaldqm::ContainerProf1D _cMsnEmulvsLS_TTSubdet
Definition: TPTask.h:151
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
hcaldqm::ContainerSingleProf2D _cEtCutData_depthlike
Definition: TPTask.h:95
hcaldqm::Container1D _cEtData_TTSubdet
Definition: TPTask.h:77
hcaldqm::ContainerSingle2D _cMsnEmul_depthlike
Definition: TPTask.h:150
hcaldqm::ContainerProf1D _cMsnCutEmulvsLS_TTSubdet
Definition: TPTask.h:152
hcaldqm::Container2D _cMsnEmul_ElectronicsVME
Definition: TPTask.h:148
void TPTask::_resetMonitors ( hcaldqm::UpdateFreq  uf)
protectedvirtual

Reimplemented from hcaldqm::DQTask.

Definition at line 537 of file TPTask.cc.

References _unknownIdsPresent, and hcaldqm::f1LS.

538 {
539  DQTask::_resetMonitors(uf);
540  switch (uf)
541  {
542  case hcaldqm::f1LS:
543  _unknownIdsPresent = false;
544  break;
545  default :
546  break;
547  }
548 }
bool _unknownIdsPresent
Definition: TPTask.h:168
void TPTask::beginLuminosityBlock ( edm::LuminosityBlock const &  lb,
edm::EventSetup const &  es 
)
virtual

Reimplemented from hcaldqm::DQTask.

Definition at line 950 of file TPTask.cc.

952 {
953  DQTask::beginLuminosityBlock(lb, es);
954 }
void TPTask::bookHistograms ( DQMStore::IBooker ib,
edm::Run const &  r,
edm::EventSetup const &  es 
)
virtual

Reimplemented from hcaldqm::DQTask.

Definition at line 42 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, _unknownIdsPresent, _vflags, _vhashFEDs, _xDataMsn, _xDataTotal, _xEmulMsn, _xEmulTotal, _xEtMsm, _xFGMsm, _xNumCorr, printConversionInfo::aux, hcaldqm::ContainerXXX< STDTYPE >::book(), hcaldqm::ContainerSingleProf2D::book(), hcaldqm::ContainerProf2D::book(), hcaldqm::ContainerProf1D::book(), hcaldqm::ContainerSingle2D::book(), hcaldqm::Container2D::book(), hcaldqm::Container1D::book(), DQMStore::IBooker::book1D(), 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::hashfunctions::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(), meUnknownIds1LS, hcaldqm::constants::NUM_FGBITS, HcalElectronicsId::rawId(), DQMStore::IBooker::setCurrentFolder(), MonitorElement::setLumiFlag(), hcaldqm::constants::SLOT_uTCA_MIN, and hcaldqm::constants::SPIGOT_MIN.

44 {
46 
47  // GET WHAT YOU NEED
49  es.get<HcalDbRecord>().get(dbs);
50  _emap = dbs->getHcalMapping();
51  std::vector<int> vFEDs = hcaldqm::utilities::getFEDList(_emap);
52  std::vector<int> vFEDsVME = hcaldqm::utilities::getFEDVMEList(_emap);
53  std::vector<int> vFEDsuTCA = hcaldqm::utilities::getFEDuTCAList(_emap);
54  std::vector<uint32_t> vVME;
55  std::vector<uint32_t> vuTCA;
56  std::vector<uint32_t> depth0;
57  vVME.push_back(HcalElectronicsId(FIBERCH_MIN,
60  FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
62  vVME);
64  vuTCA);
65  depth0.push_back(HcalTrigTowerDetId(1, 1, 0).rawId());
67  depth0);
68 
69  // push the rawIds of each fed into the vector
70  // this vector is used at endlumi for online state generation
71  for (std::vector<int>::const_iterator it=vFEDsVME.begin();
72  it!=vFEDsVME.end(); ++it)
73  {
75  SPIGOT_MIN, (*it)-FED_VME_MIN).rawId());
76  }
77  for (std::vector<int>::const_iterator it=vFEDsuTCA.begin();
78  it!=vFEDsuTCA.end(); ++it)
79  {
80  std::pair<uint16_t, uint16_t> cspair = hcaldqm::utilities::fed2crate(*it);
81  _vhashFEDs.push_back(HcalElectronicsId(cspair.first,
82  cspair.second, FIBER_uTCA_MIN1, FIBERCH_MIN, false).rawId());
83  }
84 
85  // INITIALIZE FIRST
86  // Et/FG
97  for (uint8_t iii=0; iii<constants::NUM_FGBITS; iii++)
98  {
103  }
104 
107  new hcaldqm::quantity::FEDQuantity(vFEDsVME),
112  new hcaldqm::quantity::FEDQuantity(vFEDsuTCA),
117  new hcaldqm::quantity::FEDQuantity(vFEDsVME),
122  new hcaldqm::quantity::FEDQuantity(vFEDsuTCA),
141 
142  // Occupancies
145  new hcaldqm::quantity::FEDQuantity(vFEDsVME),
150  new hcaldqm::quantity::FEDQuantity(vFEDsVME),
155  new hcaldqm::quantity::FEDQuantity(vFEDsuTCA),
160  new hcaldqm::quantity::FEDQuantity(vFEDsuTCA),
163 
166  new hcaldqm::quantity::FEDQuantity(vFEDsVME),
171  new hcaldqm::quantity::FEDQuantity(vFEDsVME),
176  new hcaldqm::quantity::FEDQuantity(vFEDsuTCA),
181  new hcaldqm::quantity::FEDQuantity(vFEDsuTCA),
184 
185  _cOccupancyData_depthlike.initialize(_name, "OccupancyData",
189  _cOccupancyEmul_depthlike.initialize(_name, "OccupancyEmul",
193  _cOccupancyCutData_depthlike.initialize(_name, "OccupancyCutData",
197  _cOccupancyCutEmul_depthlike.initialize(_name, "OccupancyCutEmul",
201 
202  // Mismatches
205  new hcaldqm::quantity::FEDQuantity(vFEDsVME),
210  new hcaldqm::quantity::FEDQuantity(vFEDsVME),
215  new hcaldqm::quantity::FEDQuantity(vFEDsuTCA),
220  new hcaldqm::quantity::FEDQuantity(vFEDsuTCA),
231 
232  // Missing Data w.r.t. Emulator
235  new hcaldqm::quantity::FEDQuantity(vFEDsVME),
240  new hcaldqm::quantity::FEDQuantity(vFEDsuTCA),
245  new hcaldqm::quantity::FEDQuantity(vFEDsVME),
250  new hcaldqm::quantity::FEDQuantity(vFEDsuTCA),
263  new hcaldqm::quantity::FEDQuantity(vFEDsVME),
268  new hcaldqm::quantity::FEDQuantity(vFEDsuTCA),
275 
276  _cOccupancyDatavsBX_TTSubdet.initialize(_name, "OccupancyDatavsBX",
280  _cOccupancyEmulvsBX_TTSubdet.initialize(_name, "OccupancyEmulvsBX",
284  _cOccupancyCutDatavsBX_TTSubdet.initialize(_name, "OccupancyCutDatavsBX",
288  _cOccupancyCutEmulvsBX_TTSubdet.initialize(_name, "OccupancyCutEmulvsBX",
292 
293  // INITIALIZE HISTOGRAMS to be used in Online only!
294  if (_ptype==fOnline)
295  {
296  _cEtCorr2x3_TTSubdet.initialize(_name, "EtCorr2x3",
301  _cOccupancyData2x3_depthlike.initialize(_name, "OccupancyData2x3",
305  _cOccupancyEmul2x3_depthlike.initialize(_name, "OccupancyEmul2x3",
309  _cEtCutDatavsLS_TTSubdet.initialize(_name, "EtCutDatavsLS",
313  _cEtCutEmulvsLS_TTSubdet.initialize(_name, "EtCutEmulvsLS",
317  _cEtCutDatavsBX_TTSubdet.initialize(_name, "EtCutDatavsBX",
321  _cEtCutEmulvsBX_TTSubdet.initialize(_name, "EtCutEmulvsBX",
325  _cEtCorrRatiovsLS_TTSubdet.initialize(_name, "EtCorrRatiovsLS",
329  _cEtCorrRatiovsBX_TTSubdet.initialize(_name, "EtCorrRatiovsBX",
333  _cEtMsmRatiovsLS_TTSubdet.initialize(_name, "EtMsmRatiovsLS",
337  _cEtMsmRatiovsBX_TTSubdet.initialize(_name, "EtMsmRatiovsBX",
349  _cMsnDatavsLS_TTSubdet.initialize(_name, "MsnDatavsLS",
353  _cMsnCutDatavsLS_TTSubdet.initialize(_name, "MsnCutDatavsLS",
357  _cMsnDatavsBX_TTSubdet.initialize(_name, "MsnDatavsBX",
361  _cMsnCutDatavsBX_TTSubdet.initialize(_name, "MsnCutDatavsBX",
365  _cMsnEmulvsLS_TTSubdet.initialize(_name, "MsnEmulvsLS",
369  _cMsnCutEmulvsLS_TTSubdet.initialize(_name, "MsnCutEmulvsLS",
373  _cMsnEmulvsBX_TTSubdet.initialize(_name, "MsnEmulvsBX",
377  _cMsnCutEmulvsBX_TTSubdet.initialize(_name, "MsnCutEmulvsBX",
381  _cOccupancyDatavsLS_TTSubdet.initialize(_name, "OccupancyDatavsLS",
386  "OccupancyCutDatavsLS",
390  _cOccupancyDatavsBX_TTSubdet.initialize(_name, "OccupancyDatavsBX",
395  "OccupancyCutDatavsBX",
399  _cOccupancyEmulvsLS_TTSubdet.initialize(_name, "OccupancyEmulvsLS",
404  "OccupancyCutEmulvsLS",
408  _cOccupancyEmulvsBX_TTSubdet.initialize(_name, "OccupancyEmulvsBX",
413  "OccupancyCutEmulvsBX",
417  _cSummaryvsLS_FED.initialize(_name, "SummaryvsLS",
422  _cSummaryvsLS.initialize(_name, "SummaryvsLS",
426 
434  }
435 
436  // BOOK HISTOGRAMS
437  char aux[20];
438  for (unsigned int iii=0; iii<constants::NUM_FGBITS; iii++)
439  {
440  sprintf(aux, "BIT%d", iii);
441  _cFGCorr_TTSubdet[iii].book(ib, _emap, _subsystem, aux);
442  }
481 
482  // whatever has to go online only goes here
483  if (_ptype==fOnline)
484  {
516 
517  _xEtMsm.book(_emap);
518  _xFGMsm.book(_emap);
524  }
525 
526  // initialize the hash map
528 
529  // book the flag for unknown ids and the online guy as well
531  meUnknownIds1LS = ib.book1D("UnknownIds", "UnknownIds",
532  1, 0, 1);
533  _unknownIdsPresent = false;
535 }
hcaldqm::ContainerProf1D _cEtCorrRatiovsBX_TTSubdet
Definition: TPTask.h:103
hcaldqm::ContainerXXX< uint32_t > _xDataTotal
Definition: TPTask.h:172
hcaldqm::ContainerProf1D _cMsnCutEmulvsBX_TTSubdet
Definition: TPTask.h:154
hcaldqm::Container2D _cMsnData_ElectronicsVME
Definition: TPTask.h:139
virtual void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *qy=new ValueQuantity(quantity::fN), int debug=0)
Definition: Container1D.cc:40
hcaldqm::Container1D _cEtEmul_TTSubdet
Definition: TPTask.h:78
hcaldqm::ContainerSingleProf2D _cEtData_depthlike
Definition: TPTask.h:93
int const CRATE_VME_MIN
Definition: Constants.h:60
hcaldqm::ContainerProf1D _cMsnDatavsBX_TTSubdet
Definition: TPTask.h:144
hcaldqm::ContainerSingle2D _cOccupancyCutEmul_depthlike
Definition: TPTask.h:120
hcaldqm::ContainerProf1D _cMsnDatavsLS_TTSubdet
Definition: TPTask.h:142
std::pair< uint16_t, uint16_t > fed2crate(int fed)
Definition: Utilities.cc:13
std::vector< uint32_t > _vhashFEDs
Definition: TPTask.h:65
uint32_t rawId() const
hcaldqm::ContainerProf1D _cEtMsmvsLS_TTSubdet
Definition: TPTask.h:133
hcaldqm::Container2D _cOccupancyData_ElectronicsVME
Definition: TPTask.h:106
void initialize(HcalElectronicsMap const *, ElectronicsMapType etype=fHcalElectronicsMap)
hcaldqm::ContainerProf1D _cEtCutEmulvsLS_TTSubdet
Definition: TPTask.h:83
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
Definition: TPTask.h:69
MonitorElement * meUnknownIds1LS
Definition: TPTask.h:167
hcaldqm::ContainerSingleProf2D _cEtCorrRatio_depthlike
Definition: TPTask.h:101
hcaldqm::ContainerProf1D _cMsnCutDatavsBX_TTSubdet
Definition: TPTask.h:145
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
int const SPIGOT_MIN
Definition: Constants.h:85
hcaldqm::ContainerProf1D _cMsnCutDatavsLS_TTSubdet
Definition: TPTask.h:143
hcaldqm::ContainerSingle2D _cOccupancyCutData_depthlike
Definition: TPTask.h:119
int const FIBER_VME_MIN
Definition: Constants.h:90
hcaldqm::ContainerProf1D _cOccupancyDatavsLS_TTSubdet
Definition: TPTask.h:161
hcaldqm::Container2D _cOccupancyEmul_ElectronicsVME
Definition: TPTask.h:108
hcaldqm::ContainerProf1D _cEtMsmRatiovsLS_TTSubdet
Definition: TPTask.h:134
void bookHistograms(fwlite::EventContainer &eventCont)
hcaldqm::ContainerSingle2D _cOccupancyEmul2x3_depthlike
Definition: TPTask.h:124
hcaldqm::ContainerProf1D _cMsnEmulvsBX_TTSubdet
Definition: TPTask.h:153
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)
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
hcaldqm::ContainerProf2D _cEtCorrRatio_ElectronicsuTCA
Definition: TPTask.h:100
std::vector< int > getFEDVMEList(HcalElectronicsMap const *)
Definition: Utilities.cc:78
hcaldqm::Container2D _cFGCorr_TTSubdet[hcaldqm::constants::NUM_FGBITS]
Definition: TPTask.h:81
hcaldqm::ContainerXXX< uint32_t > _xDataMsn
Definition: TPTask.h:172
hcaldqm::filter::HashFilter _filter_uTCA
Definition: TPTask.h:73
hcaldqm::Container2D _cSummaryvsLS_FED
Definition: TPTask.h:170
ProcessingType _ptype
Definition: DQModule.h:59
virtual void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *, int debug=0)
hcaldqm::Container2D _cOccupancyCutData_ElectronicsVME
Definition: TPTask.h:111
std::vector< hcaldqm::flag::Flag > _vflags
Definition: TPTask.h:45
hcaldqm::ContainerXXX< uint32_t > _xEmulMsn
Definition: TPTask.h:172
hcaldqm::ContainerProf2D _cEtData_ElectronicsVME
Definition: TPTask.h:87
hcaldqm::ContainerProf1D _cEtMsmvsBX_TTSubdet
Definition: TPTask.h:135
HcalElectronicsMap const * _emap
Definition: TPTask.h:68
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)
hcaldqm::ContainerProf1D _cOccupancyDatavsBX_TTSubdet
Definition: TPTask.h:157
hcaldqm::ContainerProf2D _cEtEmul_ElectronicsuTCA
Definition: TPTask.h:90
hcaldqm::ContainerProf1D _cEtCorrRatiovsLS_TTSubdet
Definition: TPTask.h:102
hcaldqm::ContainerSingle2D _cOccupancyData2x3_depthlike
Definition: TPTask.h:123
hcaldqm::ContainerSingle2D _cFGMsm_depthlike
Definition: TPTask.h:132
hcaldqm::ContainerProf2D _cEtEmul_ElectronicsVME
Definition: TPTask.h:89
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:115
hcaldqm::filter::HashFilter _filter_depth0
Definition: TPTask.h:74
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
hcaldqm::ContainerProf2D _cEtCorrRatio_ElectronicsVME
Definition: TPTask.h:99
hcaldqm::ContainerXXX< uint32_t > _xEtMsm
Definition: TPTask.h:172
hcaldqm::Container2D _cEtMsm_ElectronicsuTCA
Definition: TPTask.h:128
hcaldqm::Container2D _cOccupancyCutEmul_ElectronicsuTCA
Definition: TPTask.h:114
std::string _name
Definition: DQModule.h:57
hcaldqm::ContainerProf1D _cOccupancyCutDatavsLS_TTSubdet
Definition: TPTask.h:163
hcaldqm::Container2D _cOccupancyCutData_ElectronicsuTCA
Definition: TPTask.h:112
hcaldqm::ContainerSingle2D _cSummaryvsLS
Definition: TPTask.h:171
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
int const CRATE_uTCA_MIN
Definition: Constants.h:65
hcaldqm::ContainerSingle2D _cOccupancyData_depthlike
Definition: TPTask.h:117
hcaldqm::Container2D _cOccupancyCutEmul_ElectronicsVME
Definition: TPTask.h:113
hcaldqm::ContainerSingle2D _cEtMsm_depthlike
Definition: TPTask.h:131
hcaldqm::ContainerProf1D _cEtCutDatavsLS_TTSubdet
Definition: TPTask.h:82
hcaldqm::Container2D _cMsnData_ElectronicsuTCA
Definition: TPTask.h:140
hcaldqm::Container2D _cFGMsm_ElectronicsVME
Definition: TPTask.h:129
hcaldqm::Container2D _cMsnEmul_ElectronicsuTCA
Definition: TPTask.h:149
hcaldqm::ContainerProf1D _cOccupancyEmulvsBX_TTSubdet
Definition: TPTask.h:158
hcaldqm::ContainerXXX< uint32_t > _xEmulTotal
Definition: TPTask.h:172
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:277
virtual void book(HcalElectronicsMap const *)
Definition: ContainerXXX.h:99
hcaldqm::Container2D _cFGMsm_ElectronicsuTCA
Definition: TPTask.h:130
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
hcaldqm::ContainerProf1D _cEtCutDatavsBX_TTSubdet
Definition: TPTask.h:84
hcaldqm::ContainerProf1D _cOccupancyCutEmulvsBX_TTSubdet
Definition: TPTask.h:160
hcaldqm::ContainerXXX< uint32_t > _xFGMsm
Definition: TPTask.h:172
hcaldqm::Container2D _cOccupancyEmul_ElectronicsuTCA
Definition: TPTask.h:109
hcaldqm::ContainerProf1D _cOccupancyCutDatavsBX_TTSubdet
Definition: TPTask.h:159
hcaldqm::ContainerSingle2D _cOccupancyEmul_depthlike
Definition: TPTask.h:118
hcaldqm::Container2D _cOccupancyData_ElectronicsuTCA
Definition: TPTask.h:107
int const NUM_FGBITS
Definition: Constants.h:178
hcaldqm::ContainerProf1D _cEtCutEmulvsBX_TTSubdet
Definition: TPTask.h:85
std::vector< int > getFEDList(HcalElectronicsMap const *)
Definition: Utilities.cc:54
hcaldqm::Container2D _cEtMsm_ElectronicsVME
Definition: TPTask.h:127
hcaldqm::Container2D _cEtCorr2x3_TTSubdet
Definition: TPTask.h:80
std::vector< int > getFEDuTCAList(HcalElectronicsMap const *)
Definition: Utilities.cc:104
hcaldqm::Container2D _cEtCorr_TTSubdet
Definition: TPTask.h:79
std::string _subsystem
Definition: DQModule.h:64
hcaldqm::ContainerSingleProf2D _cEtEmul_depthlike
Definition: TPTask.h:94
hcaldqm::ContainerXXX< uint32_t > _xNumCorr
Definition: TPTask.h:172
bool _unknownIdsPresent
Definition: TPTask.h:168
hcaldqm::filter::HashFilter _filter_VME
Definition: TPTask.h:72
hcaldqm::ContainerProf1D _cOccupancyEmulvsLS_TTSubdet
Definition: TPTask.h:162
hcaldqm::ContainerProf1D _cOccupancyCutEmulvsLS_TTSubdet
Definition: TPTask.h:164
virtual void initialize(hashfunctions::HashType, int debug=0)
Definition: ContainerXXX.h:91
virtual void initialize(FilterType ftype, HashType htype, std::vector< uint32_t > const &)
Definition: HashFilter.cc:26
void setLumiFlag(void)
this ME is meant to be stored for each luminosity section
hcaldqm::ContainerProf1D _cEtMsmRatiovsBX_TTSubdet
Definition: TPTask.h:136
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
Definition: Container2D.cc:895
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
hcaldqm::ContainerSingleProf2D _cEtCutEmul_depthlike
Definition: TPTask.h:96
hcaldqm::ContainerProf2D _cEtData_ElectronicsuTCA
Definition: TPTask.h:88
hcaldqm::ContainerProf1D _cMsnEmulvsLS_TTSubdet
Definition: TPTask.h:151
Readout chain identification for Hcal.
hcaldqm::ContainerSingle2D _cMsnData_depthlike
Definition: TPTask.h:141
int const SLOT_uTCA_MIN
Definition: Constants.h:72
hcaldqm::ContainerSingleProf2D _cEtCutData_depthlike
Definition: TPTask.h:95
hcaldqm::Container1D _cEtData_TTSubdet
Definition: TPTask.h:77
hcaldqm::ContainerSingle2D _cMsnEmul_depthlike
Definition: TPTask.h:150
hcaldqm::ContainerProf1D _cMsnCutEmulvsLS_TTSubdet
Definition: TPTask.h:152
hcaldqm::Container2D _cMsnEmul_ElectronicsVME
Definition: TPTask.h:148
void TPTask::endLuminosityBlock ( edm::LuminosityBlock const &  lb,
edm::EventSetup const &  es 
)
virtual

Reimplemented from hcaldqm::DQTask.

Definition at line 956 of file TPTask.cc.

References _cSummaryvsLS, _cSummaryvsLS_FED, hcaldqm::DQModule::_currentLS, hcaldqm::DQModule::_ptype, hcaldqm::flag::Flag::_state, _thresh_EtMsmRate_high, _thresh_EtMsmRate_low, _thresh_FGMsmRate_high, _thresh_FGMsmRate_low, _unknownIdsPresent, hcaldqm::DQTask::_vcdaqEids, _vflags, _vhashFEDs, _xDataMsn, _xDataTotal, _xEmulMsn, _xEmulTotal, _xEtMsm, _xFGMsm, _xNumCorr, runTauDisplay::eid, hcaldqm::flag::fBAD, fEtMsm, fFGMsm, hcaldqm::flag::fGOOD, spr::find(), hcaldqm::flag::fNCDAQ, hcaldqm::fOnline, hcaldqm::flag::fPROBLEMATIC, fUnknownIds, 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().

958 {
959  if (_ptype!=fOnline)
960  return;
961 
962  //
963  // GENERATE STATUS ONLY FOR ONLINE!
964  //
965  for (std::vector<uint32_t>::const_iterator it=_vhashFEDs.begin();
966  it!=_vhashFEDs.end(); ++it)
967  {
968  flag::Flag fSum("TP");
970 
971  std::vector<uint32_t>::const_iterator cit=std::find(
972  _vcdaqEids.begin(), _vcdaqEids.end(), *it);
973  if (cit==_vcdaqEids.end())
974  {
975  // not @cDAQ
976  for (uint32_t iflag=0; iflag<_vflags.size(); iflag++)
977  _cSummaryvsLS_FED.setBinContent(eid, _currentLS, int(iflag),
978  int(flag::fNCDAQ));
980  continue;
981  }
982 
984  {
985  // FED is @cDAQ
986  double etmsm = _xNumCorr.get(eid)>0?
987  double(_xEtMsm.get(eid))/double(_xNumCorr.get(eid)):0;
988  double fgmsm = _xNumCorr.get(eid)>0?
989  double(_xFGMsm.get(eid))/double(_xNumCorr.get(eid)):0;
990  /*
991  * UNUSED VARS
992  * double dmsm = _xDataTotal.get(eid)>0?
993  double(_xDataMsn.get(eid))/double(_xDataTotal.get(eid)):0;
994  double emsm = _xEmulTotal.get(eid)>0?
995  double(_xEmulMsn.get(eid))/double(_xEmulTotal.get(eid)):0;
996  */
997  if (etmsm>=_thresh_EtMsmRate_high)
998  _vflags[fEtMsm]._state = flag::fBAD;
999  else if (etmsm>=_thresh_EtMsmRate_low)
1000  _vflags[fEtMsm]._state = flag::fPROBLEMATIC;
1001  else
1002  _vflags[fEtMsm]._state = flag::fGOOD;
1003  if (fgmsm>=_thresh_FGMsmRate_high)
1004  _vflags[fFGMsm]._state = flag::fBAD;
1005  else if (fgmsm>=_thresh_FGMsmRate_low)
1006  _vflags[fFGMsm]._state = flag::fPROBLEMATIC;
1007  else
1008  _vflags[fFGMsm]._state = flag::fGOOD;
1009  /*
1010  * DISABLE THESE FLAGS FOR ONLINE FOR NOW!
1011  if (dmsm>=_thresh_DataMsn)
1012  _vflags[fDataMsn]._state = flag::fBAD;
1013  else
1014  _vflags[fDataMsn]._state = flag::fGOOD;
1015  if (emsm>=_thresh_EmulMsn)
1016  _vflags[fEmulMsn]._state = flag::fBAD;
1017  else
1018  _vflags[fEmulMsn]._state = flag::fGOOD;
1019  */
1020  }
1021 
1022  if (_unknownIdsPresent)
1023  _vflags[fUnknownIds]._state = flag::fBAD;
1024  else
1025  _vflags[fUnknownIds]._state = flag::fGOOD;
1026 
1027  int iflag=0;
1028  for (std::vector<flag::Flag>::iterator ft=_vflags.begin();
1029  ft!=_vflags.end(); ++ft)
1030  {
1031  _cSummaryvsLS_FED.setBinContent(eid, _currentLS, int(iflag),
1032  ft->_state);
1033  fSum+=(*ft);
1034  iflag++;
1035 
1036  // this is the MUST!
1037  // reset after using this flag
1038  ft->reset();
1039  }
1040  _cSummaryvsLS.setBinContent(eid, _currentLS, int(fSum._state));
1041  }
1042 
1043  // reset...
1046  _xEmulTotal.reset();
1047 
1048  // in the end always do the DQTask::endLumi
1049  DQTask::endLuminosityBlock(lb, es);
1050 }
hcaldqm::ContainerXXX< uint32_t > _xDataTotal
Definition: TPTask.h:172
double _thresh_FGMsmRate_high
Definition: TPTask.h:59
std::vector< uint32_t > _vhashFEDs
Definition: TPTask.h:65
virtual void reset()
Definition: ContainerXXX.h:366
double _thresh_FGMsmRate_low
Definition: TPTask.h:59
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:7
double _thresh_EtMsmRate_low
Definition: TPTask.h:59
hcaldqm::ContainerXXX< uint32_t > _xDataMsn
Definition: TPTask.h:172
hcaldqm::Container2D _cSummaryvsLS_FED
Definition: TPTask.h:170
ProcessingType _ptype
Definition: DQModule.h:59
std::vector< hcaldqm::flag::Flag > _vflags
Definition: TPTask.h:45
virtual void setBinContent(int, int, int)
hcaldqm::ContainerXXX< uint32_t > _xEmulMsn
Definition: TPTask.h:172
hcaldqm::ContainerXXX< uint32_t > _xEtMsm
Definition: TPTask.h:172
double _thresh_EtMsmRate_high
Definition: TPTask.h:59
hcaldqm::ContainerSingle2D _cSummaryvsLS
Definition: TPTask.h:171
hcaldqm::ContainerXXX< uint32_t > _xEmulTotal
Definition: TPTask.h:172
bool isFEDHBHE(HcalElectronicsId const &)
Definition: Utilities.cc:131
hcaldqm::ContainerXXX< uint32_t > _xFGMsm
Definition: TPTask.h:172
virtual void setBinContent(HcalDetId const &, int) override
Definition: Container2D.cc:235
virtual STDTYPE & get(HcalDetId const &)
Definition: ContainerXXX.h:249
hcaldqm::ContainerXXX< uint32_t > _xNumCorr
Definition: TPTask.h:172
bool _unknownIdsPresent
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:153

Member Data Documentation

hcaldqm::Container2D TPTask::_cEtCorr2x3_TTSubdet
protected

Definition at line 80 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D TPTask::_cEtCorr_TTSubdet
protected

Definition at line 79 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerSingleProf2D TPTask::_cEtCorrRatio_depthlike
protected

Definition at line 101 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf2D TPTask::_cEtCorrRatio_ElectronicsuTCA
protected

Definition at line 100 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf2D TPTask::_cEtCorrRatio_ElectronicsVME
protected

Definition at line 99 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D TPTask::_cEtCorrRatiovsBX_TTSubdet
protected

Definition at line 103 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D TPTask::_cEtCorrRatiovsLS_TTSubdet
protected

Definition at line 102 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerSingleProf2D TPTask::_cEtCutData_depthlike
protected

Definition at line 95 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D TPTask::_cEtCutDatavsBX_TTSubdet
protected

Definition at line 84 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D TPTask::_cEtCutDatavsLS_TTSubdet
protected

Definition at line 82 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerSingleProf2D TPTask::_cEtCutEmul_depthlike
protected

Definition at line 96 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D TPTask::_cEtCutEmulvsBX_TTSubdet
protected

Definition at line 85 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D TPTask::_cEtCutEmulvsLS_TTSubdet
protected

Definition at line 83 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerSingleProf2D TPTask::_cEtData_depthlike
protected

Definition at line 93 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf2D TPTask::_cEtData_ElectronicsuTCA
protected

Definition at line 88 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf2D TPTask::_cEtData_ElectronicsVME
protected

Definition at line 87 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container1D TPTask::_cEtData_TTSubdet
protected

Definition at line 77 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerSingleProf2D TPTask::_cEtEmul_depthlike
protected

Definition at line 94 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf2D TPTask::_cEtEmul_ElectronicsuTCA
protected

Definition at line 90 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf2D TPTask::_cEtEmul_ElectronicsVME
protected

Definition at line 89 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container1D TPTask::_cEtEmul_TTSubdet
protected

Definition at line 78 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerSingle2D TPTask::_cEtMsm_depthlike
protected

Definition at line 131 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D TPTask::_cEtMsm_ElectronicsuTCA
protected

Definition at line 128 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D TPTask::_cEtMsm_ElectronicsVME
protected

Definition at line 127 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D TPTask::_cEtMsmRatiovsBX_TTSubdet
protected

Definition at line 136 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D TPTask::_cEtMsmRatiovsLS_TTSubdet
protected

Definition at line 134 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D TPTask::_cEtMsmvsBX_TTSubdet
protected

Definition at line 135 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D TPTask::_cEtMsmvsLS_TTSubdet
protected

Definition at line 133 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D TPTask::_cFGCorr_TTSubdet[hcaldqm::constants::NUM_FGBITS]
protected

Definition at line 81 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerSingle2D TPTask::_cFGMsm_depthlike
protected

Definition at line 132 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D TPTask::_cFGMsm_ElectronicsuTCA
protected

Definition at line 130 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D TPTask::_cFGMsm_ElectronicsVME
protected

Definition at line 129 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D TPTask::_cMsnCutDatavsBX_TTSubdet
protected

Definition at line 145 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D TPTask::_cMsnCutDatavsLS_TTSubdet
protected

Definition at line 143 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D TPTask::_cMsnCutEmulvsBX_TTSubdet
protected

Definition at line 154 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D TPTask::_cMsnCutEmulvsLS_TTSubdet
protected

Definition at line 152 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerSingle2D TPTask::_cMsnData_depthlike
protected

Definition at line 141 of file TPTask.h.

Referenced by bookHistograms().

hcaldqm::Container2D TPTask::_cMsnData_ElectronicsuTCA
protected

Definition at line 140 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D TPTask::_cMsnData_ElectronicsVME
protected

Definition at line 139 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D TPTask::_cMsnDatavsBX_TTSubdet
protected

Definition at line 144 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D TPTask::_cMsnDatavsLS_TTSubdet
protected

Definition at line 142 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerSingle2D TPTask::_cMsnEmul_depthlike
protected

Definition at line 150 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D TPTask::_cMsnEmul_ElectronicsuTCA
protected

Definition at line 149 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D TPTask::_cMsnEmul_ElectronicsVME
protected

Definition at line 148 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D TPTask::_cMsnEmulvsBX_TTSubdet
protected

Definition at line 153 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D TPTask::_cMsnEmulvsLS_TTSubdet
protected

Definition at line 151 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerSingle2D TPTask::_cOccupancyCutData_depthlike
protected

Definition at line 119 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D TPTask::_cOccupancyCutData_ElectronicsuTCA
protected

Definition at line 112 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D TPTask::_cOccupancyCutData_ElectronicsVME
protected

Definition at line 111 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D TPTask::_cOccupancyCutDatavsBX_TTSubdet
protected

Definition at line 159 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D TPTask::_cOccupancyCutDatavsLS_TTSubdet
protected

Definition at line 163 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerSingle2D TPTask::_cOccupancyCutEmul_depthlike
protected

Definition at line 120 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D TPTask::_cOccupancyCutEmul_ElectronicsuTCA
protected

Definition at line 114 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D TPTask::_cOccupancyCutEmul_ElectronicsVME
protected

Definition at line 113 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D TPTask::_cOccupancyCutEmulvsBX_TTSubdet
protected

Definition at line 160 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D TPTask::_cOccupancyCutEmulvsLS_TTSubdet
protected

Definition at line 164 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerSingle2D TPTask::_cOccupancyData2x3_depthlike
protected

Definition at line 123 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerSingle2D TPTask::_cOccupancyData_depthlike
protected

Definition at line 117 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D TPTask::_cOccupancyData_ElectronicsuTCA
protected

Definition at line 107 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D TPTask::_cOccupancyData_ElectronicsVME
protected

Definition at line 106 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D TPTask::_cOccupancyDatavsBX_TTSubdet
protected

Definition at line 157 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D TPTask::_cOccupancyDatavsLS_TTSubdet
protected

Definition at line 161 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerSingle2D TPTask::_cOccupancyEmul2x3_depthlike
protected

Definition at line 124 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerSingle2D TPTask::_cOccupancyEmul_depthlike
protected

Definition at line 118 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D TPTask::_cOccupancyEmul_ElectronicsuTCA
protected

Definition at line 109 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::Container2D TPTask::_cOccupancyEmul_ElectronicsVME
protected

Definition at line 108 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D TPTask::_cOccupancyEmulvsBX_TTSubdet
protected

Definition at line 158 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerProf1D TPTask::_cOccupancyEmulvsLS_TTSubdet
protected

Definition at line 162 of file TPTask.h.

Referenced by _process(), and bookHistograms().

hcaldqm::ContainerSingle2D TPTask::_cSummaryvsLS
protected

Definition at line 171 of file TPTask.h.

Referenced by bookHistograms(), and endLuminosityBlock().

hcaldqm::Container2D TPTask::_cSummaryvsLS_FED
protected

Definition at line 170 of file TPTask.h.

Referenced by bookHistograms(), and endLuminosityBlock().

int TPTask::_cutEt
protected

Definition at line 58 of file TPTask.h.

Referenced by _process(), and TPTask().

hcaldqm::electronicsmap::ElectronicsMap TPTask::_ehashmap
protected

Definition at line 69 of file TPTask.h.

Referenced by _process(), and bookHistograms().

HcalElectronicsMap const* TPTask::_emap
protected

Definition at line 68 of file TPTask.h.

Referenced by bookHistograms().

hcaldqm::filter::HashFilter TPTask::_filter_depth0
protected

Definition at line 74 of file TPTask.h.

Referenced by bookHistograms().

hcaldqm::filter::HashFilter TPTask::_filter_uTCA
protected

Definition at line 73 of file TPTask.h.

Referenced by bookHistograms().

hcaldqm::filter::HashFilter TPTask::_filter_VME
protected

Definition at line 72 of file TPTask.h.

Referenced by bookHistograms().

bool TPTask::_skip1x1
protected

Definition at line 57 of file TPTask.h.

Referenced by TPTask().

edm::InputTag TPTask::_tagData
protected

Definition at line 39 of file TPTask.h.

Referenced by _process(), and TPTask().

edm::InputTag TPTask::_tagEmul
protected

Definition at line 40 of file TPTask.h.

Referenced by _process(), and TPTask().

double TPTask::_thresh_DataMsn
protected

Definition at line 59 of file TPTask.h.

Referenced by TPTask().

double TPTask::_thresh_EmulMsn
protected

Definition at line 59 of file TPTask.h.

Referenced by TPTask().

double TPTask::_thresh_EtMsmRate_high
protected

Definition at line 59 of file TPTask.h.

Referenced by endLuminosityBlock(), and TPTask().

double TPTask::_thresh_EtMsmRate_low
protected

Definition at line 59 of file TPTask.h.

Referenced by endLuminosityBlock(), and TPTask().

double TPTask::_thresh_FGMsmRate_high
protected

Definition at line 59 of file TPTask.h.

Referenced by endLuminosityBlock(), and TPTask().

double TPTask::_thresh_FGMsmRate_low
protected

Definition at line 59 of file TPTask.h.

Referenced by endLuminosityBlock(), and TPTask().

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

Definition at line 41 of file TPTask.h.

Referenced by _process(), and TPTask().

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

Definition at line 42 of file TPTask.h.

Referenced by _process(), and TPTask().

bool TPTask::_unknownIdsPresent
protected

Definition at line 168 of file TPTask.h.

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

std::vector<bool> TPTask::_vFGBitsReady
protected

Definition at line 62 of file TPTask.h.

Referenced by _process(), and TPTask().

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

Definition at line 45 of file TPTask.h.

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

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

Definition at line 65 of file TPTask.h.

Referenced by bookHistograms(), and endLuminosityBlock().

hcaldqm::ContainerXXX<uint32_t> TPTask::_xDataMsn
protected

Definition at line 172 of file TPTask.h.

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

hcaldqm::ContainerXXX<uint32_t> TPTask::_xDataTotal
protected

Definition at line 172 of file TPTask.h.

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

hcaldqm::ContainerXXX<uint32_t> TPTask::_xEmulMsn
protected

Definition at line 172 of file TPTask.h.

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

hcaldqm::ContainerXXX<uint32_t> TPTask::_xEmulTotal
protected

Definition at line 172 of file TPTask.h.

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

hcaldqm::ContainerXXX<uint32_t> TPTask::_xEtMsm
protected

Definition at line 172 of file TPTask.h.

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

hcaldqm::ContainerXXX<uint32_t> TPTask::_xFGMsm
protected

Definition at line 172 of file TPTask.h.

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

hcaldqm::ContainerXXX<uint32_t> TPTask::_xNumCorr
protected

Definition at line 172 of file TPTask.h.

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

list TPTask.fgbits = [1 for x in range(5)]

Definition at line 3 of file TPTask.py.

MonitorElement* TPTask::meUnknownIds1LS
protected

Definition at line 167 of file TPTask.h.

Referenced by _process(), and bookHistograms().

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_high = cms.untracked.double(0.2),
24  thresh_EtMsmRate_low = cms.untracked.double(0.1),
25  thresh_FGMsmRate_high = cms.untracked.double(0.2),
26  thresh_FGMsmRate_low = cms.untracked.double(0.1),
27  thresh_DataMsn = cms.untracked.double(0.1),
28  thresh_EmulMsn = cms.untracked.double(0.1),
29  vFGBitsReady = cms.untracked.vint32(fgbits)
30 )

Definition at line 6 of file TPTask.py.