![]() |
![]() |
#include <BeamMomentumGunProducer.h>
Private Attributes | |
TBranch * | b_eventId_ |
TBranch * | b_npar_ |
TBranch * | b_parPDGId_ |
TBranch * | b_parPx_ |
TBranch * | b_parPy_ |
TBranch * | b_parPz_ |
TBranch * | b_parX_ |
TBranch * | b_parY_ |
TBranch * | b_parZ_ |
int | eventId_ |
TFile * | fFile_ |
TTree * | fTree_ |
long int | nentries_ |
int | npar_ |
std::vector< int > * | parPDGId_ |
std::vector< float > * | parPx_ |
std::vector< float > * | parPy_ |
std::vector< float > * | parPz_ |
std::vector< float > * | parX_ |
std::vector< float > * | parY_ |
std::vector< float > * | parZ_ |
double | xoff_ |
double | yoff_ |
double | zpos_ |
Static Private Attributes | |
static constexpr double | cm2mm_ = 10.0 |
static constexpr double | MeV2GeV_ = 0.001 |
static constexpr double | mm2cm_ = 0.1 |
Additional Inherited Members | |
![]() | |
typedef EDProducerBase | ModuleType |
![]() | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > > |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
![]() | |
typedef ProductLabels | Labels |
![]() | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
![]() | |
template<Transition Tr = Transition::Event> | |
auto | produces (std::string instanceName) noexcept |
declare what type of product will make and with which optional label More... | |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
template<Transition Tr = Transition::Event> | |
auto | produces () noexcept |
ProducesCollector | producesCollector () |
![]() | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
![]() | |
bool | fAddAntiParticle |
HepMC::GenEvent * | fEvt |
double | fMaxPhi |
double | fMaxTheta |
double | fMinPhi |
double | fMinTheta |
std::vector< int > | fPartIDs |
ESHandle< HepPDT::ParticleDataTable > | fPDGTable |
int | fVerbosity |
Definition at line 15 of file BeamMomentumGunProducer.h.
edm::BeamMomentumGunProducer::BeamMomentumGunProducer | ( | const ParameterSet & | pset | ) |
Definition at line 21 of file BeamMomentumGunProducer.cc.
References b_eventId_, b_npar_, b_parPDGId_, b_parPx_, b_parPy_, b_parPz_, b_parX_, b_parY_, b_parZ_, eventId_, Exception, fFile_, personalPlayback::fp, fTree_, edm::FlatBaseThetaGunProducer::fVerbosity, edm::ParameterSet::getParameter(), validateGeometry_cfg::infileName, nentries_, npar_, npart, parPDGId_, parPx_, parPy_, parPz_, parX_, parY_, parZ_, EgammaValidation_cff::pdgid, muonDTDigis_cfi::pset, AlCaHLTBitMon_QueryRunRegistry::string, xoff_, yoff_, and zpos_.
|
inlineoverride |
Definition at line 18 of file BeamMomentumGunProducer.h.
|
overridevirtual |
Implements edm::one::EDProducerBase.
Definition at line 79 of file BeamMomentumGunProducer.cc.
References funct::abs(), cm2mm_, funct::cos(), MillePedeFileConverter_cfg::e, HCALHighEnergyHPDFilter_cfi::energy, eventId_, edm::FlatBaseThetaGunProducer::fAddAntiParticle, edm::FlatBaseThetaGunProducer::fEvt, edm::FlatBaseThetaGunProducer::fMaxPhi, edm::FlatBaseThetaGunProducer::fMaxTheta, edm::FlatBaseThetaGunProducer::fMinPhi, edm::FlatBaseThetaGunProducer::fMinTheta, edm::FlatBaseThetaGunProducer::fPDGTable, fTree_, edm::FlatBaseThetaGunProducer::fVerbosity, genParticles2HepMC_cfi::genEventInfo, GenParticle::GenParticle, edm::RandomNumberGenerator::getEngine(), ZgammaFilter_cfi::HepMCProduct, EgHLTOffHistBins_cfi::mass, MeV2GeV_, eostools::move(), nentries_, npar_, AlCaHLTBitMon_ParallelJobs::p, parPDGId_, parPx_, parPy_, parPz_, LHEGenericFilter_cfi::ParticleID, parX_, parY_, multPhiCorr_741_25nsDY_cfi::px, multPhiCorr_741_25nsDY_cfi::py, funct::sin(), mathSSE::sqrt(), theta(), xoff_, yoff_, and zpos_.
|
private |
Definition at line 36 of file BeamMomentumGunProducer.h.
Referenced by BeamMomentumGunProducer().
|
private |
Definition at line 36 of file BeamMomentumGunProducer.h.
Referenced by BeamMomentumGunProducer().
|
private |
Definition at line 36 of file BeamMomentumGunProducer.h.
Referenced by BeamMomentumGunProducer().
|
private |
Definition at line 38 of file BeamMomentumGunProducer.h.
Referenced by BeamMomentumGunProducer().
|
private |
Definition at line 38 of file BeamMomentumGunProducer.h.
Referenced by BeamMomentumGunProducer().
|
private |
Definition at line 38 of file BeamMomentumGunProducer.h.
Referenced by BeamMomentumGunProducer().
|
private |
Definition at line 37 of file BeamMomentumGunProducer.h.
Referenced by BeamMomentumGunProducer().
|
private |
Definition at line 37 of file BeamMomentumGunProducer.h.
Referenced by BeamMomentumGunProducer().
|
private |
Definition at line 37 of file BeamMomentumGunProducer.h.
Referenced by BeamMomentumGunProducer().
|
staticprivate |
Definition at line 40 of file BeamMomentumGunProducer.h.
Referenced by produce().
|
private |
Definition at line 30 of file BeamMomentumGunProducer.h.
Referenced by BeamMomentumGunProducer(), and produce().
|
private |
Definition at line 25 of file BeamMomentumGunProducer.h.
Referenced by BeamMomentumGunProducer().
|
private |
Definition at line 26 of file BeamMomentumGunProducer.h.
Referenced by BeamMomentumGunProducer(), and produce().
|
staticprivate |
Definition at line 41 of file BeamMomentumGunProducer.h.
Referenced by produce().
|
staticprivate |
Definition at line 40 of file BeamMomentumGunProducer.h.
|
private |
Definition at line 27 of file BeamMomentumGunProducer.h.
Referenced by BeamMomentumGunProducer(), and produce().
|
private |
Definition at line 30 of file BeamMomentumGunProducer.h.
Referenced by BeamMomentumGunProducer(), and produce().
|
private |
Definition at line 31 of file BeamMomentumGunProducer.h.
Referenced by BeamMomentumGunProducer(), and produce().
|
private |
Definition at line 33 of file BeamMomentumGunProducer.h.
Referenced by BeamMomentumGunProducer(), and produce().
|
private |
Definition at line 33 of file BeamMomentumGunProducer.h.
Referenced by BeamMomentumGunProducer(), and produce().
|
private |
Definition at line 33 of file BeamMomentumGunProducer.h.
Referenced by BeamMomentumGunProducer(), and produce().
|
private |
Definition at line 32 of file BeamMomentumGunProducer.h.
Referenced by BeamMomentumGunProducer(), and produce().
|
private |
Definition at line 32 of file BeamMomentumGunProducer.h.
Referenced by BeamMomentumGunProducer(), and produce().
|
private |
Definition at line 32 of file BeamMomentumGunProducer.h.
Referenced by BeamMomentumGunProducer().
|
private |
Definition at line 24 of file BeamMomentumGunProducer.h.
Referenced by BeamMomentumGunProducer(), and produce().
|
private |
Definition at line 24 of file BeamMomentumGunProducer.h.
Referenced by BeamMomentumGunProducer(), and produce().
|
private |
Definition at line 24 of file BeamMomentumGunProducer.h.
Referenced by BeamMomentumGunProducer(), and produce().