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

Backport #18353 to 90X, plus update TP nsamples and adc2fC #18509

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
02d8d1f
Use presamples and sample variables correctly for HF TP.
matz-e Apr 3, 2017
8783cd3
Correct TP emulation parameters
christopheralanwest Apr 22, 2017
19b48ef
Changes for plan-1
DryRun Feb 27, 2017
b4727b8
Changes for plan-1, move arrays to maps
DryRun Feb 27, 2017
b1e9982
HFDigiCollection --> QIE10DigiCollection for upgrade
DryRun Feb 27, 2017
247cfe5
HFDigiCollection --> QIE10DigiCollection for upgrade
DryRun Feb 28, 2017
0042fd1
ADC to 256 for QIE10/11
DryRun Feb 28, 2017
64ad690
FIBER_uTCA_MIN1=0, not 1
DryRun Feb 28, 2017
2f99e21
Update crate-FED mappings, laser moved from 36 to 38
DryRun Feb 28, 2017
775618d
Add some brackets
DryRun Feb 28, 2017
37a5656
Force to use offline GT 90X_dataRun2_HLT_v1
DryRun Feb 28, 2017
70287fb
fixing proper initialization for qie11 and peroper config for hcal2
Mar 1, 2017
4d73e9e
fixing fed_sqm_.... client
Mar 1, 2017
6ab26b8
making select the default GT
Mar 1, 2017
0714f0c
upon request from hcal operations
Mar 7, 2017
1e6d6e2
Add QIE11 digis to DigiTask for some plots
DryRun Mar 9, 2017
918f34d
Add QIE11 digis to DigiTask for some plots
DryRun Mar 9, 2017
6ced658
Only attempt to fill e-channel plots for channels in the emap
DryRun Mar 9, 2017
21fb465
Remove QIE10Task and ZDCTask
DryRun Mar 9, 2017
6527715
Fix crash due to HcalChannelQuality mismatch. Changing GeometryIdeal …
DryRun Mar 9, 2017
d812e3e
Add QIE10 TDC plot to DigiTask
DryRun Mar 9, 2017
4d6c77a
Merge hidefed2crate with other hcaldqm commits
DryRun Apr 4, 2017
00e9203
Fix hidefed2crate condition to not fOffline
DryRun Apr 5, 2017
29f1421
Fix incorrect method for QIE10/11 digi size
DryRun Apr 5, 2017
244e96e
Change HF nsample to 3 for 2017
DryRun Apr 5, 2017
34d34c6
Fix wrong nbins for fDigiSize
DryRun Apr 5, 2017
c57a316
Digi samples bugfix
DryRun Apr 6, 2017
e0a2d29
Restore HCAL DQM to offline workflows
DryRun Apr 6, 2017
17e9a39
Missed a few containers for hidefed2crate
DryRun Apr 7, 2017
7d9bd8e
Missed a few containers for hidefed2crate
DryRun Apr 7, 2017
93a9a11
Add digi TimingCutvsLS_Subdet
DryRun Apr 10, 2017
31f8189
Add digi TimingCutvsLS_Subdet
DryRun Apr 10, 2017
61a6ec6
Add digi and rechit TimingCutvsLS_SubdetPM
DryRun Apr 10, 2017
b5b9f32
Working summary with crate instead of FED
DryRun Apr 12, 2017
c477213
Add CrateQuantity, change crate hashing to actually use crate for VME
DryRun Apr 13, 2017
e345176
Finish moving FED to crate, polish up summary maps
DryRun Apr 13, 2017
4973bb1
Remove some debug couts
DryRun Apr 13, 2017
0a88a1e
Remove stray debug printing
DryRun Apr 20, 2017
1f14baf
Fix QIE10Task crash
DryRun Apr 25, 2017
025cfa2
Add HEP17 to local run tasks
DryRun Apr 25, 2017
653ef11
Move emap and conditions interface to base class
DryRun Apr 26, 2017
435a801
adc2fC utilities using DB instead of tables
DryRun Apr 26, 2017
79b9e7c
Implement adc2fC from DB in LEDTask
DryRun Apr 26, 2017
bdd8e9c
Merged correct_hcal_presamples_90X from repository christopheralanwest
DryRun Apr 27, 2017
4ce3c3f
Merged refs/pull/18170/head from repository cms-sw
DryRun Apr 27, 2017
3bee106
Updating uMNIO fed2crate, 1132 to 1134
DryRun Apr 27, 2017
36bf555
Adjust fC axis for QIE10/11 mixed with QIE8
DryRun Apr 27, 2017
aaef571
Try log axis for mixed fC
DryRun Apr 27, 2017
008f3a0
QIE8/10,11 separation
DryRun Apr 27, 2017
0c6631d
Fix segfault
DryRun Apr 27, 2017
0a28692
Fix segfault
DryRun Apr 27, 2017
19acb80
Fix inverted filter
DryRun Apr 27, 2017
f0406b2
Increase SumQ depth z-axis range
DryRun Apr 27, 2017
a35464a
Finish migration to adc2fC from DB
DryRun Apr 28, 2017
2ba20d1
Add TDCTime vs ADC, plus corresponding axis type
DryRun Apr 29, 2017
441615e
Protect against HEP17 collapsed rechit not in emap
DryRun Apr 29, 2017
83289e3
Change QIE10 fC scale to 400,000 and reduce nbins
DryRun May 5, 2017
9e0ff36
Add HF dual anode asymmetry plots
DryRun May 5, 2017
f804f81
Remove incorrectly implemented asymmetry RMS plot
DryRun May 8, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 20 additions & 12 deletions DQM/HcalCommon/interface/Constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,25 @@ namespace hcaldqm
24, 0, 20, 0, 21, 0, 25, 0, 31, 0,
35, 0, 37, 0, 34, 0, 30, 0, 22,22,
29,29, 32,32, 0, 0, 0, 0, 0, 0,
0, 0, 36, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 38, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0
};
uint16_t const CRATE2FED[50] = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1102, 1104, 1118, 0, 1100, 1106, 0, 0, 0, 1120,
1116, 1108, 1122, 0, 1114, 1110, 1132, 1112, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0
// 2017 values:
0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,
1102,1104,1118,0,1100,1106,0,0,0,1120,
1116,1108,1122,0,1114,1110,0,1112,1134,0,
0,0,0,0,0,0,0,0,0,0
// 2016 values:
//0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
//0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
//1102, 1104, 1118, 0, 1100, 1106, 0, 0, 0, 1120,
//1116, 1108, 1122, 0, 1114, 1110, 1132, 1112, 0, 0,
//0, 0, 0, 0, 0, 0, 0, 0, 0, 0
};


