Public Member Functions | |
EcalTBMCInfoProducer (const edm::ParameterSet &ps) | |
Constructor. More... | |
void | produce (edm::Event &event, const edm::EventSetup &eventSetup) override |
Produce digis out of raw data. More... | |
~EcalTBMCInfoProducer () override | |
Destructor. More... | |
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 | |
double | beamEta |
double | beamPhi |
double | beamTheta |
double | beamXoff |
double | beamYoff |
int | crysNumber |
ROOT::Math::Rotation3D * | fromCMStoTB |
edm::EDGetTokenT < edm::HepMCProduct > | GenVtxToken |
double | partXhodo |
double | partYhodo |
EcalTBCrystalMap * | theTestMap |
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 32 of file EcalTBMCInfoProducer.cc.
|
explicit |
Constructor.
Definition at line 63 of file EcalTBMCInfoProducer.cc.
References beamEta, beamPhi, beamTheta, beamXoff, beamYoff, funct::cos(), crysNumber, reco_application_tbsim_DetSim-Digi_cfg::CrystalMapFile, spr::deltaEta, srCondWrite_cfg::deltaPhi, PVValHelper::eta, Exception, funct::exp(), EcalTBCrystalMap::findCrystalAngles(), fromCMStoTB, GenVtxToken, edm::ParameterSet::getParameter(), HLT_FULL_cff::InputTag, edm::Service< T >::isAvailable(), EcalTBCrystalMap::NCRYSTAL, phi, funct::sin(), AlCaHLTBitMon_QueryRunRegistry::string, theTestMap, and xy().
|
override |
|
override |
Produce digis out of raw data.
Definition at line 143 of file EcalTBMCInfoProducer.cc.
References beamEta, beamPhi, beamXoff, beamYoff, crysNumber, GenVtxToken, edm::RandomNumberGenerator::getEngine(), LogDebug, eostools::move(), partXhodo, partYhodo, and edm::Event::streamID().
|
private |
Definition at line 44 of file EcalTBMCInfoProducer.cc.
Referenced by EcalTBMCInfoProducer(), and produce().
|
private |
Definition at line 45 of file EcalTBMCInfoProducer.cc.
Referenced by EcalTBMCInfoProducer(), and produce().
|
private |
Definition at line 46 of file EcalTBMCInfoProducer.cc.
Referenced by EcalTBMCInfoProducer().
|
private |
Definition at line 50 of file EcalTBMCInfoProducer.cc.
Referenced by EcalTBMCInfoProducer(), and produce().
|
private |
Definition at line 51 of file EcalTBMCInfoProducer.cc.
Referenced by EcalTBMCInfoProducer(), and produce().
|
private |
Definition at line 48 of file EcalTBMCInfoProducer.cc.
Referenced by EcalTBMCInfoProducer(), and produce().
|
private |
Definition at line 58 of file EcalTBMCInfoProducer.cc.
Referenced by EcalTBMCInfoProducer().
|
private |
Definition at line 60 of file EcalTBMCInfoProducer.cc.
Referenced by EcalTBMCInfoProducer(), and produce().
|
private |
Definition at line 53 of file EcalTBMCInfoProducer.cc.
Referenced by produce().
|
private |
Definition at line 54 of file EcalTBMCInfoProducer.cc.
Referenced by produce().
|
private |
Definition at line 56 of file EcalTBMCInfoProducer.cc.
Referenced by EcalTBMCInfoProducer(), and ~EcalTBMCInfoProducer().