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=default | |
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 | |
const double | beamEta |
const double | beamPhi |
const double | beamTheta |
const double | beamXoff |
const double | beamYoff |
int | crysNumber |
const double | fMaxEta |
const double | fMaxPhi |
const double | fMinEta |
const double | fMinPhi |
std::unique_ptr< ROOT::Math::Rotation3D > | fromCMStoTB |
const edm::EDGetTokenT< edm::HepMCProduct > | GenVtxToken |
double | partXhodo |
double | partYhodo |
std::unique_ptr< 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 33 of file EcalTBMCInfoProducer.cc.
|
explicit |
Constructor.
Definition at line 67 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, fromCMStoTB, edm::ParameterSet::getParameter(), EcalTBCrystalMap::NCRYSTAL, phi, funct::sin(), AlCaHLTBitMon_QueryRunRegistry::string, theTestMap, geometryCSVtoXML::xx, geometryCSVtoXML::xy, geometryCSVtoXML::xz, geometryCSVtoXML::yy, geometryCSVtoXML::yz, and geometryCSVtoXML::zz.
|
overridedefault |
Destructor.
|
override |
Produce digis out of raw data.
Definition at line 145 of file EcalTBMCInfoProducer.cc.
References beamEta, beamPhi, beamXoff, beamYoff, crysNumber, GenVtxToken, edm::RandomNumberGenerator::getEngine(), edm::HepMCProduct::GetEvent(), LogDebug, eostools::move(), partXhodo, and partYhodo.
|
private |
Definition at line 49 of file EcalTBMCInfoProducer.cc.
Referenced by EcalTBMCInfoProducer(), and produce().
|
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().
|
private |
Definition at line 52 of file EcalTBMCInfoProducer.cc.
Referenced by EcalTBMCInfoProducer(), and produce().
|
private |
Definition at line 53 of file EcalTBMCInfoProducer.cc.
Referenced by EcalTBMCInfoProducer(), and produce().
|
private |
Definition at line 57 of file EcalTBMCInfoProducer.cc.
Referenced by EcalTBMCInfoProducer(), and produce().
|
private |
Definition at line 46 of file EcalTBMCInfoProducer.cc.
|
private |
Definition at line 48 of file EcalTBMCInfoProducer.cc.
|
private |
Definition at line 45 of file EcalTBMCInfoProducer.cc.
|
private |
Definition at line 47 of file EcalTBMCInfoProducer.cc.
|
private |
Definition at line 64 of file EcalTBMCInfoProducer.cc.
Referenced by EcalTBMCInfoProducer().
|
private |
Definition at line 55 of file EcalTBMCInfoProducer.cc.
Referenced by produce().
|
private |
Definition at line 59 of file EcalTBMCInfoProducer.cc.
Referenced by produce().
|
private |
Definition at line 60 of file EcalTBMCInfoProducer.cc.
Referenced by produce().
|
private |
Definition at line 62 of file EcalTBMCInfoProducer.cc.
Referenced by EcalTBMCInfoProducer().