|
using | CacheTypes = CacheContexts< T... > |
|
using | GlobalCache = typename CacheTypes::GlobalCache |
|
using | HasAbility = AbilityChecker< T... > |
|
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
|
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
|
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
|
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
|
using | RunCache = typename CacheTypes::RunCache |
|
using | RunContext = RunContextT< RunCache, GlobalCache > |
|
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
|
typedef FuncVariable< DIGI_T, StringCutObjectSelector< DIGI_T >, bool > | BoolVar |
|
typedef FuncVariable< DIGI_T, StringObjectFunction< DIGI_T >, double > | DoubleVar |
|
typedef FuncVariable< DIGI_T, StringObjectFunction< DIGI_T >, float > | FloatVar |
|
typedef FuncVariable< DIGI_T, StringObjectFunction< DIGI_T >, int16_t > | Int16Var |
|
typedef FuncVariable< DIGI_T, StringObjectFunction< DIGI_T >, int32_t > | IntVar |
|
typedef FuncVariable< DIGI_T, StringObjectFunction< DIGI_T >, uint16_t > | UInt16Var |
|
typedef FuncVariable< DIGI_T, StringObjectFunction< DIGI_T >, uint8_t > | UInt8Var |
|
typedef FuncVariable< DIGI_T, StringObjectFunction< DIGI_T >, uint32_t > | UIntVar |
|
const std::string | doc_ |
|
const bool | extension_ |
|
const std::string | name_ |
|
const bool | skipNonExistingSrc_ |
|
const edm::EDGetTokenT< MuonDigiCollection< DETECTOR_T, DIGI_T > > | src_ |
|
std::vector< std::unique_ptr< Variable< DIGI_T > > > | vars_ |
|
template<class DETECTOR_T, class DIGI_T>
class MuDigiBaseProducer< DETECTOR_T, DIGI_T >
Helper class defining the generic interface of a muon digi Producer
- Author
- C. Battilana (INFN BO)
Definition at line 22 of file MuDigiBaseProducer.h.
template<class DETECTOR_T , class DIGI_T >
Implements SimpleFlatTableProducerBase< DIGI_T, MuonDigiCollection< DETECTOR_T, DIGI_T > >.
Definition at line 86 of file MuDigiBaseProducer.h.
References hcalRecHitTable_cff::detId, MuDigiBaseProducer< DETECTOR_T, DIGI_T >::detIdVars_, SimpleFlatTableProducerBase< DIGI_T, MuonDigiCollection< DETECTOR_T, DIGI_T > >::extension_, SimpleFlatTableProducerBase< DIGI_T, MuonDigiCollection< DETECTOR_T, DIGI_T > >::name_, dumpMFGeometry_cfg::prod, FastTimerService_cff::range, TableParser::table, HcalDetIdTransform::transform(), trigObjTnPSource_cfi::var, and SimpleFlatTableProducerBase< DIGI_T, MuonDigiCollection< DETECTOR_T, DIGI_T > >::vars_.
88 std::vector<const DIGI_T *> digis;
89 std::vector<const DETECTOR_T *> detIds;
90 std::list<DETECTOR_T> detIdObjs;
93 auto detIdIt =
prod->begin();
94 auto detIdEnd =
prod->end();
96 for (; detIdIt != detIdEnd; ++detIdIt) {
98 detIdObjs.push_back(
detId);
99 std::fill_n(std::back_inserter(detIds),
range.second -
range.first, &detIdObjs.back());
104 auto table = std::make_unique<nanoaod::FlatTable>(digis.size(), this->
name_,
false, this->
extension_);
106 for (
const auto &
var : this->
vars_) {
std::vector< std::unique_ptr< Variable< DIGI_T > > > vars_
std::vector< std::unique_ptr< Variable< DETECTOR_T > > > detIdVars_