Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HCALDQM: Monitor bad capid rotation, uHTR/L1T mismatches (10_1_X) #23141

Merged
merged 62 commits into from Jun 7, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
43ea5ea
Bug fix
DryRun Mar 21, 2018
f1aa833
Rebase from DryRun:CMSSW_10_1_0_pre2_digitaskqie11
DryRun Mar 30, 2018
f8265bd
Rename QIE11/HE stuff to HE
DryRun Mar 30, 2018
ad1f9f8
Change emap look to use HcalDetId, rather than HcalGenericDetId
DryRun Mar 30, 2018
c434f54
Add uMNio tag to LEDTask
DryRun Apr 3, 2018
4fab0dc
Fix qie11 size() --> samples()
DryRun Apr 3, 2018
d03e8d3
Add LED misfire monitoring
DryRun Apr 3, 2018
64a5a3c
Add LED diode monitoring and TDC depth plots
DryRun Apr 4, 2018
3aeac23
depth==10 for LED diode
DryRun Apr 4, 2018
f67cdc4
Fix TDCTime axis
DryRun Apr 9, 2018
48b5fc6
Add LaserMon monitoring
DryRun Apr 12, 2018
c0c2691
Fix <+ to <= mistake
DryRun Apr 12, 2018
2cf2942
Add fC 1e6 axis
DryRun Apr 12, 2018
3a97805
Add configurable laserMon threshold, and fC 1e6 axis
DryRun Apr 12, 2018
32cd1c6
Fix filling fC in ADC plots
DryRun Apr 12, 2018
48172cf
Add overflow folding functionality
DryRun Apr 16, 2018
312cf16
Fine and coarse time(250ns) axis
DryRun Apr 16, 2018
43c0aed
Change arrays to maps, and add RBX hash
DryRun Apr 17, 2018
5e2b1cc
Fix fTime_ns_250_coarse missing in max map
DryRun Apr 17, 2018
dcdd749
Add LED misfire monitoring and flag in summary
DryRun Apr 17, 2018
ed6d341
Add LaserTask summary plot and flags
DryRun Apr 17, 2018
d8f4105
Hash arrays to map
DryRun Apr 17, 2018
0087f4b
Use HcalDetId old form at lookup time, cannot make everything an Hcal…
DryRun Apr 18, 2018
29f00cf
Add TDCTime vs iphi vs ieta plot to DigiTask
DryRun Apr 18, 2018
8036f74
Use HcalDetId old form at lookup time, cannot make everything an Hcal…
DryRun Apr 18, 2018
88b3829
Revert hash function and names maps back to arrays, strange map::at e…
DryRun Apr 18, 2018
cd35c20
Change laser timing flag to range for each subdet
DryRun Apr 18, 2018
0a830b0
Fix bad did/eid bug... accessing function pointer past array bound
DryRun Apr 19, 2018
4906916
Add LED misfire flag to DigiTask (DigiRunSummary is offline only)
DryRun Apr 20, 2018
7e4664c
Remove FED plots from online DQM, local only
DryRun Apr 20, 2018
29fbb86
Timing vs RBX vs LS should be SubdetPM, not Subdet
DryRun Apr 20, 2018
35264ef
Adjust timing thresholds, fix did eid mistake
DryRun Apr 20, 2018
f82b1a8
Apply code check patch
DryRun Apr 20, 2018
7970217
Axis and threshold adjustments
DryRun Apr 22, 2018
b8d66e6
Fix harvesting LED histogram lookup
DryRun Apr 23, 2018
2c3a575
Add (capid - bx) mod 4 plots
DryRun Apr 25, 2018
dde043e
Add flag for bad capid
DryRun Apr 25, 2018
d9a917f
Monitor LED pin diodes in local runs
DryRun Apr 25, 2018
e214665
Handle eventtype better for new LED in abort gap
DryRun May 3, 2018
cb320c2
Handle eventtype better for new LED in abort gap
DryRun May 3, 2018
1acd000
Handle eventtype better for new LED in abort gap
DryRun May 3, 2018
e7decc2
Replicate L1T sent received mismatch plots
DryRun May 3, 2018
c09e5a8
Add red flag for sent-receivedL1 mismatches
DryRun May 3, 2018
59d3509
Bad capid plot in offline too
DryRun May 3, 2018
74a2915
Bad capid for online only (note: this was another bad function pointe…
DryRun May 4, 2018
c54655f
Code rules: no using namespace in header files
DryRun May 4, 2018
6bc23ef
Fix naming and summary flags
DryRun May 4, 2018
58d685e
Code checks
DryRun May 4, 2018
5001139
Fix megative modulus bug
DryRun May 4, 2018
f84184a
Fix bug in HF capid-bx mod 4
DryRun May 7, 2018
6f7662d
L1T-uHTR mismatch only for online DQM
DryRun May 9, 2018
5194674
Add bad capid crate-slot plot, and fix crate axis
DryRun May 9, 2018
328d391
Split crate-slot plots by uTCA and VME
DryRun May 9, 2018
3a374b4
Add low signal crate-slot plot for HE
DryRun May 9, 2018
ff8a9e7
Adjust timing flags for laser: disable for nonapplicable subdets
DryRun May 10, 2018
5ef0e42
Actually fix relvals error: don't load L1T TPs for offline DQM
DryRun May 10, 2018
0633123
Comment out unused badRMS variable
DryRun May 10, 2018
463b8d4
Put whole L1T comparison block for online only
DryRun May 10, 2018
7b29ac2
Remove errant commas from hcalcalib config
DryRun May 14, 2018
e37154e
Use (capid-BX) mod 4 = 1 instead of dynamically setting
DryRun May 14, 2018
b9bab82
Fix flag rows for PedestalTask
DryRun May 15, 2018
dcae4b6
Fix 2018 relvals crash
DryRun May 16, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
34 changes: 18 additions & 16 deletions DQM/HcalCommon/interface/Constants.h
Expand Up @@ -321,26 +321,28 @@ namespace hcaldqm
* Orbit Gap Operations enum
*/
uint8_t const EVENTTYPE_PEDESTAL = 1;
uint8_t const EVENTTYPE_LASER = 14;
uint8_t const EVENTTYPE_LASER = 14;
uint8_t const EVENTTYPE_LED = 15;
enum OrbitGapType
{
tUnkown = -1,
tNull = 0,
tPedestal = 1,
tHFRaddam = 2,
tHBHEHPD = 3,
tHO = 4,
tHF = 5,
tZDC = 6,
tHEPMega = 7,
tHEMMega = 8,
tHBPMega = 9,
tHBMMega = 10,
tSomething = 11,
tCRF = 12,
tCalib = 13,
tSafe = 14,
nOrbitGapType = 15
tLED = 2,
tHFRaddam = 3,
tHBHEHPD = 4,
tHO = 5,
tHF = 6,
tZDC = 7,
tHEPMega = 8,
tHEMMega = 9,
tHBPMega = 10,
tHBMMega = 11,
tSomething = 12,
tCRF = 13,
tCalib = 14,
tSafe = 15,
tUnknown = 16,
nOrbitGapType = 17
};
}
}
Expand Down
22 changes: 11 additions & 11 deletions DQM/HcalCommon/interface/Container1D.h
Expand Up @@ -26,9 +26,6 @@

