|
void | analyze (edm::Event const &iEvent, edm::EventSetup const &iSetup) override |
|
void | endJob () override |
|
| HcalCableMapper (edm::ParameterSet const &conf) |
|
| ~HcalCableMapper () override=default |
|
| EDAnalyzer ()=default |
|
| EDAnalyzer (const EDAnalyzer &)=delete |
|
SerialTaskQueue * | globalLuminosityBlocksQueue () final |
|
SerialTaskQueue * | globalRunsQueue () final |
|
const EDAnalyzer & | operator= (const EDAnalyzer &)=delete |
|
bool | wantsGlobalLuminosityBlocks () const final |
|
bool | wantsGlobalRuns () const final |
|
bool | wantsInputProcessBlocks () const final |
|
bool | wantsProcessBlocks () const final |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| EDAnalyzerBase () |
|
ModuleDescription const & | moduleDescription () const |
|
bool | wantsStreamLuminosityBlocks () const |
|
bool | wantsStreamRuns () const |
|
| ~EDAnalyzerBase () override |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
void | convertCurrentProcessAlias (std::string const &processName) |
| Convert "@currentProcess" in InputTag process names to the actual current process name. More...
|
|
| EDConsumerBase () |
|
| EDConsumerBase (EDConsumerBase const &)=delete |
|
| EDConsumerBase (EDConsumerBase &&)=default |
|
ESProxyIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
|
std::vector< ESProxyIndex > const & | esGetTokenIndicesVector (edm::Transition iTrans) const |
|
std::vector< ESRecordIndex > const & | esGetTokenRecordIndicesVector (edm::Transition iTrans) const |
|
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 & | itemsToGetFrom (BranchType iType) const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesWhoseProductsAreConsumed (std::array< std::vector< ModuleDescription const *> *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const *> const &labelsToDesc, std::string const &processName) const |
|
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
|
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
|
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
void | selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase) |
|
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
void | updateLookup (eventsetup::ESRecordsToProxyIndices const &) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
|
typedef EDAnalyzerBase | ModuleType |
|
typedef ProductLabels | Labels |
|
static const std::string & | baseType () |
|
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
|
static void | prevalidate (ConfigurationDescriptions &descriptions) |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
|
template<BranchType B = InEvent> |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
|
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes () |
|
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag const &tag) |
|
template<Transition Tr = Transition::Event> |
constexpr auto | esConsumes () |
|
template<Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag tag) |
|
template<Transition Tr = Transition::Event> |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
| Used with EventSetupRecord::doGet. More...
|
|
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) |
|
void | resetItemsToGetFrom (BranchType iType) |
|
Definition at line 16 of file HcalCableMapper.cc.
void HcalCableMapper::process |
( |
const PathSet & |
ps, |
|
|
const IdMap & |
im |
|
) |
| |
|
private |
Definition at line 61 of file HcalCableMapper.cc.
References HltBtagPostValidation_cff::c, createTree::dd, LEDCalibrationChannels::depth, det_names, runTauDisplay::eid, RecoTauValidation_cfi::header, LEDCalibrationChannels::ieta, LEDCalibrationChannels::iphi, contentValuesCheck::ss, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by endJob().
62 PathSet::const_iterator iii;
63 IdMap::const_iterator ij;
65 for (iii = ps.begin(); iii != ps.end(); iii++) {
73 int ieta = ((
ss[1].adc()) & 0x3F);
74 int z_ieta = (((
ss[1].adc()) >> 6) & 0x1);
75 int iphi = ((
ss[2].adc()) & 0x7F);
76 int depth = ((
ss[3].adc()) & 0x7);
77 int det = (((
ss[3].adc()) >> 3) & 0xF);
78 int spigot = ((
ss[4].adc()) & 0xF);
79 int fiber = (((
ss[4].adc()) >> 4) & 0x7);
80 int crate = ((
ss[5].adc()) & 0x1F);
81 int fiber_chan = (((
ss[5].adc()) >> 5) & 0x3);
82 int G_Dcc = ((
ss[6].adc()) & 0x3F);
83 int H_slot = ((
ss[7].adc()) & 0x1F);
84 int TB = (((
ss[7].adc()) >> 5) & 0x1);
85 int RBX_7 = (((
ss[7].adc()) >> 6) & 0x1);
86 int RBX = ((
ss[8].adc()) & 0x7F);
87 int RM = ((
ss[9].adc()) & 0x3);
88 int RM_card = (((
ss[9].adc()) >> 2) & 0x3);
89 int RM_chan = (((
ss[9].adc()) >> 4) & 0x7);
92 if (det > 4 || det < 0) {
94 snprintf(
c, 20,
"Det=%d", det);
107 if ((spigot ==
eid.spigot()) && (fiber + 1 ==
eid.fiberIndex()) && (fiber_chan ==
eid.fiberChanId()) &&
108 (H_slot ==
eid.htrSlot()) && (G_Dcc ==
eid.dccid()) && (crate ==
eid.readoutVMECrateId()) &&
110 (det ==
dd.subdet())) {
113 is_header =
" Header found";
116 <<
" Digi ID: " <<
dd << is_header <<
" ieta: " << eta_sign <<
ieta <<
" iphi: " <<
iphi 117 <<
" Depth: " <<
depth <<
" Detector: " << det_name <<
" Spigot: " << spigot <<
"/" <<
eid.spigot()
118 <<
" Fiber: " << fiber + 1 <<
"/" <<
eid.fiberIndex() <<
" Fiber Channel: " << fiber_chan <<
"/" 119 <<
eid.fiberChanId() <<
" Crate: " << crate <<
"/" <<
eid.readoutVMECrateId() <<
" Global Dcc: " << G_Dcc
120 <<
"/" <<
eid.dccid() <<
" HTR Slot: " << H_slot <<
"/ " <<
eid.htrSlot() <<
" Top/Bottom: " << TB <<
"/" 121 <<
eid.htrTopBottom() <<
" RBX: " << (RBX_7 * 128 + RBX) <<
" RM: " << RM + 1 <<
" RM Card: " << RM_card + 1
122 <<
" RM Channel: " << RM_chan;
124 }
else if (
ieta + 64 == 0x75) {
125 ieta = ((
ss[2].adc()) & 0x3F);
126 iphi = ((
ss[3].adc()) & 0x7F);
128 det = (((
ss[4].adc()) >> 3) & 0xF);
129 spigot = ((
ss[5].adc()) & 0xF);
130 fiber = (((
ss[5].adc()) >> 4) & 0x7);
131 crate = ((
ss[6].adc()) & 0x1F);
132 fiber_chan = (((
ss[6].adc()) >> 5) & 0x3);
133 G_Dcc = ((
ss[7].adc()) & 0x3F);
134 H_slot = ((
ss[8].adc()) & 0x1F);
135 TB = (((
ss[8].adc()) >> 5) & 0x1);
136 RBX_7 = (((
ss[8].adc()) >> 6) & 0x1);
137 RBX = ((
ss[9].adc()) & 0x7F);
140 if ((spigot ==
eid.spigot()) && (fiber + 1 ==
eid.fiberIndex()) && (fiber_chan ==
eid.fiberChanId()) &&
141 (H_slot ==
eid.htrSlot()) && (G_Dcc ==
eid.dccid()) && (TB ==
eid.htrTopBottom()) &&
142 (crate ==
eid.readoutVMECrateId()) && (
iphi ==
dd.iphi()) && (
depth ==
dd.depth()) && (det ==
dd.subdet()) &&
146 is_header =
" DATA SHIFT";
149 <<
" Digi ID: " <<
dd << is_header <<
" ieta: " << eta_sign <<
ieta <<
" iphi: " <<
iphi 150 <<
" Depth: " <<
depth <<
" Detector: " << det_name <<
" Spigot: " << spigot <<
"/" <<
eid.spigot()
151 <<
" Fiber: " << fiber + 1 <<
"/" <<
eid.fiberIndex() <<
" Fiber Channel: " << fiber_chan <<
"/" 152 <<
eid.fiberChanId() <<
" Crate: " << crate <<
"/" <<
eid.readoutVMECrateId() <<
" Global Dcc: " << G_Dcc
153 <<
"/" <<
eid.dccid() <<
" HTR Slot: " << H_slot <<
"/ " <<
eid.htrSlot() <<
" Top/Bottom: " << TB <<
"/" 154 <<
eid.htrTopBottom() <<
" RBX: " << (RBX_7 * 128 + RBX);
157 edm::LogVerbatim(
"HcalCableMapper") <<
" Digi ID: " <<
dd <<
" +NO HEADER+ RBX: " << (RBX_7 * 128 + RBX);
Log< level::Info, true > LogVerbatim
constexpr char const * det_names[]
std::vector< HcalQIESample > SampleSet
Readout chain identification for Hcal.