![]() |
![]() |
#include <BetafuncEvtVtxGenerator.h>
Public Member Functions | |
void | Alpha (double m=0) |
angle between crossing plane and horizontal plane More... | |
BetafuncEvtVtxGenerator (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 () |
return a new event vertex More... | |
void | Phi (double m=0) |
set half crossing angle More... | |
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... | |
virtual | ~BetafuncEvtVtxGenerator () |
![]() | |
BaseEvtVtxGenerator (const edm::ParameterSet &) | |
virtual HepMC::FourVector * | lastVertex () |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
virtual | ~BaseEvtVtxGenerator () |
![]() | |
EDProducer () | |
virtual | ~EDProducer () |
![]() | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
boost::function< void(const BranchDescription &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Private Member Functions | |
BetafuncEvtVtxGenerator (const BetafuncEvtVtxGenerator &p) | |
BetafuncEvtVtxGenerator & | operator= (const BetafuncEvtVtxGenerator &rhs) |
Private Attributes | |
double | alpha_ |
double | falpha |
double | fbetastar |
double | femittance |
CLHEP::RandGaussQ * | fRandom |
double | fSigmaZ |
double | fTimeOffset |
double | fX0 |
double | fY0 |
double | fZ0 |
double | phi_ |
Additional Inherited Members | |
![]() | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
![]() | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
![]() | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
![]() | |
CLHEP::HepRandomEngine & | getEngine () |
![]() | |
CurrentProcessingContext const * | currentContext () const |
![]() | |
template<class TProducer , class TMethod > | |
void | callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod) |
![]() | |
TMatrixD * | boost_ |
double | fTimeOffset |
HepMC::FourVector * | fVertex |
Definition at line 29 of file BetafuncEvtVtxGenerator.h.
BetafuncEvtVtxGenerator::BetafuncEvtVtxGenerator | ( | const edm::ParameterSet & | p | ) |
Definition at line 36 of file BetafuncEvtVtxGenerator.cc.
References alpha_, edm::hlt::Exception, fbetastar, femittance, fRandom, fSigmaZ, fTimeOffset, fX0, fY0, fZ0, BaseEvtVtxGenerator::getEngine(), edm::ParameterSet::getParameter(), and phi_.
|
virtual |
|
private |
Copy constructor
|
inline |
angle between crossing plane and horizontal plane
Definition at line 55 of file BetafuncEvtVtxGenerator.h.
double BetafuncEvtVtxGenerator::BetaFunction | ( | double | z, |
double | z0 | ||
) |
beta function
Definition at line 95 of file BetafuncEvtVtxGenerator.cc.
References fbetastar, femittance, and mathSSE::sqrt().
Referenced by newVertex().
|
inline |
|
inline |
emittance (no the normalized)
Definition at line 60 of file BetafuncEvtVtxGenerator.h.
References femittance, and m.
|
virtual |
Implements BaseEvtVtxGenerator.
Definition at line 114 of file BetafuncEvtVtxGenerator.cc.
References alpha_, BaseEvtVtxGenerator::boost_, funct::cos(), phi_, funct::sin(), and funct::tan().
|
virtual |
return a new event vertex
Implements BaseEvtVtxGenerator.
Definition at line 68 of file BetafuncEvtVtxGenerator.cc.
References BetaFunction(), fRandom, fSigmaZ, fTimeOffset, BaseEvtVtxGenerator::fVertex, fX0, fY0, fZ0, mathSSE::sqrt(), X, and Gflash::Z.
|
private |
Copy assignment operator
|
inline |
void BetafuncEvtVtxGenerator::sigmaZ | ( | double | s = 1.0 | ) |
set resolution in Z in cm
Definition at line 102 of file BetafuncEvtVtxGenerator.cc.
References edm::hlt::Exception, fSigmaZ, and asciidump::s.
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 73 of file BetafuncEvtVtxGenerator.h.
Referenced by Alpha(), BetafuncEvtVtxGenerator(), and GetInvLorentzBoost().
|
private |
Definition at line 80 of file BetafuncEvtVtxGenerator.h.
|
private |
Definition at line 79 of file BetafuncEvtVtxGenerator.h.
Referenced by BetafuncEvtVtxGenerator(), BetaFunction(), and betastar().
|
private |
Definition at line 79 of file BetafuncEvtVtxGenerator.h.
Referenced by BetafuncEvtVtxGenerator(), BetaFunction(), and emittance().
|
private |
Definition at line 83 of file BetafuncEvtVtxGenerator.h.
Referenced by BetafuncEvtVtxGenerator(), newVertex(), and ~BetafuncEvtVtxGenerator().
|
private |
Definition at line 77 of file BetafuncEvtVtxGenerator.h.
Referenced by BetafuncEvtVtxGenerator(), newVertex(), and sigmaZ().
|
private |
Definition at line 81 of file BetafuncEvtVtxGenerator.h.
Referenced by BetafuncEvtVtxGenerator(), and newVertex().
|
private |
Definition at line 76 of file BetafuncEvtVtxGenerator.h.
Referenced by BetafuncEvtVtxGenerator(), newVertex(), and X0().
|
private |
Definition at line 76 of file BetafuncEvtVtxGenerator.h.
Referenced by BetafuncEvtVtxGenerator(), newVertex(), and Y0().
|
private |
Definition at line 76 of file BetafuncEvtVtxGenerator.h.
Referenced by BetafuncEvtVtxGenerator(), newVertex(), and Z0().
|
private |
Definition at line 73 of file BetafuncEvtVtxGenerator.h.
Referenced by BetafuncEvtVtxGenerator(), GetInvLorentzBoost(), and Phi().