Public Member Functions | |
void | convert_soa_data_to_collection_ (uint32_t, HGCRecHitCollection &, ConstHGCRecHitSoA *) |
HEFRecHitFromSoA (const edm::ParameterSet &ps) | |
void | produce (edm::Event &, const edm::EventSetup &) override |
~HEFRecHitFromSoA () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
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 |
Private Attributes | |
edm::EDPutTokenT< HGChefRecHitCollection > | recHitCollectionToken_ |
std::unique_ptr< HGChefRecHitCollection > | rechits_ |
edm::EDGetTokenT< HGCRecHitCPUProduct > | recHitSoAToken_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
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 |
Definition at line 12 of file HEFRecHitFromSoA.cc.
|
explicit |
Definition at line 26 of file HEFRecHitFromSoA.cc.
References edm::ParameterSet::getParameter(), recHitCollectionToken_, and recHitSoAToken_.
|
override |
Definition at line 31 of file HEFRecHitFromSoA.cc.
void HEFRecHitFromSoA::convert_soa_data_to_collection_ | ( | uint32_t | nhits, |
HGCRecHitCollection & | rechits, | ||
ConstHGCRecHitSoA * | h_calibSoA | ||
) |
Definition at line 41 of file HEFRecHitFromSoA.cc.
References ConstHGCRecHitSoA::energy_, ConstHGCRecHitSoA::flagBits_, mps_fire::i, ConstHGCRecHitSoA::id_, TrackingDataMCValidation_Standalone_cff::nhits, edm::SortedCollection< T, SORT >::reserve(), ConstHGCRecHitSoA::son_, ConstHGCRecHitSoA::time_, ConstHGCRecHitSoA::timeError_, and parallelization::uint.
Referenced by produce().
|
override |
Definition at line 33 of file HEFRecHitFromSoA.cc.
References convert_soa_data_to_collection_(), eostools::move(), FastTrackerRecHitMaskProducer_cfi::recHits, rechits_, and recHitSoAToken_.
|
private |
Definition at line 23 of file HEFRecHitFromSoA.cc.
Referenced by HEFRecHitFromSoA().
|
private |
Definition at line 21 of file HEFRecHitFromSoA.cc.
Referenced by produce().
|
private |
Definition at line 22 of file HEFRecHitFromSoA.cc.
Referenced by HEFRecHitFromSoA(), and produce().