namespace hcaldqm
{

using namespace quantity;
using namespace mapper;
class Container1D : public Container
{
public:
Expand All @@ -39,8 +36,8 @@ namespace hcaldqm
//
Container1D(std::string const& folder,
hashfunctions::HashType,
Quantity*,
Quantity *qy = new ValueQuantity(quantity::fN));
quantity::Quantity*,
quantity::Quantity *qy = new quantity::ValueQuantity(quantity::fN));
~Container1D() override;

// Initialize Container
Expand All @@ -49,15 +46,15 @@ namespace hcaldqm
// @nametitle - namebase of the name and of the title
//
virtual void initialize(std::string const& folder,
hashfunctions::HashType, Quantity*,
Quantity *qy = new ValueQuantity(quantity::fN),
hashfunctions::HashType, quantity::Quantity*,
quantity::Quantity *qy = new quantity::ValueQuantity(quantity::fN),
int debug=0);

// @qname - to replace the QyvsQx naming
virtual void initialize(std::string const& folder,
std::string const &qname,
hashfunctions::HashType, Quantity*,
Quantity *qy = new ValueQuantity(quantity::fN),
hashfunctions::HashType, quantity::Quantity*,
quantity::Quantity *qy = new quantity::ValueQuantity(quantity::fN),
int debug=0);
using Container::initialize;

Expand Down Expand Up @@ -323,14 +320,17 @@ namespace hcaldqm
// set lumi flags for all mes
virtual void setLumiFlag();

virtual void showOverflowX(bool showOverflow);
virtual void showOverflowY(bool showOverflow);

protected:
virtual void customize(MonitorElement*);

typedef boost::unordered_map<uint32_t, MonitorElement*> MEMap;
MEMap _mes;
mapper::HashMapper _hashmap;
Quantity *_qx;
Quantity *_qy;
quantity::Quantity *_qx;
quantity::Quantity *_qy;
};
}

