CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Public Attributes | 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 Types

enum  TPFlag {
  fOccUniphi_Data = 0, fOccUniphi_Emul = 1, fLowOcp_Emul = 2, fCorrRatio = 3,
  fCorrUniphi = 4, fMsmEtUniphi = 5, fMsmEtNum = 6, fMsnUniphi_Data = 7,
  nTPFlag = 9
}
 
- 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
 

Public Member Functions

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

ContainerProf1D _cDigiSizeDatavsLS_TPSubDet
 
ContainerProf1D _cDigiSizeEmulvsLS_TPSubDet
 
Container2D _cEtCorr_TPSubDet
 
Container1D _cEtCorrRatio_TPSubDet
 
ContainerProf1D _cEtCorrRatiovsiphi_TPSubDetPM
 
ContainerProf1D _cEtCorrRatiovsLS_TPSubDet
 
Container1D _cEtData_SubDet
 
Container1D _cEtData_SubDet_ieta
 
Container1D _cEtData_SubDetPM_iphi
 
Container1D _cEtEmul_SubDet
 
ContainerSingle2D _cEtMsm
 
Container2D _cFGCorr_SubDet
 
ContainerSingle2D _cFGMsm
 
ContainerSingle2D _cMsData
 
Container1D _cMsDatavsiphi_TPSubDetPM
 
ContainerSingle2D _cMsEmul
 
Container1D _cNumEtMsm_TPSubDet
 
Container1D _cNumEtMsmvsiphi_TPSubDetPM
 
ContainerProf1D _cNumEtMsmvsLS_TPSubDet
 
ContainerSingle2D _cOccupancyData
 
Container1D _cOccupancyDatavsiphi_TPSubDetPM
 
ContainerProf1D _cOccupancyDatavsLS_TPSubDet
 
ContainerSingle2D _cOccupancyEmul
 
Container1D _cOccupancyEmulvsiphi_TPSubDetPM
 
ContainerProf1D _cOccupancyEmulvsLS_TPSubDet
 
Container1D _cSumdEt_TPSubDet
 
ContainerProf1D _cSumdEtvsLS_TPSubDet
 
ContainerSingle2D _cSummary
 
Container2D _cSummaryvsLS_TPSubDet
 
std::vector< std::string > _fNames
 
int _nMsmEt [constants::TPSUBDET_NUM]
 
int _nMsmFG [constants::TPSUBDET_NUM]
 
int _nTPs_Data [constants::TPSUBDET_NUM]
 
int _nTPs_Emul [constants::TPSUBDET_NUM]
 
bool _skip1x1
 
edm::InputTag _tagData
 
edm::InputTag _tagEmul
 
edm::EDGetTokenT
< HcalTrigPrimDigiCollection
_tokData
 
edm::EDGetTokenT
< HcalTrigPrimDigiCollection
_tokEmul
 
- 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
 
- Protected Attributes inherited from hcaldqm::DQModule
int _currentLS
 
int _debug
 
int _evsPerLS
 
int _evsTotal
 
Logger _logger
 
ModuleType _mtype
 
std::string _name
 
ProcessingType _ptype
 
std::string _runkeyName
 
int _runkeyVal
 
std::string _subsystem
 

Additional Inherited Members

- 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 18 of file TPTask.h.

Member Enumeration Documentation

Enumerator
fOccUniphi_Data 
fOccUniphi_Emul 
fLowOcp_Emul 
fCorrRatio 
fCorrUniphi 
fMsmEtUniphi 
fMsmEtNum 
fMsnUniphi_Data 
nTPFlag 

Definition at line 30 of file TPTask.h.

Constructor & Destructor Documentation

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

Definition at line 5 of file TPTask.cc.

References _cDigiSizeDatavsLS_TPSubDet, _cDigiSizeEmulvsLS_TPSubDet, _cEtCorr_TPSubDet, _cEtCorrRatio_TPSubDet, _cEtCorrRatiovsiphi_TPSubDetPM, _cEtCorrRatiovsLS_TPSubDet, _cEtData_SubDet, _cEtData_SubDet_ieta, _cEtData_SubDetPM_iphi, _cEtEmul_SubDet, _cEtMsm, _cFGCorr_SubDet, _cFGMsm, _cMsData, _cMsDatavsiphi_TPSubDetPM, _cMsEmul, _cNumEtMsm_TPSubDet, _cNumEtMsmvsiphi_TPSubDetPM, _cNumEtMsmvsLS_TPSubDet, _cOccupancyData, _cOccupancyDatavsiphi_TPSubDetPM, _cOccupancyDatavsLS_TPSubDet, _cOccupancyEmul, _cOccupancyEmulvsiphi_TPSubDetPM, _cOccupancyEmulvsLS_TPSubDet, _cSumdEt_TPSubDet, _cSumdEtvsLS_TPSubDet, _cSummary, _cSummaryvsLS_TPSubDet, _fNames, hcaldqm::DQModule::_name, _skip1x1, _tagData, _tagEmul, _tokData, _tokEmul, hcaldqm::axis::fDigiSize, hcaldqm::axis::fEntries, hcaldqm::axis::fEntries100, hcaldqm::axis::fEt_128, hcaldqm::axis::fEt_256, hcaldqm::axis::fFG, hcaldqm::axis::fiphi, hcaldqm::fLS, hcaldqm::axis::fRatio, hcaldqm::axis::fSumdEt, hcaldqm::axis::fTPieta, hcaldqm::axis::fTPSubDet, hcaldqm::mapper::fTPSubDet_ieta, hcaldqm::axis::fTPSubDetPM, hcaldqm::mapper::fTPSubDetPM_iphi, hcaldqm::axis::fXaxis, hcaldqm::axis::fYaxis, hcaldqm::axis::fZaxis, edm::ParameterSet::getUntrackedParameter(), hcaldqm::ContainerSingle2D::initialize(), hcaldqm::ContainerProf1D::initialize(), hcaldqm::Container2D::initialize(), hcaldqm::Container1D::initialize(), HLT_FULL_cff::InputTag, hcaldqm::Container2D::loadLabels(), hcaldqm::ContainerSingle2D::loadLabels(), and nTPFlag.