// FEDs use the first 50 uTCA FED numbers only everywhere
int const FED_VME_MIN = FEDNumbering::MINHCALFEDID;
int const FED_VME_MAX = FEDNumbering::MAXHCALFEDID;
Expand Down Expand Up @@ -90,15 +98,15 @@ namespace hcaldqm
int const FIBER_VME_MIN = 1;
int const FIBER_VME_MAX = 8;
int const FIBER_VME_NUM = FIBER_VME_MAX-FIBER_VME_MIN+1;
int const FIBER_uTCA_MIN1 = 2;
int const FIBER_uTCA_MAX1 = 9;
int const FIBER_uTCA_MIN2 = 14;
int const FIBER_uTCA_MAX2 = 21;
int const FIBER_uTCA_MIN1 = 0;
int const FIBER_uTCA_MAX1 = 11;
int const FIBER_uTCA_MIN2 = 12;
int const FIBER_uTCA_MAX2 = 23;
int const FIBER_uTCA_NUM = FIBER_uTCA_MAX1-FIBER_uTCA_MIN1+1 +
FIBER_uTCA_MAX2-FIBER_uTCA_MIN2+1;

int const FIBERCH_MIN = 0;
int const FIBERCH_MAX = 2;
int const FIBERCH_MAX = 5;
int const FIBERCH_NUM = FIBERCH_MAX-FIBERCH_MIN+1;

// TP SLBs, Fibers
Expand Down Expand Up @@ -129,7 +137,7 @@ namespace hcaldqm
int const HF = 4;
int const SUBDET_NUM = 4;
int const TPSUBDET_NUM = 2;
int const DIGISIZE[SUBDET_NUM] = {10, 10, 10, 4};
int const DIGISIZE[SUBDET_NUM] = {10, 10, 10, 3};
std::string const SUBDET_NAME[SUBDET_NUM]={"HB", "HE", "HO", "HF"};
std::string const SUBDETPM_NAME[2*SUBDET_NUM] = { "HBM", "HBP",
"HEM", "HEP", "HOM", "HOP", "HFM", "HFP"};
Expand Down
4 changes: 4 additions & 0 deletions DQM/HcalCommon/interface/DQClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ namespace hcaldqm
// emap
HcalElectronicsMap const* _emap;

// Crate and crate eid lists
std::vector<int> _vCrates;
std::vector<uint32_t> _vhashCrates;

// FED and FED Eids lists
std::vector<int> _vFEDs;
std::vector<uint32_t> _vhashFEDs;
Expand Down
4 changes: 4 additions & 0 deletions DQM/HcalCommon/interface/DQHarvester.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ namespace hcaldqm
// some counters
int _totalLS;

// Crate and crate eid lists
std::vector<int> _vCrates;
std::vector<uint32_t> _vhashCrates;

// all FEDs
std::vector<int> _vFEDs;
std::vector<uint32_t> _vhashFEDs;
Expand Down
4 changes: 4 additions & 0 deletions DQM/HcalCommon/interface/DQTask.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ namespace hcaldqm
// Tags and corresponding Tokens
edm::InputTag _tagRaw;
edm::EDGetTokenT<FEDRawDataCollection> _tokRaw;

// Conditions and emap
edm::ESHandle<HcalDbService> _dbService;
HcalElectronicsMap const* _emap;
};
}

Expand Down
Loading