Public Member Functions | |
void | Alpha (double m=0) |
angle between crossing plane and horizontal plane More... | |
void | Beta (double m=0) |
BetaBoostEvtVtxGenerator (const edm::ParameterSet &p) | |
double | BetaFunction (double z, double z0) |
beta function More... | |
void | betastar (double m=0) |
set beta_star More... | |
void | emittance (double m=0) |
emittance (no the normalized) More... | |
virtual TMatrixD * | GetInvLorentzBoost () |
virtual HepMC::FourVector * | newVertex (CLHEP::HepRandomEngine *) |
return a new event vertex More... | |
void | Phi (double m=0) |
set half crossing angle More... | |
void | produce (edm::Event &, const edm::EventSetup &) override |
void | sigmaZ (double s=1.0) |
set resolution in Z in cm More... | |
void | X0 (double m=0) |
set mean in X in cm More... | |
void | Y0 (double m=0) |
set mean in Y in cm More... | |
void | Z0 (double m=0) |
set mean in Z in cm More... | |
~BetaBoostEvtVtxGenerator () override | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
SerialTaskQueue * | globalLuminosityBlocksQueue () |
SerialTaskQueue * | globalRunsQueue () |
ModuleDescription const & | moduleDescription () const |
~EDProducer () override | |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
std::vector< edm::ProductResolverIndex > const & | putTokenIndexToProductResolverIndex () const |
std::vector< bool > const & | recordProvenanceList () const |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel) |
TypeLabelList const & | typeLabelList () const |
used by the fwk to register the list of products of this module More... | |
~ProducerBase () noexcept(false) override | |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase &&)=default | |
EDConsumerBase (EDConsumerBase const &)=delete | |
ESProxyIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
void | updateLookup (eventsetup::ESRecordsToProxyIndices const &) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Member Functions | |
BetaBoostEvtVtxGenerator (const BetaBoostEvtVtxGenerator &p)=delete | |
BetaBoostEvtVtxGenerator & | operator= (const BetaBoostEvtVtxGenerator &rhs)=delete |
Private Attributes | |
double | alpha_ |
double | beta_ |
TMatrixD * | boost_ |
double | falpha |
double | fbetastar |
double | femittance |
double | fSigmaZ |
double | fTimeOffset |
HepMC::FourVector * | fVertex |
double | fX0 |
double | fY0 |
double | fZ0 |
double | phi_ |
edm::EDGetTokenT< HepMCProduct > | sourceLabel |
bool | verbosity_ |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > > |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
Protected Member Functions inherited from edm::ProducerBase | |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
declare what type of product will make and with which optional label More... | |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
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) |
template<Transition B> | |
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 (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (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) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
Definition at line 52 of file BetaBoostEvtVtxGenerator.cc.
BetaBoostEvtVtxGenerator::BetaBoostEvtVtxGenerator | ( | const edm::ParameterSet & | p | ) |
Definition at line 111 of file BetaBoostEvtVtxGenerator.cc.
References alpha_, beta_, Exception, fbetastar, femittance, fSigmaZ, fTimeOffset, fX0, fY0, fZ0, AlCaHLTBitMon_ParallelJobs::p, and phi_.
|
override |
|
privatedelete |
Copy constructor
|
inline |
angle between crossing plane and horizontal plane
Definition at line 76 of file BetaBoostEvtVtxGenerator.cc.
References visualization-live-secondInstance_cfg::m.
|
inline |
Definition at line 77 of file BetaBoostEvtVtxGenerator.cc.
References visualization-live-secondInstance_cfg::m.
double BetaBoostEvtVtxGenerator::BetaFunction | ( | double | z, |
double | z0 | ||
) |
beta function
Definition at line 168 of file BetaBoostEvtVtxGenerator.cc.
References fbetastar, femittance, mathSSE::sqrt(), z, and HLTMuonOfflineAnalyzer_cfi::z0.
Referenced by newVertex().
|
inline |
set beta_star
Definition at line 80 of file BetaBoostEvtVtxGenerator.cc.
References visualization-live-secondInstance_cfg::m.
|
inline |
emittance (no the normalized)
Definition at line 82 of file BetaBoostEvtVtxGenerator.cc.
References visualization-live-secondInstance_cfg::m.
|
virtual |
Definition at line 181 of file BetaBoostEvtVtxGenerator.cc.
References alpha_, beta_, boost_, funct::cos(), phi_, funct::sin(), mathSSE::sqrt(), funct::tan(), and verbosity_.
Referenced by produce().
|
virtual |
return a new event vertex
Definition at line 142 of file BetaBoostEvtVtxGenerator.cc.
References BetaFunction(), fSigmaZ, fTimeOffset, fVertex, fX0, fY0, fZ0, mathSSE::sqrt(), X, DOFs::Y, and DOFs::Z.
Referenced by produce().
|
privatedelete |
Copy assignment operator
|
inline |
set half crossing angle
Definition at line 74 of file BetaBoostEvtVtxGenerator.cc.
References visualization-live-secondInstance_cfg::m.
|
overridevirtual |
Implements edm::EDProducer.
Definition at line 244 of file BetaBoostEvtVtxGenerator.cc.
References Exception, edm::Event::getByToken(), edm::RandomNumberGenerator::getEngine(), edm::HepMCProduct::GetEvent(), GetInvLorentzBoost(), edm::Service< T >::isAvailable(), eostools::move(), newVertex(), edm::Event::put(), sourceLabel, and edm::Event::streamID().
void BetaBoostEvtVtxGenerator::sigmaZ | ( | double | s = 1.0 | ) |
set resolution in Z in cm
Definition at line 172 of file BetaBoostEvtVtxGenerator.cc.
References Exception, fSigmaZ, and alignCSCRings::s.
|
inline |
set mean in X in cm
Definition at line 67 of file BetaBoostEvtVtxGenerator.cc.
References visualization-live-secondInstance_cfg::m.
|
inline |
set mean in Y in cm
Definition at line 69 of file BetaBoostEvtVtxGenerator.cc.
References visualization-live-secondInstance_cfg::m.
|
inline |
set mean in Z in cm
Definition at line 71 of file BetaBoostEvtVtxGenerator.cc.
References visualization-live-secondInstance_cfg::m.
|
private |
Definition at line 93 of file BetaBoostEvtVtxGenerator.cc.
Referenced by BetaBoostEvtVtxGenerator(), and GetInvLorentzBoost().
|
private |
Definition at line 95 of file BetaBoostEvtVtxGenerator.cc.
Referenced by BetaBoostEvtVtxGenerator(), and GetInvLorentzBoost().
|
private |
Definition at line 103 of file BetaBoostEvtVtxGenerator.cc.
Referenced by GetInvLorentzBoost(), and ~BetaBoostEvtVtxGenerator().
|
private |
Definition at line 100 of file BetaBoostEvtVtxGenerator.cc.
|
private |
Definition at line 99 of file BetaBoostEvtVtxGenerator.cc.
Referenced by BetaBoostEvtVtxGenerator(), and BetaFunction().
|
private |
Definition at line 99 of file BetaBoostEvtVtxGenerator.cc.
Referenced by BetaBoostEvtVtxGenerator(), and BetaFunction().
|
private |
Definition at line 97 of file BetaBoostEvtVtxGenerator.cc.
Referenced by BetaBoostEvtVtxGenerator(), newVertex(), and sigmaZ().
|
private |
Definition at line 104 of file BetaBoostEvtVtxGenerator.cc.
Referenced by BetaBoostEvtVtxGenerator(), and newVertex().
|
private |
Definition at line 102 of file BetaBoostEvtVtxGenerator.cc.
Referenced by newVertex(), and ~BetaBoostEvtVtxGenerator().
|
private |
Definition at line 96 of file BetaBoostEvtVtxGenerator.cc.
Referenced by BetaBoostEvtVtxGenerator(), and newVertex().
|
private |
Definition at line 96 of file BetaBoostEvtVtxGenerator.cc.
Referenced by BetaBoostEvtVtxGenerator(), and newVertex().
|
private |
Definition at line 96 of file BetaBoostEvtVtxGenerator.cc.
Referenced by BetaBoostEvtVtxGenerator(), and newVertex().
|
private |
Definition at line 93 of file BetaBoostEvtVtxGenerator.cc.
Referenced by BetaBoostEvtVtxGenerator(), and GetInvLorentzBoost().
|
private |
Definition at line 106 of file BetaBoostEvtVtxGenerator.cc.
Referenced by produce().
|
private |
Definition at line 108 of file BetaBoostEvtVtxGenerator.cc.
Referenced by GetInvLorentzBoost().