Expand Down
16 changes: 9 additions & 7 deletions DQM/HcalCommon/interface/Container2D.h
Expand Up @@ -22,23 +22,23 @@ namespace hcaldqm
public:
Container2D();
Container2D(std::string const& folder,
hashfunctions::HashType, Quantity*, Quantity*,
Quantity *qz = new ValueQuantity(quantity::fN));
hashfunctions::HashType, quantity::Quantity*, quantity::Quantity*,
quantity::Quantity *qz = new quantity::ValueQuantity(quantity::fN));
~Container2D() override;

// Initialize Container
// @folder
// @nametitle,
virtual void initialize(std::string const& folder,
hashfunctions::HashType, Quantity*, Quantity*,
Quantity *qz = new ValueQuantity(quantity::fN),
hashfunctions::HashType, quantity::Quantity*, quantity::Quantity*,
quantity::Quantity *qz = new quantity::ValueQuantity(quantity::fN),
int debug=0);

// @qname - quantity name replacer
virtual void initialize(std::string const& folder,
std::string const& qname,
hashfunctions::HashType, Quantity*, Quantity*,
Quantity *qz = new ValueQuantity(quantity::fN),
hashfunctions::HashType, quantity::Quantity*, quantity::Quantity*,
quantity::Quantity *qz = new quantity::ValueQuantity(quantity::fN),
int debug=0);
using Container::initialize;
using Container1D::initialize;
Expand Down Expand Up @@ -173,8 +173,10 @@ namespace hcaldqm
HcalElectronicsMap const*, filter::HashFilter const&,
std::string subsystem="Hcal", std::string aux="") override;

void showOverflowZ(bool showOverflow);

protected:
Quantity *_qz;
quantity::Quantity *_qz;

void customize(MonitorElement*) override;
};
Expand Down
1 change: 0 additions & 1 deletion DQM/HcalCommon/interface/ContainerD.h
Expand Up @@ -5,7 +5,6 @@

