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_2_X) #23140

Merged
merged 61 commits into from May 16, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
756d23c
Bug fix
DryRun Mar 21, 2018
898e6f6
Rebase from DryRun:CMSSW_10_1_0_pre2_digitaskqie11
DryRun Mar 30, 2018
67ced54
Rename QIE11/HE stuff to HE
DryRun Mar 30, 2018
bc4261a
Change emap look to use HcalDetId, rather than HcalGenericDetId
DryRun Mar 30, 2018
47a67c1
Add uMNio tag to LEDTask
DryRun Apr 3, 2018
4aa7a14
Fix qie11 size() --> samples()
DryRun Apr 3, 2018
bbba288
Add LED misfire monitoring
DryRun Apr 3, 2018
4b0abfc
Add LED diode monitoring and TDC depth plots
DryRun Apr 4, 2018
ee314c4
depth==10 for LED diode
DryRun Apr 4, 2018
8bd9687
Fix TDCTime axis
DryRun Apr 9, 2018
eeca95c
Add LaserMon monitoring
DryRun Apr 12, 2018
3c8a890
Fix <+ to <= mistake
DryRun Apr 12, 2018
c427d1d
Add fC 1e6 axis
DryRun Apr 12, 2018
c8cd334
Add configurable laserMon threshold, and fC 1e6 axis
DryRun Apr 12, 2018
e4f9c49
Fix filling fC in ADC plots
DryRun Apr 12, 2018
2d57e6e
Add overflow folding functionality
DryRun Apr 16, 2018
c155167
Fine and coarse time(250ns) axis
DryRun Apr 16, 2018
bc8389f
Change arrays to maps, and add RBX hash
DryRun Apr 17, 2018
52c15b7
Fix fTime_ns_250_coarse missing in max map
DryRun Apr 17, 2018
972aee9
Add LED misfire monitoring and flag in summary
DryRun Apr 17, 2018
55920fc
Add LaserTask summary plot and flags
DryRun Apr 17, 2018
47cfe6c
Hash arrays to map
DryRun Apr 17, 2018
46aaf50
Use HcalDetId old form at lookup time, cannot make everything an Hcal…
DryRun Apr 18, 2018
18bd0e6
Add TDCTime vs iphi vs ieta plot to DigiTask
DryRun Apr 18, 2018
43297ce
Use HcalDetId old form at lookup time, cannot make everything an Hcal…
DryRun Apr 18, 2018
aaed7da
Revert hash function and names maps back to arrays, strange map::at e…
DryRun Apr 18, 2018
ae9a525
Change laser timing flag to range for each subdet
DryRun Apr 18, 2018
088abac
Fix bad did/eid bug... accessing function pointer past array bound
DryRun Apr 19, 2018
2b1786d
Add LED misfire flag to DigiTask (DigiRunSummary is offline only)
DryRun Apr 20, 2018
c3226d3
Remove FED plots from online DQM, local only
DryRun Apr 20, 2018
f828ba1
Timing vs RBX vs LS should be SubdetPM, not Subdet
DryRun Apr 20, 2018
7693135
Adjust timing thresholds, fix did eid mistake
DryRun Apr 20, 2018
bcf99f6
Apply code check patch
DryRun Apr 20, 2018
29dac10
Axis and threshold adjustments
DryRun Apr 22, 2018
8c52060
Adjust thresholds for bad timing flags
DryRun Apr 20, 2018
e971266
Fix harvesting LED histogram lookup
DryRun Apr 23, 2018
4565cfc
Add (capid - bx) mod 4 plots
DryRun Apr 25, 2018
6788004
Add flag for bad capid
DryRun Apr 25, 2018
4ae1786
Monitor LED pin diodes in local runs
DryRun Apr 25, 2018
3f90c20
Handle eventtype better for new LED in abort gap
DryRun May 3, 2018
fc11338
Handle eventtype better for new LED in abort gap
DryRun May 3, 2018
493a3ee
Handle eventtype better for new LED in abort gap
DryRun May 3, 2018
3e74e1a
Replicate L1T sent received mismatch plots
DryRun May 3, 2018
4c30fa2
Add red flag for sent-receivedL1 mismatches
DryRun May 3, 2018
810fefc
Bad capid plot in offline too
DryRun May 3, 2018
11247b8
Bad capid for online only (note: this was another bad function pointe…
DryRun May 4, 2018
5b3ca52
Code rules: no using namespace in header files
DryRun May 4, 2018
99802d0
Fix naming and summary flags
DryRun May 4, 2018
2c902bf
Code checks
DryRun May 4, 2018
6a1cc1f
Fix megative modulus bug
DryRun May 4, 2018
03d4f0d
Fix bug in HF capid-bx mod 4
DryRun May 7, 2018
dd087d9
L1T-uHTR mismatch only for online DQM
DryRun May 9, 2018
3cbc74c
Add bad capid crate-slot plot, and fix crate axis
DryRun May 9, 2018
c9bc559
Split crate-slot plots by uTCA and VME
DryRun May 9, 2018
8185851
Add low signal crate-slot plot for HE
DryRun May 9, 2018
b1c8960
Adjust timing flags for laser: disable for nonapplicable subdets
DryRun May 10, 2018
5db6861
Actually fix relvals error: don't load L1T TPs for offline DQM
DryRun May 10, 2018
e876699
Comment out unused badRMS variable
DryRun May 10, 2018
929973e
Put whole L1T comparison block for online only
DryRun May 10, 2018
a16054b
Remove errant commas from hcalcalib config
DryRun May 14, 2018
1d1bc22
Use (capid-BX) mod 4 = 1 instead of dynamically setting
DryRun May 14, 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