5  :
6  DQTask(ps)
7 {
8  // Et
9  _cEtData_SubDet.initialize(_name+"/Et/SubDet_Data", "Et",
13  _cEtEmul_SubDet.initialize(_name+"/Et/SubDet_Data", "Et",
17  _cEtCorr_TPSubDet.initialize(_name+"/EtCorrelation/TPSubDet",
18  "EtCorrelation",
22  _cEtCorrRatiovsLS_TPSubDet.initialize(_name+"/EtCorrRatio/vsLS_TPSubDet",
23  "EtCorrelationRatio", mapper::fTPSubDet,
26  _cEtCorrRatio_TPSubDet.initialize(_name+"/EtCorrRatio/TPSubDet",
27  "EtCorrelationRatio", mapper::fTPSubDet,
31  _name+"/EtCorrRatio/vsiphi_TPSubDetPM",
32  "EtCorrelationRatio", mapper::fTPSubDetPM,
35  _cEtMsm.initialize(_name+"/EtMisMatched", "EtMismatched",
39  _cNumEtMsmvsLS_TPSubDet.initialize(_name+"/EtMismatched/vsLS_TPSubDet",
40  "EtMismatched", mapper::fTPSubDet,
43  _cNumEtMsm_TPSubDet.initialize(_name+"/EtMismatched/TPSubDet",
44  "EtMismatched", mapper::fTPSubDet,
48  _name+"/EtMismatched/vsiphi_TPSubDetPM",
49  "EtMismatched", mapper::fTPSubDetPM,
52  _cSumdEtvsLS_TPSubDet.initialize(_name+"/SumdEt/vsLS_TPSubDet",
53  "SumdEt", mapper::fTPSubDet,
56  _cSumdEt_TPSubDet.initialize(_name+"/SumdEt/TPSubDet",
57  "SumdEt", mapper::fTPSubDet,
60  _cEtData_SubDetPM_iphi.initialize(_name+"/Et/SubDetPM_iphi_Data", "Et",
64  _cEtData_SubDet_ieta.initialize(_name+"/Et/SubDet_ieta_Data", "Et",
68 
69  // FG
70  _cFGCorr_SubDet.initialize(_name+"/FGCorrelation/SubDet", "FG",
74  _cFGMsm.initialize(_name+"/FGMisMatched", "FGMismatched",
78 
79  // Occupancy
80  _cOccupancyData.initialize(_name+"/Occupancy/Data", "Occupancy",
84  _cOccupancyEmul.initialize(_name+"/Occupancy/Emul", "Occupancy",
89  _name+"/Occupancy/vsiphi_TPSubDetPM_Data",
90  "Occupancy", mapper::fTPSubDetPM,
93  _name+"/Occupancy/vsiphi_TPSubDetPM_Emul",
94  "Occupancy", mapper::fTPSubDetPM,
97  _name+"/Occupancy/vsLS_TPSubDet_Data",
98  "Occupancy", mapper::fTPSubDet,
102  _name+"/Occupancy/vsLS_TPSubDet_Emul",
103  "Occupancy", mapper::fTPSubDet,
106  _cMsData.initialize(_name+"/Missing/Data", "Missing",
111  _name+"/Missing/vsiphi_TPSubDetPM_Data",
112  "Missing", mapper::fTPSubDetPM,
115  _cMsEmul.initialize(_name+"/Missing/Emul", "Missing",
119 
120  // Digi Sizes
121  _cDigiSizeDatavsLS_TPSubDet.initialize(_name+"/DigiSize/vsLS_TPSubDet_Data",
122  "DigiSize", mapper::fTPSubDet,
125  _cDigiSizeEmulvsLS_TPSubDet.initialize(_name+"/DigiSize/vsLS_TPSubDet_Emul",
126  "DigiSize", mapper::fTPSubDet,
129 
130  // Summary
131  _cSummary.initialize(_name+"/Summary", "Summary",
133  new axis::FlagAxis(axis::fYaxis, "Flag", int(nTPFlag)));
134  _cSummaryvsLS_TPSubDet.initialize(_name+"/Summary/vsLS_TPSubDet", "Summary",
137  new axis::FlagAxis(axis::fYaxis, "Flag", int(nTPFlag)));
138 
139  // tags
140  _tagData = ps.getUntrackedParameter<edm::InputTag>("tagData",
141  edm::InputTag("hcalDigis"));
142  _tagEmul = ps.getUntrackedParameter<edm::InputTag>("tagEmul",
143  edm::InputTag("emulDigis"));
144  _tokData = consumes<HcalTrigPrimDigiCollection>(_tagData);
145  _tokEmul = consumes<HcalTrigPrimDigiCollection>(_tagEmul);
146 
147  // Special
148  _skip1x1 = ps.getUntrackedParameter<bool>("skip1x1", true);
149 
150  // flags
151  _fNames.push_back("Occ. iphi Uniform. D");
152  _fNames.push_back("Occ. iphi Uniform. E");
153  _fNames.push_back("Low Occupancy E");
154  _fNames.push_back("Corr. Ratio");
155  _fNames.push_back("Corr. Ratio iphi Uniform");
156  _fNames.push_back("Msm. Et iphi Uniform. ");
157  _fNames.push_back("Msm. Et Number");
158  _fNames.push_back("Missing iphi Uniform. D");
161 }
virtual void initialize(std::string const &folder, std::string const &nametitle, mapper::MapperType mt, axis::Axis *xaxis, axis::Axis *yaxis=new axis::ValueAxis(axis::fYaxis, axis::fEntries), int debug=0)
Container1D _cSumdEt_TPSubDet
Definition: TPTask.h:79
Container1D _cNumEtMsmvsiphi_TPSubDetPM
Definition: TPTask.h:77
virtual void initialize(std::string const &folder, std::string const &nametitle, axis::Axis *xaxis, axis::Axis *yaxis=new CoordinateAxis(fYaxis, axis::fiphi), axis::Axis *zaxis=new ValueAxis(fZaxis, fEntries), int debug=0)
bool _skip1x1
Definition: TPTask.h:62
edm::InputTag _tagData
Definition: TPTask.h:50
virtual void initialize(std::string const &folder, std::string nametitle, mapper::MapperType mt, axis::Axis *xaxis, axis::Axis *yaxis=new axis::CoordinateAxis(axis::fYaxis, axis::fiphi), axis::Axis *zaxis=new axis::ValueAxis(axis::fZaxis, axis::fEntries), int debug=0)
Definition: Container2D.cc:30
DQTask(edm::ParameterSet const &)
Definition: DQTask.cc:7
Container1D _cEtData_SubDetPM_iphi
Definition: TPTask.h:81
ContainerSingle2D _cMsData
Definition: TPTask.h:95
edm::EDGetTokenT< HcalTrigPrimDigiCollection > _tokData
Definition: TPTask.h:52
Container1D _cOccupancyEmulvsiphi_TPSubDetPM
Definition: TPTask.h:92
std::vector< std::string > _fNames
Definition: TPTask.h:65
ContainerProf1D _cNumEtMsmvsLS_TPSubDet
Definition: TPTask.h:75
Container1D _cEtEmul_SubDet
Definition: TPTask.h:69
virtual void loadLabels(std::vector< std::string > const &)
ContainerSingle2D _cOccupancyEmul
Definition: TPTask.h:90
ContainerSingle2D _cFGMsm
Definition: TPTask.h:86
Container1D _cMsDatavsiphi_TPSubDetPM
Definition: TPTask.h:96
Container1D _cEtData_SubDet
Definition: TPTask.h:68
ContainerProf1D _cOccupancyDatavsLS_TPSubDet
Definition: TPTask.h:93
ContainerSingle2D _cEtMsm
Definition: TPTask.h:74
ContainerProf1D _cOccupancyEmulvsLS_TPSubDet
Definition: TPTask.h:94
virtual void loadLabels(std::vector< std::string > const &)
Definition: Container2D.cc:294
Container1D _cNumEtMsm_TPSubDet
Definition: TPTask.h:76
Container1D _cEtCorrRatio_TPSubDet
Definition: TPTask.h:72
Container2D _cSummaryvsLS_TPSubDet
Definition: TPTask.h:105
virtual void initialize(std::string const &folder, std::string const &nametitle, mapper::MapperType mt, axis::Axis *xaxis, axis::Axis *yaxis=new ValueAxis(fYaxis, fEntries), int debug=0)
Definition: Container1D.cc:28
std::string _name
Definition: DQModule.h:50
ContainerProf1D _cEtCorrRatiovsiphi_TPSubDetPM
Definition: TPTask.h:73
ContainerProf1D _cDigiSizeDatavsLS_TPSubDet
Definition: TPTask.h:100
ContainerProf1D _cDigiSizeEmulvsLS_TPSubDet
Definition: TPTask.h:101
Container1D _cOccupancyDatavsiphi_TPSubDetPM
Definition: TPTask.h:91
Container2D _cFGCorr_SubDet
Definition: TPTask.h:85
ContainerProf1D _cSumdEtvsLS_TPSubDet
Definition: TPTask.h:78
ContainerProf1D _cEtCorrRatiovsLS_TPSubDet
Definition: TPTask.h:71
edm::EDGetTokenT< HcalTrigPrimDigiCollection > _tokEmul
Definition: TPTask.h:53
Container1D _cEtData_SubDet_ieta
Definition: TPTask.h:82
Container2D _cEtCorr_TPSubDet
Definition: TPTask.h:70
ContainerSingle2D _cOccupancyData
Definition: TPTask.h:89
edm::InputTag _tagEmul
Definition: TPTask.h:51
ContainerSingle2D _cSummary
Definition: TPTask.h:104
ContainerSingle2D _cMsEmul
Definition: TPTask.h:97
virtual TPTask::~TPTask ( )
inlinevirtual

Definition at line 22 of file TPTask.h.

23  {}

Member Function Documentation

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

Implements hcaldqm::DQTask.

Definition at line 200 of file TPTask.cc.

References _cDigiSizeDatavsLS_TPSubDet, _cDigiSizeEmulvsLS_TPSubDet, _cEtCorr_TPSubDet, _cEtCorrRatio_TPSubDet, _cEtCorrRatiovsiphi_TPSubDetPM, _cEtCorrRatiovsLS_TPSubDet, _cEtData_SubDet, _cEtData_SubDet_ieta, _cEtData_SubDetPM_iphi, _cEtEmul_SubDet, _cEtMsm, _cFGCorr_SubDet, _cFGMsm, _cMsData, _cMsDatavsiphi_TPSubDetPM, _cMsEmul, _cNumEtMsm_TPSubDet, _cNumEtMsmvsiphi_TPSubDetPM, _cNumEtMsmvsLS_TPSubDet, _cOccupancyData, _cOccupancyDatavsiphi_TPSubDetPM, _cOccupancyDatavsLS_TPSubDet, _cOccupancyEmul, _cOccupancyEmulvsiphi_TPSubDetPM, _cOccupancyEmulvsLS_TPSubDet, _cSumdEt_TPSubDet, _cSumdEtvsLS_TPSubDet, hcaldqm::DQModule::_currentLS, hcaldqm::DQModule::_logger, _nMsmEt, _nMsmFG, _nTPs_Data, _nTPs_Emul, _skip1x1, _tagData, _tagEmul, _tokData, _tokEmul, funct::abs(), Logger::dqmthrow(), hcaldqm::ContainerSingle2D::fill(), hcaldqm::Container2D::fill(), hcaldqm::Container1D::fill(), edm::Event::getByToken(), hcaldqm::utilities::getTPSubDet(), HcalTrigTowerDetId::ieta(), edm::InputTag::instance(), HcalTrigTowerDetId::iphi(), edm::InputTag::label(), bookConverter::max, min(), and HcalTrigTowerDetId::version().

202 {
205 
206  if (!e.getByToken(_tokData, ctpd))
207  _logger.dqmthrow("Collection HcalTrigPrimDigiCollection isn't available"
208  + _tagData.label() + " " + _tagData.instance());
209  if (!e.getByToken(_tokEmul, ctpe))
210  _logger.dqmthrow("Collection HcalTrigPrimDigiCollection isn't available"
211  + _tagEmul.label() + " " + _tagEmul.instance());
212 
213  // tmp
214  bool useD1 = false;
215  // tmp
216 
217 
218  // iterate thru the Data Digis
219  double sumdEt[2] = {0, 0};
220  for (HcalTrigPrimDigiCollection::const_iterator hddigi=ctpd->begin();
221  hddigi!=ctpd->end(); ++hddigi)
222  {
223  // tmpt
224  if (_skip1x1)
225  if (hddigi->id().depth()==10) // 10 is the depth for 1x1 TPs
226  continue;
227  //\tmp
228 
229  // get quantities
230  int soiEt_d = hddigi->SOI_compressedEt();
231  int soiFG_d = hddigi->SOI_fineGrain() ? 1 : 0;
232  HcalTrigTowerDetId tid = hddigi->id();
233  // NOTE: skip1x1 should've done that - in the emap it's depth10
234  // in data in 80X it's 0 for some reason!!!
235  // skip using version number
236  if (tid.version()>0)
237  continue;
238 
239  // tmp
240  if (hddigi->id().depth()==1)
241  useD1 = true;
242  //\tmp
243 
244  // fill individual
245  _cEtData_SubDet.fill(tid, soiEt_d);
246  _cEtData_SubDetPM_iphi.fill(tid, soiEt_d);
247  _cEtData_SubDet_ieta.fill(tid, soiEt_d);
248  _cOccupancyData.fill(tid);
251  _cDigiSizeDatavsLS_TPSubDet.fill(tid, _currentLS, hddigi->size());
252 
253  // now, find the emulator digi and compare
255  ctpe->find(HcalTrigTowerDetId(tid.ieta(),
256  tid.iphi(), 0));
257 
258  if (hedigi!=ctpe->end())
259  {
260  int soiEt_e = hedigi->SOI_compressedEt();
261  int soiFG_e = hedigi->SOI_fineGrain() ? 1 : 0;
262  double rEt = double(std::min(soiEt_d, soiEt_e))/
263  double(std::max(soiEt_e, soiEt_d));
264  sumdEt[utilities::getTPSubDet(tid)]+=std::abs(soiEt_e-soiEt_d);
265 
266  // fill correlations
267  _cEtEmul_SubDet.fill(tid, soiEt_e);
268  _cEtCorr_TPSubDet.fill(tid, soiEt_e, soiEt_d);
269  _cFGCorr_SubDet.fill(tid, soiFG_e, soiFG_d);
270  _cOccupancyEmul.fill(tid);
272  _cEtCorrRatio_TPSubDet.fill(tid, rEt);
276  _cDigiSizeEmulvsLS_TPSubDet.fill(tid, _currentLS, hedigi->size());
277 
278  // fill those that mismatched
279  if (soiEt_d!=soiEt_e)
280  {
281  _cEtMsm.fill(tid);
284  }
285  if (soiFG_d!=soiEt_e)
286  {
287  _cFGMsm.fill(hddigi->id());
289  }
290  }
291  else
292  {
293  _cMsEmul.fill(hddigi->id());
294  }
295  }
296 
297  // iterate thru the Emulator Digis
298  for (HcalTrigPrimDigiCollection::const_iterator hedigi=ctpe->begin();
299  hedigi!=ctpe->end(); ++hedigi)
300  {
301  // tmp
302  if (_skip1x1)
303  if (hedigi->id().depth()==10) // 10 for 1x1
304  continue;
305  // \tmp
306 
307  // now, find the emulator digi and compare
308  // tmp
310  ctpd->find(HcalTrigTowerDetId(hedigi->id().ieta(),
311  hedigi->id().iphi(), useD1 ? 1: 0));
312  // \tmp
313 
314  // we have to only check those that are missing
315  if (hddigi==ctpd->end())
316  {
317  _cMsData.fill(hedigi->id());
318  _cMsDatavsiphi_TPSubDetPM.fill(hedigi->id());
320  _nTPs_Emul[utilities::getTPSubDet(hedigi->id())]++;
322  hedigi->size());
323  }
324  }
325 
326  // fill per event quantities
328  _currentLS, _nTPs_Data[0]);
330  _currentLS, _nTPs_Data[1]);
332  _currentLS, _nTPs_Emul[0]);
334  _currentLS, _nTPs_Emul[1]);
336  _currentLS, _nMsmEt[0]);
338  _currentLS, _nMsmEt[1]);
342  sumdEt[0]);
344  sumdEt[1]);
346  sumdEt[0]);
348  sumdEt[1]);
349 }
Container1D _cSumdEt_TPSubDet
Definition: TPTask.h:79
Container1D _cNumEtMsmvsiphi_TPSubDetPM
Definition: TPTask.h:77
bool _skip1x1
Definition: TPTask.h:62
int _nMsmEt[constants::TPSUBDET_NUM]
Definition: TPTask.h:56
edm::InputTag _tagData
Definition: TPTask.h:50
Container1D _cEtData_SubDetPM_iphi
Definition: TPTask.h:81
ContainerSingle2D _cMsData
Definition: TPTask.h:95
edm::EDGetTokenT< HcalTrigPrimDigiCollection > _tokData
Definition: TPTask.h:52
Container1D _cOccupancyEmulvsiphi_TPSubDetPM
Definition: TPTask.h:92
ContainerProf1D _cNumEtMsmvsLS_TPSubDet
Definition: TPTask.h:75
std::vector< HcalTriggerPrimitiveDigi >::const_iterator const_iterator
Container1D _cEtEmul_SubDet
Definition: TPTask.h:69
int ieta() const
get the tower ieta
ContainerSingle2D _cOccupancyEmul
Definition: TPTask.h:90
ContainerSingle2D _cFGMsm
Definition: TPTask.h:86
virtual void fill(HcalDetId const &)
Definition: Container2D.cc:39
Container1D _cMsDatavsiphi_TPSubDetPM
Definition: TPTask.h:96
Container1D _cEtData_SubDet
Definition: TPTask.h:68
void dqmthrow(std::string const &msg) const
Definition: Logger.h:15
ContainerProf1D _cOccupancyDatavsLS_TPSubDet
Definition: TPTask.h:93
ContainerSingle2D _cEtMsm
Definition: TPTask.h:74
ContainerProf1D _cOccupancyEmulvsLS_TPSubDet
Definition: TPTask.h:94
virtual void fill(double)
Definition: Container1D.h:53
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
Container1D _cNumEtMsm_TPSubDet
Definition: TPTask.h:76
Logger _logger
Definition: DQModule.h:62
Container1D _cEtCorrRatio_TPSubDet
Definition: TPTask.h:72
T min(T a, T b)
Definition: MathUtil.h:58
int _nMsmFG[constants::TPSUBDET_NUM]
Definition: TPTask.h:57
ContainerProf1D _cEtCorrRatiovsiphi_TPSubDetPM
Definition: TPTask.h:73
int getTPSubDet(HcalTrigTowerDetId const &)
Definition: Utilities.cc:58
ContainerProf1D _cDigiSizeDatavsLS_TPSubDet
Definition: TPTask.h:100
ContainerProf1D _cDigiSizeEmulvsLS_TPSubDet
Definition: TPTask.h:101
int version() const
get the version code for the trigger tower
Container1D _cOccupancyDatavsiphi_TPSubDetPM
Definition: TPTask.h:91
std::string const & label() const
Definition: InputTag.h:36
Container2D _cFGCorr_SubDet
Definition: TPTask.h:85
int _nTPs_Emul[constants::TPSUBDET_NUM]
Definition: TPTask.h:59
ContainerProf1D _cSumdEtvsLS_TPSubDet
Definition: TPTask.h:78
ContainerProf1D _cEtCorrRatiovsLS_TPSubDet
Definition: TPTask.h:71
edm::EDGetTokenT< HcalTrigPrimDigiCollection > _tokEmul
Definition: TPTask.h:53
Container1D _cEtData_SubDet_ieta
Definition: TPTask.h:82
Container2D _cEtCorr_TPSubDet
Definition: TPTask.h:70
int _nTPs_Data[constants::TPSUBDET_NUM]
Definition: TPTask.h:58
ContainerSingle2D _cOccupancyData
Definition: TPTask.h:89
virtual void fill(int, int)
edm::InputTag _tagEmul
Definition: TPTask.h:51
std::string const & instance() const
Definition: InputTag.h:37
int iphi() const
get the tower iphi
ContainerSingle2D _cMsEmul
Definition: TPTask.h:97
void TPTask::_resetMonitors ( UpdateFreq  uf)
protectedvirtual

Reimplemented from hcaldqm::DQTask.

Definition at line 509 of file TPTask.cc.

References _nMsmEt, _nMsmFG, _nTPs_Data, _nTPs_Emul, hcaldqm::f10LS, hcaldqm::fEvent, hcaldqm::fLS, and hcaldqm::constants::TPSUBDET_NUM.

510 {
511  switch (uf)
512  {
513  case fEvent:
514  for (unsigned int idet=0; idet<constants::TPSUBDET_NUM; idet++)
515  {
516  _nMsmEt[idet] = 0;
517  _nMsmFG[idet] = 0;
518  _nTPs_Data[idet] = 0;
519  _nTPs_Emul[idet] = 0;
520  }
521  break;
522  case hcaldqm::fLS:
523  break;
524  case hcaldqm::f10LS:
525  break;
526  default:
527  break;
528  }
529 
530  DQTask::_resetMonitors(uf);
531 }
int _nMsmEt[constants::TPSUBDET_NUM]
Definition: TPTask.h:56
int _nMsmFG[constants::TPSUBDET_NUM]
Definition: TPTask.h:57
int _nTPs_Emul[constants::TPSUBDET_NUM]
Definition: TPTask.h:59
int const TPSUBDET_NUM
Definition: Constants.h:88
int _nTPs_Data[constants::TPSUBDET_NUM]
Definition: TPTask.h:58
void TPTask::bookHistograms ( DQMStore::IBooker ib,
edm::Run const &  r,
edm::EventSetup const &  es 
)
virtual

Reimplemented from hcaldqm::DQTask.

Definition at line 163 of file TPTask.cc.

References _cDigiSizeDatavsLS_TPSubDet, _cDigiSizeEmulvsLS_TPSubDet, _cEtCorr_TPSubDet, _cEtCorrRatio_TPSubDet, _cEtCorrRatiovsiphi_TPSubDetPM, _cEtCorrRatiovsLS_TPSubDet, _cEtData_SubDet, _cEtData_SubDet_ieta, _cEtData_SubDetPM_iphi, _cEtEmul_SubDet, _cEtMsm, _cFGCorr_SubDet, _cFGMsm, _cMsData, _cMsDatavsiphi_TPSubDetPM, _cMsEmul, _cNumEtMsm_TPSubDet, _cNumEtMsmvsiphi_TPSubDetPM, _cNumEtMsmvsLS_TPSubDet, _cOccupancyData, _cOccupancyDatavsiphi_TPSubDetPM, _cOccupancyDatavsLS_TPSubDet, _cOccupancyEmul, _cOccupancyEmulvsiphi_TPSubDetPM, _cOccupancyEmulvsLS_TPSubDet, _cSumdEt_TPSubDet, _cSumdEtvsLS_TPSubDet, _cSummary, _cSummaryvsLS_TPSubDet, hcaldqm::ContainerProf1D::book(), hcaldqm::ContainerSingle2D::book(), hcaldqm::Container2D::book(), hcaldqm::Container1D::book(), and bookHistograms().

165 {
166  DQTask::bookHistograms(ib, r, es);
167  _cEtData_SubDet.book(ib);
168  _cEtEmul_SubDet.book(ib);
173  _cEtMsm.book(ib);
181  _cFGCorr_SubDet.book(ib);
182  _cFGMsm.book(ib);
183  _cOccupancyData.book(ib);
184  _cOccupancyEmul.book(ib);
189  _cMsData.book(ib);
190  _cMsEmul.book(ib);
192 
195 
196  _cSummary.book(ib);
198 }
Container1D _cSumdEt_TPSubDet
Definition: TPTask.h:79
Container1D _cNumEtMsmvsiphi_TPSubDetPM
Definition: TPTask.h:77
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
Definition: Container2D.cc:233
Container1D _cEtData_SubDetPM_iphi
Definition: TPTask.h:81
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
Definition: Container1D.cc:198
ContainerSingle2D _cMsData
Definition: TPTask.h:95
Container1D _cOccupancyEmulvsiphi_TPSubDetPM
Definition: TPTask.h:92
ContainerProf1D _cNumEtMsmvsLS_TPSubDet
Definition: TPTask.h:75
Container1D _cEtEmul_SubDet
Definition: TPTask.h:69
void bookHistograms(fwlite::EventContainer &eventCont)
ContainerSingle2D _cOccupancyEmul
Definition: TPTask.h:90
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
ContainerSingle2D _cFGMsm
Definition: TPTask.h:86
Container1D _cMsDatavsiphi_TPSubDetPM
Definition: TPTask.h:96
Container1D _cEtData_SubDet
Definition: TPTask.h:68
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
ContainerProf1D _cOccupancyDatavsLS_TPSubDet
Definition: TPTask.h:93
ContainerSingle2D _cEtMsm
Definition: TPTask.h:74
ContainerProf1D _cOccupancyEmulvsLS_TPSubDet
Definition: TPTask.h:94
Container1D _cNumEtMsm_TPSubDet
Definition: TPTask.h:76
Container1D _cEtCorrRatio_TPSubDet
Definition: TPTask.h:72
Container2D _cSummaryvsLS_TPSubDet
Definition: TPTask.h:105
ContainerProf1D _cEtCorrRatiovsiphi_TPSubDetPM
Definition: TPTask.h:73
ContainerProf1D _cDigiSizeDatavsLS_TPSubDet
Definition: TPTask.h:100
ContainerProf1D _cDigiSizeEmulvsLS_TPSubDet
Definition: TPTask.h:101
Container1D _cOccupancyDatavsiphi_TPSubDetPM
Definition: TPTask.h:91
Container2D _cFGCorr_SubDet
Definition: TPTask.h:85
ContainerProf1D _cSumdEtvsLS_TPSubDet
Definition: TPTask.h:78
ContainerProf1D _cEtCorrRatiovsLS_TPSubDet
Definition: TPTask.h:71
Container1D _cEtData_SubDet_ieta
Definition: TPTask.h:82
Container2D _cEtCorr_TPSubDet
Definition: TPTask.h:70
ContainerSingle2D _cOccupancyData
Definition: TPTask.h:89
ContainerSingle2D _cSummary
Definition: TPTask.h:104
ContainerSingle2D _cMsEmul
Definition: TPTask.h:97
void TPTask::endLuminosityBlock ( edm::LuminosityBlock const &  l,
edm::EventSetup const &  es 
)
virtual

Reimplemented from hcaldqm::DQTask.

Definition at line 351 of file TPTask.cc.

References _cEtCorrRatiovsLS_TPSubDet, _cMsDatavsiphi_TPSubDetPM, _cNumEtMsmvsiphi_TPSubDetPM, _cNumEtMsmvsLS_TPSubDet, _cOccupancyDatavsiphi_TPSubDetPM, _cOccupancyEmulvsiphi_TPSubDetPM, _cOccupancyEmulvsLS_TPSubDet, _cSummary, _cSummaryvsLS_TPSubDet, hcaldqm::DQModule::_currentLS, hcaldqm::Container1D::at(), fCorrRatio, fLowOcp_Emul, fMsmEtNum, fMsmEtUniphi, fMsnUniphi_Data, fOccUniphi_Data, fOccUniphi_Emul, hcaldqm::Container1D::getBinContent(), MonitorElement::getBinContent(), hcaldqm::constants::GOOD, i, hcaldqm::constants::IPHI_NUM, j, hcaldqm::constants::LOW, bookConverter::max, min(), hcaldqm::constants::NOT_APPLICABLE, nTPFlag, hcaldqm::constants::PROBLEMATIC, hcaldqm::Container2D::setBinContent(), hcaldqm::ContainerSingle2D::setBinContent(), ntuplemaker::status, hcaldqm::constants::TPCHS_NUM, hcaldqm::constants::TPSUBDET_NUM, and hcaldqm::constants::VERY_LOW.

353 {
354  // statuses
356  for (unsigned int i=0; i<constants::TPSUBDET_NUM; i++)
357  for (int j=fOccUniphi_Data; j<nTPFlag; j++)
358  status[i][j] = constants::NOT_APPLICABLE;
359 
360  /*
361  * Do the checks here
362  * -> iphi Uniformity of the Data HF Occupancy
363  * -> iphi Uniformity of the Emul HF Occupancy
364  * -> Low Occupancy for HF Emulator (Data is ZSs)
365  * -> Correlation Ratio vs LS check
366  * -> Correlation Ratio Uniformity
367  * -> iphi Uniformity for the number of mismatches
368  * -> iphi Uniformity for Missing Data
369  * -> iphi Uniformity for Missing Emul
370  */
371 
372  // Low Occp for HF Emul
374  double numChs = meocpHF->getBinContent(_currentLS);
375  if (constants::TPCHS_NUM[1] - numChs>=4)
376  status[1][fLowOcp_Emul] = constants::VERY_LOW;
377  else if (constants::TPCHS_NUM[1] - numChs>=1)
378  status[1][fLowOcp_Emul] = constants::LOW;
379  else if (constants::TPCHS_NUM[1]-numChs<0)
380  status[1][fLowOcp_Emul] = constants::LOW;
381  else if (constants::TPCHS_NUM[1]==numChs)
382  status[1][fLowOcp_Emul] = constants::GOOD;
383 
384  // iphi Occupancy Uniformity for Data/Emul HF
385  bool nonUni_d = false;
386  bool nonUni_e = false;
387  bool nonUniMsm = false;
388  bool nonUniMsn = false;
389  for (int i=1; i<=69; i+=8)
390  {
391  int i1= i;
392  int i2 = (i+4)%IPHI_NUM;
393 
394  double occ1_m_d = _cOccupancyDatavsiphi_TPSubDetPM.getBinContent(2, i1);
395  double occ2_m_d = _cOccupancyDatavsiphi_TPSubDetPM.getBinContent(2, i2);
396  double ratio_m_d = std::min(occ1_m_d, occ2_m_d)/
397  std::max(occ1_m_d, occ2_m_d);
398  double occ1_p_d = _cOccupancyDatavsiphi_TPSubDetPM.getBinContent(3, i1);
399  double occ2_p_d = _cOccupancyDatavsiphi_TPSubDetPM.getBinContent(3, i2);
400  double ratio_p_d = std::min(occ1_p_d, occ2_p_d)/
401  std::max(occ1_p_d, occ2_p_d);
402 
403  double occ1_m_e = _cOccupancyEmulvsiphi_TPSubDetPM.getBinContent(2, i1);
404  double occ2_m_e = _cOccupancyEmulvsiphi_TPSubDetPM.getBinContent(2, i2);
405  double ratio_m_e = std::min(occ1_m_e, occ2_m_e)/
406  std::max(occ1_m_e, occ2_m_e);
407  double occ1_p_e = _cOccupancyEmulvsiphi_TPSubDetPM.getBinContent(3, i1);
408  double occ2_p_e = _cOccupancyEmulvsiphi_TPSubDetPM.getBinContent(3, i2);
409  double ratio_p_e = std::min(occ1_p_e, occ2_p_e)/
410  std::max(occ1_p_e, occ2_p_e);
411 
412  double msm1_m = _cNumEtMsmvsiphi_TPSubDetPM.getBinContent(2, i1);
413  double msm2_m = _cNumEtMsmvsiphi_TPSubDetPM.getBinContent(2, i2);
414  double msmratio_m = std::min(msm1_m, msm2_m)/
415  std::max(msm1_m, msm2_m);
416  double msm1_p = _cNumEtMsmvsiphi_TPSubDetPM.getBinContent(3, i1);
417  double msm2_p = _cNumEtMsmvsiphi_TPSubDetPM.getBinContent(3, i2);
418  double msmratio_p = std::min(msm1_p, msm2_p)/
419  std::max(msm1_p, msm2_p);
420 
421  double msn1_m = _cMsDatavsiphi_TPSubDetPM.getBinContent(2, i1);
422  double msn2_m = _cMsDatavsiphi_TPSubDetPM.getBinContent(2, i2);
423  double msnratio_m = std::min(msn1_m, msn2_m)/
424  std::max(msn1_m, msn2_m);
425  double msn1_p = _cMsDatavsiphi_TPSubDetPM.getBinContent(3, i1);
426  double msn2_p = _cMsDatavsiphi_TPSubDetPM.getBinContent(3, i2);
427  double msnratio_p = std::min(msn1_p, msn2_p)/
428  std::max(msn1_p, msn2_p);
429 
430  if (ratio_m_d<0.8 || ratio_p_d<0.8)
431  nonUni_d = true;
432  else
433  status[1][fOccUniphi_Data] = constants::GOOD;
434  if (ratio_m_e<0.8 || ratio_p_e<0.8)
435  nonUni_e = true;
436  else
437  status[1][fOccUniphi_Emul] = constants::GOOD;
438  if (msmratio_m<0.8 || msmratio_p<0.8)
439  nonUniMsm = true;
440  else
441  status[1][fMsmEtUniphi] = constants::GOOD;
442  if (msnratio_m<0.8 || msnratio_p<0.8)
443  nonUniMsn = true;
444  else
445  status[1][fMsnUniphi_Data] = constants::GOOD;
446  }
447 
448  // set status if any of the flags was set
449  if (nonUni_d)
451  if (nonUni_e)
453  if (nonUniMsm)
454  status[1][fMsmEtUniphi] = constants::LOW;
455  if (nonUniMsn)
456  status[1][fMsnUniphi_Data] = constants::LOW;
457 
458 
459  // Correlation Ratio
460  double ratio_HBHE = _cEtCorrRatiovsLS_TPSubDet.at(0)
462  double ratio_HF = _cEtCorrRatiovsLS_TPSubDet.at(1)
464  if (ratio_HBHE<0.7)
465  status[0][fCorrRatio] = constants::LOW;
466  else if (ratio_HBHE<0.8)
467  status[0][fCorrRatio] = constants::PROBLEMATIC;
468  else
469  status[0][fCorrRatio] = constants::GOOD;
470  if (ratio_HF<0.8)
471  status[1][fCorrRatio] = constants::LOW;
472  else if (ratio_HF<0.9)
473  status[1][fCorrRatio] = constants::PROBLEMATIC;
474  else
475  status[1][fCorrRatio] = constants::GOOD;
476 
477  // Number of Mismatches
478  double ratio_nmsm_HBHE = _cNumEtMsmvsLS_TPSubDet.at(0)
480  double ratio_nmsm_HF = _cNumEtMsmvsLS_TPSubDet.at(1)
482  if (ratio_nmsm_HBHE>=0.2)
483  status[0][fMsmEtNum] = constants::VERY_LOW;
484  else if (ratio_nmsm_HBHE>=0.1)
485  status[0][fMsmEtNum] = constants::LOW;
486  else if (ratio_nmsm_HBHE>=0.05)
487  status[0][fMsmEtNum] = constants::PROBLEMATIC;
488  else
489  status[0][fMsmEtNum] = constants::GOOD;
490  if (ratio_nmsm_HF>=0.1)
491  status[1][fMsmEtNum] = constants::LOW;
492  else if (ratio_nmsm_HF>=0.05)
493  status[1][fMsmEtNum] = constants::PROBLEMATIC;
494  else
495  status[1][fMsmEtNum] = constants::GOOD;
496 
497  // finally set all the statuses
498  for (unsigned int i=0; i<constants::TPSUBDET_NUM; i++)
499  for (int j=fOccUniphi_Data; j<nTPFlag; j++)
500  {
501  _cSummary.setBinContent(i, j, status[i][j]);
503  status[i][j]);
504  }
505 
506  DQTask::endLuminosityBlock(l, es);
507 }
double const LOW
Definition: Constants.h:17
Container1D _cNumEtMsmvsiphi_TPSubDetPM
Definition: TPTask.h:77
int i
Definition: DBlmapReader.cc:9
int const IPHI_NUM
Definition: Constants.h:100
double const VERY_LOW
Definition: Constants.h:18
int const TPCHS_NUM[TPSUBDET_NUM]
Definition: Constants.h:137
Container1D _cOccupancyEmulvsiphi_TPSubDetPM
Definition: TPTask.h:92
ContainerProf1D _cNumEtMsmvsLS_TPSubDet
Definition: TPTask.h:75
virtual void setBinContent(int, int, double)
Container1D _cMsDatavsiphi_TPSubDetPM
Definition: TPTask.h:96
ContainerProf1D _cOccupancyEmulvsLS_TPSubDet
Definition: TPTask.h:94
int j
Definition: DBlmapReader.cc:9
Container2D _cSummaryvsLS_TPSubDet
Definition: TPTask.h:105
double const GOOD
Definition: Constants.h:15
T min(T a, T b)
Definition: MathUtil.h:58
virtual MonitorElement * at(unsigned int i)
Definition: Container1D.cc:236
Container1D _cOccupancyDatavsiphi_TPSubDetPM
Definition: TPTask.h:91
virtual void setBinContent(int, int, int, double)
Definition: Container2D.cc:263
double const NOT_APPLICABLE
Definition: Constants.h:19
double getBinContent(int binx) const
get content of bin (1-D)
ContainerProf1D _cEtCorrRatiovsLS_TPSubDet
Definition: TPTask.h:71
int const TPSUBDET_NUM
Definition: Constants.h:88
tuple status
Definition: ntuplemaker.py:245
virtual double getBinContent(unsigned int, int)
Definition: Container1D.cc:225
double const PROBLEMATIC
Definition: Constants.h:16
ContainerSingle2D _cSummary
Definition: TPTask.h:104

Member Data Documentation

ContainerProf1D TPTask::_cDigiSizeDatavsLS_TPSubDet
protected

Definition at line 100 of file TPTask.h.

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

ContainerProf1D TPTask::_cDigiSizeEmulvsLS_TPSubDet
protected

Definition at line 101 of file TPTask.h.

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

Container2D TPTask::_cEtCorr_TPSubDet
protected

Definition at line 70 of file TPTask.h.

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

Container1D TPTask::_cEtCorrRatio_TPSubDet
protected

Definition at line 72 of file TPTask.h.

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

ContainerProf1D TPTask::_cEtCorrRatiovsiphi_TPSubDetPM
protected

Definition at line 73 of file TPTask.h.

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

ContainerProf1D TPTask::_cEtCorrRatiovsLS_TPSubDet
protected

Definition at line 71 of file TPTask.h.

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

Container1D TPTask::_cEtData_SubDet
protected

Definition at line 68 of file TPTask.h.

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

Container1D TPTask::_cEtData_SubDet_ieta
protected

Definition at line 82 of file TPTask.h.

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

Container1D TPTask::_cEtData_SubDetPM_iphi
protected

Definition at line 81 of file TPTask.h.

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

Container1D TPTask::_cEtEmul_SubDet
protected

Definition at line 69 of file TPTask.h.

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

ContainerSingle2D TPTask::_cEtMsm
protected

Definition at line 74 of file TPTask.h.

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

Container2D TPTask::_cFGCorr_SubDet
protected

Definition at line 85 of file TPTask.h.

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

ContainerSingle2D TPTask::_cFGMsm
protected

Definition at line 86 of file TPTask.h.

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

ContainerSingle2D TPTask::_cMsData
protected

Definition at line 95 of file TPTask.h.

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

Container1D TPTask::_cMsDatavsiphi_TPSubDetPM
protected

Definition at line 96 of file TPTask.h.

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

ContainerSingle2D TPTask::_cMsEmul
protected

Definition at line 97 of file TPTask.h.

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

Container1D TPTask::_cNumEtMsm_TPSubDet
protected

Definition at line 76 of file TPTask.h.

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

Container1D TPTask::_cNumEtMsmvsiphi_TPSubDetPM
protected

Definition at line 77 of file TPTask.h.

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

ContainerProf1D TPTask::_cNumEtMsmvsLS_TPSubDet
protected

Definition at line 75 of file TPTask.h.

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

ContainerSingle2D TPTask::_cOccupancyData
protected

Definition at line 89 of file TPTask.h.

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

Container1D TPTask::_cOccupancyDatavsiphi_TPSubDetPM
protected

Definition at line 91 of file TPTask.h.

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

ContainerProf1D TPTask::_cOccupancyDatavsLS_TPSubDet
protected

Definition at line 93 of file TPTask.h.

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

ContainerSingle2D TPTask::_cOccupancyEmul
protected

Definition at line 90 of file TPTask.h.

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

Container1D TPTask::_cOccupancyEmulvsiphi_TPSubDetPM
protected

Definition at line 92 of file TPTask.h.

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

ContainerProf1D TPTask::_cOccupancyEmulvsLS_TPSubDet
protected

Definition at line 94 of file TPTask.h.

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

Container1D TPTask::_cSumdEt_TPSubDet
protected

Definition at line 79 of file TPTask.h.

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

ContainerProf1D TPTask::_cSumdEtvsLS_TPSubDet
protected

Definition at line 78 of file TPTask.h.

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

ContainerSingle2D TPTask::_cSummary
protected

Definition at line 104 of file TPTask.h.

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

Container2D TPTask::_cSummaryvsLS_TPSubDet
protected

Definition at line 105 of file TPTask.h.

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

std::vector<std::string> TPTask::_fNames
protected

Definition at line 65 of file TPTask.h.

Referenced by TPTask().

int TPTask::_nMsmEt[constants::TPSUBDET_NUM]
protected

Definition at line 56 of file TPTask.h.

Referenced by _process(), and _resetMonitors().

int TPTask::_nMsmFG[constants::TPSUBDET_NUM]
protected

Definition at line 57 of file TPTask.h.

Referenced by _process(), and _resetMonitors().

int TPTask::_nTPs_Data[constants::TPSUBDET_NUM]
protected

Definition at line 58 of file TPTask.h.

Referenced by _process(), and _resetMonitors().

int TPTask::_nTPs_Emul[constants::TPSUBDET_NUM]
protected

Definition at line 59 of file TPTask.h.

Referenced by _process(), and _resetMonitors().

bool TPTask::_skip1x1
protected

Definition at line 62 of file TPTask.h.

Referenced by _process(), and TPTask().

edm::InputTag TPTask::_tagData
protected

Definition at line 50 of file TPTask.h.

Referenced by _process(), and TPTask().

edm::InputTag TPTask::_tagEmul
protected

Definition at line 51 of file TPTask.h.

Referenced by _process(), and TPTask().

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

Definition at line 52 of file TPTask.h.

Referenced by _process(), and TPTask().

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

Definition at line 53 of file TPTask.h.

Referenced by _process(), and TPTask().

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("HcalCalib"),
12 
13  # tags
14  tagData = cms.untracked.InputTag("hcalDigis"),
15  tagEmul = cms.untracked.InputTag("emulTPDigis"),
16 
17  # some speacial features
18  skip1x1 = cms.untracked.bool(True)
19 )

Definition at line 3 of file TPTask.py.