namespace hcaldqm
{
using namespace constants;
class ContainerD : public Container
{
public:
Expand Down
1 change: 0 additions & 1 deletion DQM/HcalCommon/interface/ContainerI.h
Expand Up @@ -5,7 +5,6 @@

namespace hcaldqm
{
using namespace constants;
class ContainerI : public Container
{
public:
Expand Down
8 changes: 3 additions & 5 deletions DQM/HcalCommon/interface/ContainerProf1D.h
Expand Up @@ -18,26 +18,24 @@

namespace hcaldqm
{
using namespace quantity;
using namespace mapper;
class ContainerProf1D : public Container1D
{
public:
ContainerProf1D();
ContainerProf1D(std::string const& folder,
hashfunctions::HashType,
Quantity *, Quantity*);
quantity::Quantity *, quantity::Quantity*);
~ContainerProf1D() override {}

void initialize(std::string const& folder,
hashfunctions::HashType,
Quantity*, Quantity*,
quantity::Quantity*, quantity::Quantity*,
int debug=0) override;

void initialize(std::string const& folder,
std::string const& qname,
hashfunctions::HashType,
Quantity*, Quantity*,
quantity::Quantity*, quantity::Quantity*,
int debug=0) override;

// booking
Expand Down
38 changes: 31 additions & 7 deletions DQM/HcalCommon/interface/ContainerProf2D.h
Expand Up @@ -17,28 +17,27 @@

namespace hcaldqm
{
using namespace quantity;
class ContainerProf2D : public Container2D
{
public:
ContainerProf2D();
ContainerProf2D(std::string const& folder,
hashfunctions::HashType,
Quantity*, Quantity*,
Quantity* qz = new ValueQuantity(quantity::fEnergy));
quantity::Quantity*, quantity::Quantity*,
quantity::Quantity* qz = new quantity::ValueQuantity(quantity::fEnergy));
~ContainerProf2D() override {}

void initialize(std::string const& folder,
hashfunctions::HashType,
Quantity*, Quantity*,
Quantity *qz = new ValueQuantity(quantity::fEnergy),
quantity::Quantity*, quantity::Quantity*,
quantity::Quantity *qz = new quantity::ValueQuantity(quantity::fEnergy),
int debug=0) override;

void initialize(std::string const& folder,
std::string const& qname,
hashfunctions::HashType,
Quantity*, Quantity*,
Quantity *qz = new ValueQuantity(quantity::fEnergy),
quantity::Quantity*, quantity::Quantity*,
quantity::Quantity *qz = new quantity::ValueQuantity(quantity::fEnergy),
int debug=0) override;

void book(DQMStore::IBooker&,
Expand All @@ -54,6 +53,31 @@ namespace hcaldqm
HcalElectronicsMap const*, filter::HashFilter const&,
std::string subsystem="Hcal", std::string aux="") override;

void fill(HcalDetId const&) override ;
void fill(HcalDetId const&, int) override;
void fill(HcalDetId const&, double) override;
void fill(HcalDetId const&, int, double) override;
void fill(HcalDetId const&, int, int) override;
void fill(HcalDetId const&, double, double) override;

void fill(HcalElectronicsId const&) override;
void fill(HcalElectronicsId const&, int) override;
void fill(HcalElectronicsId const&, double) override;
void fill(HcalElectronicsId const&, int, double) override;
void fill(HcalElectronicsId const&, int, int) override;
void fill(HcalElectronicsId const&, double, double) override;

void fill(HcalTrigTowerDetId const&) override;
void fill(HcalTrigTowerDetId const&, int) override;
void fill(HcalTrigTowerDetId const&, double) override;
void fill(HcalTrigTowerDetId const&, int, int) override;
void fill(HcalTrigTowerDetId const&, int, double) override;
void fill(HcalTrigTowerDetId const&, double, double) override;

void fill(HcalDetId const&, double, double, double);
void fill(HcalElectronicsId const&, double, double, double);
void fill(HcalTrigTowerDetId const&, double, double, double);

protected:
};
}
Expand Down
1 change: 0 additions & 1 deletion DQM/HcalCommon/interface/ContainerS.h
Expand Up @@ -6,7 +6,6 @@

namespace hcaldqm
{
using namespace constants;
class ContainerS : public Container
{
public:
Expand Down
24 changes: 13 additions & 11 deletions DQM/HcalCommon/interface/ContainerSingle1D.h
Expand Up @@ -16,30 +16,29 @@

namespace hcaldqm
{
using namespace quantity;
class ContainerSingle1D : public Container
{
public:
ContainerSingle1D();
ContainerSingle1D(std::string const& folder,
Quantity*,
Quantity *qy = new ValueQuantity(quantity::fN));
quantity::Quantity*,
quantity::Quantity *qy = new quantity::ValueQuantity(quantity::fN));
ContainerSingle1D(std::string const& folder,
std::string const&,
Quantity*,
Quantity *qy = new ValueQuantity(quantity::fN));
quantity::Quantity*,
quantity::Quantity *qy = new quantity::ValueQuantity(quantity::fN));
ContainerSingle1D(ContainerSingle1D const&);
~ContainerSingle1D() override;

virtual void initialize(std::string const& folder,
Quantity*,
Quantity *qy = new ValueQuantity(quantity::fN),
quantity::Quantity*,
quantity::Quantity *qy = new quantity::ValueQuantity(quantity::fN),
int debug=0);

virtual void initialize(std::string const& folder,
std::string const&,
Quantity*,
Quantity *qy = new ValueQuantity(quantity::fN),
quantity::Quantity*,
quantity::Quantity *qy = new quantity::ValueQuantity(quantity::fN),
int debug=0);
using Container::initialize;
// booking
Expand Down Expand Up @@ -101,10 +100,13 @@ namespace hcaldqm

virtual void extendAxisRange(int);

virtual void showOverflowX(bool showOverflow);
virtual void showOverflowY(bool showOverflow);

protected:
MonitorElement *_me;
Quantity *_qx;
Quantity *_qy;
quantity::Quantity *_qx;
quantity::Quantity *_qy;

virtual void customize();
};
Expand Down
25 changes: 13 additions & 12 deletions DQM/HcalCommon/interface/ContainerSingle2D.h
Expand Up @@ -17,31 +17,30 @@

namespace hcaldqm
{
using namespace quantity;
class ContainerSingle2D : public Container
{
public:
ContainerSingle2D();
ContainerSingle2D(std::string const& folder,
Quantity*, Quantity*,
Quantity *qz = new ValueQuantity(quantity::fN));
quantity::Quantity*, quantity::Quantity*,
quantity::Quantity *qz = new quantity::ValueQuantity(quantity::fN));
ContainerSingle2D(std::string const& folder,
std::string const&,
Quantity*, Quantity*,
Quantity *qz = new ValueQuantity(quantity::fN),
quantity::Quantity*, quantity::Quantity*,
quantity::Quantity *qz = new quantity::ValueQuantity(quantity::fN),
int debug=0);
ContainerSingle2D(ContainerSingle2D const&);
~ContainerSingle2D() override;

virtual void initialize(std::string const& folder,
Quantity*, Quantity*,
Quantity *qz = new ValueQuantity(quantity::fN),
quantity::Quantity*, quantity::Quantity*,
quantity::Quantity *qz = new quantity::ValueQuantity(quantity::fN),
int debug=0);

virtual void initialize(std::string const& folder,
std::string const&,
Quantity*, Quantity*,
Quantity *qz = new ValueQuantity(quantity::fN),
quantity::Quantity*, quantity::Quantity*,
quantity::Quantity *qz = new quantity::ValueQuantity(quantity::fN),
int debug=0);
using Container::initialize;
// booking
Expand Down Expand Up @@ -154,11 +153,13 @@ namespace hcaldqm

virtual void extendAxisRange(int);

void showOverflowZ(bool showOverflow);

protected:
MonitorElement *_me;
Quantity *_qx;
Quantity *_qy;
Quantity *_qz;
quantity::Quantity *_qx;
quantity::Quantity *_qy;
quantity::Quantity *_qz;

virtual void customize();
};
Expand Down