#include <ME0ReDigiProducer.h>
Private Member Functions | |
double | correctSigmaU (const ME0EtaPartition *roll, double y) |
Private Attributes | |
std::vector< double > | centralTOF_ |
bool | discretizeTiming_ |
bool | discretizeX_ |
bool | discretizeY_ |
const ME0Geometry * | geometry_ |
double | instLumi_ |
int | maxBunch_ |
int | minBunch_ |
double | newXResolution_ |
double | newYResolution_ |
int | nPartitions_ |
double | oldXResolution_ |
double | oldYResolution_ |
double | radialResolution_ |
bool | reDigitizeNeutronBkg_ |
bool | reDigitizeOnlyMuons_ |
bool | smearRadial_ |
bool | smearTiming_ |
double | timeResolution_ |
edm::EDGetTokenT < ME0DigiPreRecoCollection > | token_ |
bool | verbose_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
typedef CacheContexts< T...> | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T...> | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT < LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
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 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) |
Definition at line 25 of file ME0ReDigiProducer.h.
|
explicit |
Definition at line 22 of file ME0ReDigiProducer.cc.
References discretizeTiming_, discretizeX_, discretizeY_, Exception, edm::ParameterSet::getParameter(), HLT_25ns10e33_v2_cff::InputTag, instLumi_, maxBunch_, minBunch_, newXResolution_, newYResolution_, oldXResolution_, oldYResolution_, radialResolution_, reDigitizeNeutronBkg_, reDigitizeOnlyMuons_, rng, smearRadial_, smearTiming_, AlCaHLTBitMon_QueryRunRegistry::string, timeResolution_, and token_.
|
virtual |
Definition at line 54 of file ME0ReDigiProducer.cc.
|
overridevirtual |
Reimplemented from edm::stream::EDProducerBase.
Definition at line 59 of file ME0ReDigiProducer.cc.
References centralTOF_, ME0Geometry::etaPartitions(), geometry_, edm::EventSetup::get(), LogDebug, nPartitions_, and or.
void ME0ReDigiProducer::buildDigis | ( | const ME0DigiPreRecoCollection & | input_digis, |
ME0DigiPreRecoCollection & | output_digis, | ||
CLHEP::HepRandomEngine * | engine | ||
) |
Definition at line 101 of file ME0ReDigiProducer.cc.
References funct::abs(), centralTOF_, ME0EtaPartition::centreOfStrip(), ME0DigiPreReco::corr(), correctSigmaU(), ztail::d, discretizeTiming_, discretizeX_, discretizeY_, ME0Geometry::etaPartition(), ME0Geometry::etaPartitions(), geometry_, ME0EtaPartition::id(), cmsHarvester::index, instLumi_, maxBunch_, ME0DetId::maxRollId, minBunch_, newYResolution_, nPartitions_, oldXResolution_, oldYResolution_, or, HLT_25ns10e33_v2_cff::parameters, ME0DigiPreReco::pdgid(), ME0DigiPreReco::prompt(), radialResolution_, reDigitizeNeutronBkg_, reDigitizeOnlyMuons_, smearRadial_, smearTiming_, mathSSE::sqrt(), ME0EtaPartition::strip(), FrontierCondition_GT_autoExpress_cfi::t0, timeResolution_, ME0DigiPreReco::tof(), GeomDet::toGlobal(), GeomDet::toLocal(), ME0DigiPreReco::x(), PV3DBase< T, PVType, FrameType >::x(), ME0DigiPreReco::y(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by produce().
|
private |
Definition at line 266 of file ME0ReDigiProducer.cc.
References newXResolution_, ME0EtaPartitionSpecs::parameters(), HLT_25ns10e33_v2_cff::parameters, Gflash::Rmax, ME0EtaPartition::specs(), ME0EtaPartition::topology(), and y.
Referenced by buildDigis().
|
overridevirtual |
Implements edm::stream::EDProducerBase.
Definition at line 83 of file ME0ReDigiProducer.cc.
References buildDigis(), edm::Event::getByToken(), edm::RandomNumberGenerator::getEngine(), eostools::move(), edm::Handle< T >::product(), edm::Event::put(), rng, edm::Event::streamID(), and token_.
|
private |
Definition at line 62 of file ME0ReDigiProducer.h.
Referenced by beginRun(), and buildDigis().
|
private |
Definition at line 49 of file ME0ReDigiProducer.h.
Referenced by buildDigis(), and ME0ReDigiProducer().
|
private |
Definition at line 56 of file ME0ReDigiProducer.h.
Referenced by buildDigis(), and ME0ReDigiProducer().
|
private |
Definition at line 57 of file ME0ReDigiProducer.h.
Referenced by buildDigis(), and ME0ReDigiProducer().
|
private |
Definition at line 44 of file ME0ReDigiProducer.h.
Referenced by beginRun(), and buildDigis().
|
private |
Definition at line 61 of file ME0ReDigiProducer.h.
Referenced by buildDigis(), and ME0ReDigiProducer().
|
private |
Definition at line 47 of file ME0ReDigiProducer.h.
Referenced by buildDigis(), and ME0ReDigiProducer().
|
private |
Definition at line 46 of file ME0ReDigiProducer.h.
Referenced by buildDigis(), and ME0ReDigiProducer().
|
private |
Definition at line 54 of file ME0ReDigiProducer.h.
Referenced by correctSigmaU(), and ME0ReDigiProducer().
|
private |
Definition at line 55 of file ME0ReDigiProducer.h.
Referenced by buildDigis(), and ME0ReDigiProducer().
|
private |
Definition at line 63 of file ME0ReDigiProducer.h.
Referenced by beginRun(), and buildDigis().
|
private |
Definition at line 52 of file ME0ReDigiProducer.h.
Referenced by buildDigis(), and ME0ReDigiProducer().
|
private |
Definition at line 53 of file ME0ReDigiProducer.h.
Referenced by buildDigis(), and ME0ReDigiProducer().
|
private |
Definition at line 50 of file ME0ReDigiProducer.h.
Referenced by buildDigis(), and ME0ReDigiProducer().
|
private |
Definition at line 60 of file ME0ReDigiProducer.h.
Referenced by buildDigis(), and ME0ReDigiProducer().
|
private |
Definition at line 59 of file ME0ReDigiProducer.h.
Referenced by buildDigis(), and ME0ReDigiProducer().
|
private |
Definition at line 51 of file ME0ReDigiProducer.h.
Referenced by buildDigis(), and ME0ReDigiProducer().
|
private |
Definition at line 48 of file ME0ReDigiProducer.h.
Referenced by buildDigis(), and ME0ReDigiProducer().
|
private |
Definition at line 45 of file ME0ReDigiProducer.h.
Referenced by buildDigis(), and ME0ReDigiProducer().
|
private |
Definition at line 43 of file ME0ReDigiProducer.h.
Referenced by ME0ReDigiProducer(), and produce().
|
private |
Definition at line 58 of file ME0ReDigiProducer.h.