|
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
|
void | globalEndLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override |
|
| QIE10Task (edm::ParameterSet const &) |
|
| ~QIE10Task () override |
|
void | analyze (edm::Event const &, edm::EventSetup const &) override |
|
void | dqmBeginRun (edm::Run const &, edm::EventSetup const &) override |
|
| DQTask (edm::ParameterSet const &) |
|
std::shared_ptr< hcaldqm::Cache > | globalBeginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) const override |
|
void | globalEndLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override |
|
| ~DQTask () override |
|
void | accumulate (edm::Event const &event, edm::EventSetup const &setup) override |
|
void | beginRun (edm::Run const &run, edm::EventSetup const &setup) final |
|
| DQMOneEDAnalyzer () |
|
void | endRun (edm::Run const &, edm::EventSetup const &) final |
|
void | endRunProduce (edm::Run &run, edm::EventSetup const &setup) final |
|
virtual bool | getCanSaveByLumi () |
|
| EDProducer ()=default |
|
| EDProducer (const EDProducer &)=delete |
|
SerialTaskQueue * | globalLuminosityBlocksQueue () final |
|
SerialTaskQueue * | globalRunsQueue () final |
|
bool | hasAbilityToProduceInBeginLumis () const final |
|
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
|
bool | hasAbilityToProduceInBeginRuns () const final |
|
bool | hasAbilityToProduceInEndLumis () const final |
|
bool | hasAbilityToProduceInEndProcessBlocks () const final |
|
bool | hasAbilityToProduceInEndRuns () const final |
|
const EDProducer & | operator= (const EDProducer &)=delete |
|
bool | wantsGlobalLuminosityBlocks () const final |
|
bool | wantsGlobalRuns () const final |
|
bool | wantsInputProcessBlocks () const final |
|
bool | wantsProcessBlocks () const final |
|
| EDProducerBase () |
|
ModuleDescription const & | moduleDescription () const |
|
bool | wantsStreamLuminosityBlocks () const |
|
bool | wantsStreamRuns () const |
|
| ~EDProducerBase () override |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
std::vector
< edm::ProductResolverIndex >
const & | indiciesForPutProducts (BranchType iBranchType) const |
|
| ProducerBase () |
|
std::vector
< edm::ProductResolverIndex >
const & | putTokenIndexToProductResolverIndex () const |
|
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
|
std::function< void(BranchDescription
const &)> | registrationCallback () const |
| used by the fwk to register list of products More...
|
|
void | resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel) |
|
| ~ProducerBase () noexcept(false) 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) |
|
| DQModule (edm::ParameterSet const &) |
|
virtual | ~DQModule () noexcept(false) |
|
|
void | _process (edm::Event const &, edm::EventSetup const &) override |
|
void | _resetMonitors (hcaldqm::UpdateFreq) override |
|
virtual int | _getCalibType (edm::Event const &) |
|
virtual bool | _isApplicable (edm::Event const &) |
|
virtual void | dqmEndRun (edm::Run const &, edm::EventSetup const &) |
|
ProducesCollector | producesCollector () |
|
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 22 of file QIE10Task.h.
Implements hcaldqm::DQTask.
Definition at line 162 of file QIE10Task.cc.
References _cADC, _cADC_EChannel, _cLETDC, _cLETDC_EChannel, _cLETDCTime_EChannel, _cLETDCTimevsADC, _cLETDCvsADC, _cLETDCvsADC_EChannel, _cLETDCvsTS_EChannel, _cOccupancy_Crate, _cOccupancy_CrateSlot, _cOccupancy_depth, _cShapeCut, _cShapeCut_EChannel, _cut, hcaldqm::DQTask::_dbService, _ehashmap, hcaldqm::DQModule::_logger, _tagHF, _tokHF, _tokQIE10, gpuClustering::adc, HcalElectronicsId::crateId(), QIE10DataFrame::detid(), Logger::dqmthrow(), runTauDisplay::eid, hcaldqm::ContainerSingle1D::fill(), hcaldqm::Container2D::fill(), hcaldqm::ContainerSingle2D::fill(), hcaldqm::Container1D::fill(), edm::Event::getByToken(), HcalForward, mps_fire::i, edm::InputTag::instance(), dqmiolumiharvest::j, edm::InputTag::label(), hcaldqm::electronicsmap::ElectronicsMap::lookup(), submitPVResolutionJobs::q, QIE10DataFrame::samples(), HcalElectronicsId::slot(), HcalDetId::subdet(), and hcaldqm::utilities::sumQ().
167 if (!
e.getByToken(
_tokHF, chf))
170 std::map<uint32_t, QIE10DataFrame> mqie10;
171 for (uint32_t
i = 0;
i < cqie10->size();
i++) {
183 }
else if (eid.
crateId() == 29) {
185 }
else if (eid.
crateId() == 32) {
191 int index = fakecrate * 12 + eid.
slot() - 1;
195 double sumQ = hcaldqm::utilities::sumQDB<QIE10DataFrame>(
_dbService, digi_fC, did, frame, 0, frame.
samples() - 1);
203 for (
int j = 0;
j < frame.samples();
j++) {
206 double q = hcaldqm::utilities::adc2fCDBMinusPedestal<QIE10DataFrame>(
_dbService, digi_fC, did, frame,
j);
220 if (frame[
j].le_tdc() < 50) {
223 double time =
j * 25. + (frame[
j].le_tdc() / 2.);
229 mqie10[did.rawId()] = frame;
edm::EDGetTokenT< QIE10DigiCollection > _tokQIE10
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
hcaldqm::ContainerSingleProf1D _cShapeCut
hcaldqm::ContainerSingle1D _cLETDC
edm::EDGetTokenT< HFDigiCollection > _tokHF
hcaldqm::Container2D _cOccupancy_CrateSlot
hcaldqm::ContainerProf1D _cShapeCut_EChannel[36]
hcaldqm::ContainerSingle2D _cLETDCvsADC
hcaldqm::Container1D _cADC_EChannel[10][36]
hcaldqm::Container1D _cLETDC_EChannel[10][36]
uint32_t lookup(DetId const &)
constexpr DetId detid() const
Get the detector id.
constexpr HcalSubdetector subdet() const
get the subdetector
virtual void fill(uint32_t)
void dqmthrow(std::string const &msg) const
constexpr int crateId() const
get the readout VME crate number
hcaldqm::Container2D _cOccupancy_depth
hcaldqm::Container2D _cLETDCvsADC_EChannel[10][36]
hcaldqm::Container2D _cOccupancy_Crate
hcaldqm::Container1D _cLETDCTime_EChannel[36]
hcaldqm::Container2D _cLETDCvsTS_EChannel[36]
constexpr int samples() const
total number of samples in the digi
hcaldqm::ContainerSingle2D _cLETDCTimevsADC
constexpr int slot() const
get the htr or uHTR slot
edm::ESHandle< HcalDbService > _dbService
void fill(HcalDetId const &) override
virtual void fill(int, int)
hcaldqm::ContainerSingle1D _cADC
Readout chain identification for Hcal.
uint16_t *__restrict__ uint16_t const *__restrict__ adc
double sumQ(DIGI const &digi, double ped, int i=0, int j=3)
Reimplemented from hcaldqm::DQTask.
Definition at line 20 of file QIE10Task.cc.
References _cADC, _cADC_EChannel, _cLETDC, _cLETDC_EChannel, _cLETDCTime_EChannel, _cLETDCTimevsADC, _cLETDCvsADC, _cLETDCvsADC_EChannel, _cLETDCvsTS_EChannel, _cOccupancy_Crate, _cOccupancy_CrateSlot, _cOccupancy_depth, _cShapeCut, _cShapeCut_EChannel, _ehashmap, hcaldqm::DQTask::_emap, _filter_slot, hcaldqm::DQModule::_name, hcaldqm::DQModule::_ptype, hcaldqm::DQModule::_subsystem, printConversionInfo::aux, hcaldqm::ContainerSingleProf1D::book(), hcaldqm::ContainerProf1D::book(), hcaldqm::ContainerSingle1D::book(), hcaldqm::ContainerSingle2D::book(), hcaldqm::Container2D::book(), hcaldqm::Container1D::book(), bookHistograms(), hcaldqm::constants::crateListHF, hcaldqm::quantity::fCrate, hcaldqm::hashfunctions::fCrateSlot, hcaldqm::electronicsmap::fD2EHashMap, hcaldqm::hashfunctions::fdepth, hcaldqm::hashfunctions::fEChannel, hcaldqm::quantity::fFiberCh, hcaldqm::quantity::fFiberuTCA, hcaldqm::quantity::fFiberuTCAFiberCh, hcaldqm::constants::FIBER_uTCA_MIN1, hcaldqm::constants::FIBERCH_MIN, hcaldqm::quantity::fieta, hcaldqm::quantity::fiphi, hcaldqm::fLocal, hcaldqm::quantity::fN, hcaldqm::filter::fPreserver, hcaldqm::quantity::fQIE10ADC_256, hcaldqm::quantity::fQIE10fC_400000, hcaldqm::quantity::fQIE10TDC_64, hcaldqm::quantity::fSlotuTCA, hcaldqm::quantity::fTime_ns_250, hcaldqm::quantity::fTiming_TS, edm::EventSetup::getHandle(), hcalDbServiceToken_, mps_fire::i, hcaldqm::ContainerSingleProf1D::initialize(), hcaldqm::ContainerProf1D::initialize(), hcaldqm::filter::HashFilter::initialize(), hcaldqm::Container2D::initialize(), hcaldqm::ContainerSingle1D::initialize(), hcaldqm::ContainerSingle2D::initialize(), hcaldqm::electronicsmap::ElectronicsMap::initialize(), hcaldqm::Container1D::initialize(), dqmiolumiharvest::j, edm::RunAuxiliary::run(), edm::Run::runAuxiliary(), hcaldqm::constants::SLOT_uTCA_MAX, and hcaldqm::constants::SLOT_uTCA_MIN.
22 if (
r.runAuxiliary().run() == 1)
29 _emap = dbs->getHcalMapping();
37 std::vector<uint32_t> vhashSlot;
58 for (
unsigned int j = 0;
j < nTS;
j++) {
126 for (
auto& crate : constants::crateListHF) {
129 sprintf(aux,
"/Crate%d_Slot%d", crate, slot);
133 for (
unsigned int i = 0;
i < nTS;
i++) {
135 sprintf(aux2,
"/Crate%d_Slot%d/TS%d", crate, slot,
i);
void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *, int debug=0) override
hcaldqm::filter::HashFilter _filter_slot[36]
hcaldqm::electronicsmap::ElectronicsMap _ehashmap
virtual void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *qy=new quantity::ValueQuantity(quantity::fN), int debug=0)
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
hcaldqm::ContainerSingleProf1D _cShapeCut
void initialize(HcalElectronicsMap const *, ElectronicsMapType etype=fHcalElectronicsMap)
hcaldqm::ContainerSingle1D _cLETDC
virtual void initialize(std::string const &folder, quantity::Quantity *, quantity::Quantity *, quantity::Quantity *qz=new quantity::ValueQuantity(quantity::fN), int debug=0)
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
hcaldqm::Container2D _cOccupancy_CrateSlot
hcaldqm::ContainerProf1D _cShapeCut_EChannel[36]
hcaldqm::ContainerSingle2D _cLETDCvsADC
hcaldqm::Container1D _cADC_EChannel[10][36]
void initialize(std::string const &folder, quantity::Quantity *, quantity::Quantity *qy=new quantity::ValueQuantity(quantity::fN), int debug=0) override
hcaldqm::Container1D _cLETDC_EChannel[10][36]
virtual void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
example_stream void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
virtual void initialize(std::string const &folder, quantity::Quantity *, quantity::Quantity *qy=new quantity::ValueQuantity(quantity::fN), int debug=0)
int const FIBER_uTCA_MIN1
edm::ESGetToken< HcalDbService, HcalDbRecord > hcalDbServiceToken_
hcaldqm::Container2D _cOccupancy_depth
HcalElectronicsMap const * _emap
hcaldqm::Container2D _cLETDCvsADC_EChannel[10][36]
hcaldqm::Container2D _cOccupancy_Crate
std::vector< unsigned int > const crateListHF
hcaldqm::Container1D _cLETDCTime_EChannel[36]
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
virtual void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *, quantity::Quantity *qz=new quantity::ValueQuantity(quantity::fN), int debug=0)
void book(DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="") override
hcaldqm::Container2D _cLETDCvsTS_EChannel[36]
hcaldqm::ContainerSingle2D _cLETDCTimevsADC
virtual void initialize(FilterType ftype, hashfunctions::HashType htype, std::vector< uint32_t > const &)
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
hcaldqm::ContainerSingle1D _cADC
Readout chain identification for Hcal.