#include <EcalTBMCInfoProducer.h>
Public Member Functions | |
EcalTBMCInfoProducer (const edm::ParameterSet &ps) | |
Constructor. More... | |
void | produce (edm::Event &event, const edm::EventSetup &eventSetup) |
Produce digis out of raw data. More... | |
virtual | ~EcalTBMCInfoProducer () |
Destructor. More... | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Attributes | |
double | beamEta |
double | beamPhi |
double | beamTheta |
double | beamXoff |
double | beamYoff |
int | crysNumber |
CLHEP::RandFlat * | flatDistribution_ |
ROOT::Math::Rotation3D * | fromCMStoTB |
std::string | GenVtxLabel |
double | partXhodo |
double | partYhodo |
EcalTBCrystalMap * | theTestMap |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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 34 of file EcalTBMCInfoProducer.h.
EcalTBMCInfoProducer::EcalTBMCInfoProducer | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 19 of file EcalTBMCInfoProducer.cc.
References beamEta, beamPhi, beamTheta, beamXoff, beamYoff, funct::cos(), crysNumber, reco_application_tbsim_DetSim-Digi_cfg::CrystalMapFile, HLTFastRecoForTau_cff::deltaEta, SiPixelRawToDigiRegional_cfi::deltaPhi, eta(), edm::hlt::Exception, create_public_lumi_plots::exp, EcalTBCrystalMap::findCrystalAngles(), flatDistribution_, fromCMStoTB, GenVtxLabel, edm::RandomNumberGenerator::getEngine(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), edm::Service< T >::isAvailable(), EcalTBCrystalMap::NCRYSTAL, phi, funct::sin(), theTestMap, and create_public_lumi_plots::xy.
|
virtual |
Destructor.
Definition at line 103 of file EcalTBMCInfoProducer.cc.
References flatDistribution_, and theTestMap.
|
virtual |
Produce digis out of raw data.
Implements edm::EDProducer.
Definition at line 110 of file EcalTBMCInfoProducer.cc.
References beamEta, beamPhi, beamXoff, beamYoff, crysNumber, flatDistribution_, GenVtxLabel, LogDebug, partXhodo, and partYhodo.
|
private |
Definition at line 56 of file EcalTBMCInfoProducer.h.
Referenced by EcalTBMCInfoProducer(), and produce().
|
private |
Definition at line 57 of file EcalTBMCInfoProducer.h.
Referenced by EcalTBMCInfoProducer(), and produce().
|
private |
Definition at line 58 of file EcalTBMCInfoProducer.h.
Referenced by EcalTBMCInfoProducer().
|
private |
Definition at line 62 of file EcalTBMCInfoProducer.h.
Referenced by EcalTBMCInfoProducer(), and produce().
|
private |
Definition at line 63 of file EcalTBMCInfoProducer.h.
Referenced by EcalTBMCInfoProducer(), and produce().
|
private |
Definition at line 60 of file EcalTBMCInfoProducer.h.
Referenced by EcalTBMCInfoProducer(), and produce().
|
private |
Definition at line 74 of file EcalTBMCInfoProducer.h.
Referenced by EcalTBMCInfoProducer(), produce(), and ~EcalTBMCInfoProducer().
|
private |
Definition at line 70 of file EcalTBMCInfoProducer.h.
Referenced by EcalTBMCInfoProducer().
|
private |
Definition at line 72 of file EcalTBMCInfoProducer.h.
Referenced by EcalTBMCInfoProducer(), and produce().
|
private |
Definition at line 65 of file EcalTBMCInfoProducer.h.
Referenced by produce().
|
private |
Definition at line 66 of file EcalTBMCInfoProducer.h.
Referenced by produce().
|
private |
Definition at line 68 of file EcalTBMCInfoProducer.h.
Referenced by EcalTBMCInfoProducer(), and ~EcalTBMCInfoProducer().