#include <BeamProfileVtxGenerator.h>
Public Member Functions | |
void | beamPos (double m=0) |
set mean in Z in cm More... | |
BeamProfileVtxGenerator (const edm::ParameterSet &p) | |
void | eta (double m=0) |
set eta More... | |
virtual TMatrixD * | GetInvLorentzBoost () |
void | meanX (double m=0) |
set mean in X in cm More... | |
void | meanY (double m=0) |
set mean in Y in cm More... | |
virtual HepMC::FourVector * | newVertex (CLHEP::HepRandomEngine *) |
return a new event vertex More... | |
void | phi (double m=0) |
set phi in radian More... | |
void | psi (double m=999) |
set psi in radian More... | |
void | setType (bool m=true) |
set type More... | |
void | sigmaX (double s=1.0) |
set resolution in X in cm More... | |
void | sigmaY (double s=1.0) |
set resolution in Y in cm More... | |
virtual | ~BeamProfileVtxGenerator () |
Public Member Functions inherited from BaseEvtVtxGenerator | |
BaseEvtVtxGenerator (const edm::ParameterSet &) | |
virtual HepMC::FourVector * | lastVertex () |
virtual void | produce (edm::Event &, const edm::EventSetup &) override |
virtual | ~BaseEvtVtxGenerator () |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
BeamProfileVtxGenerator (const BeamProfileVtxGenerator &p) | |
BeamProfileVtxGenerator & | operator= (const BeamProfileVtxGenerator &rhs) |
Private Attributes | |
std::vector< double > | fdistn |
double | fEta |
bool | ffile |
double | fMeanX |
double | fMeanY |
double | fMeanZ |
double | fPhi |
double | fPsi |
double | fSigmaX |
double | fSigmaY |
double | fTheta |
double | fTimeOffset |
bool | fType |
int | nBinx |
int | nBiny |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
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) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
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 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) |
Protected Attributes inherited from BaseEvtVtxGenerator | |
TMatrixD * | boost_ |
double | fTimeOffset |
HepMC::FourVector * | fVertex |
Definition at line 19 of file BeamProfileVtxGenerator.h.
BeamProfileVtxGenerator::BeamProfileVtxGenerator | ( | const edm::ParameterSet & | p | ) |
Definition at line 19 of file BeamProfileVtxGenerator.cc.
References beamPos(), HTMLExport::elem(), eta(), fdistn, fEta, ffile, mergeVDriftHistosByStation::file, fMeanX, fMeanY, fMeanZ, fPhi, fPsi, fSigmaX, fSigmaY, fTheta, fTimeOffset, fType, edm::ParameterSet::getParameter(), i, recoMuon::in, plotBeamSpotDB::last, meanX(), meanY(), nBinx, nBiny, phi(), psi(), setType(), sigmaX(), sigmaY(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
Definition at line 84 of file BeamProfileVtxGenerator.cc.
|
private |
Copy constructor
|
inline |
set mean in Z in cm
Definition at line 44 of file BeamProfileVtxGenerator.h.
References fMeanZ, and visualization-live-secondInstance_cfg::m.
Referenced by BeamProfileVtxGenerator().
void BeamProfileVtxGenerator::eta | ( | double | m = 0 | ) |
set eta
Definition at line 195 of file BeamProfileVtxGenerator.cc.
References create_public_lumi_plots::exp, fEta, fTheta, and alignCSCRings::s.
Referenced by Particle.Particle::__str__(), BeamProfileVtxGenerator(), Jet.Jet::jetID(), and Jet.Jet::puJetId().
|
inlinevirtual |
Implements BaseEvtVtxGenerator.
Definition at line 29 of file BeamProfileVtxGenerator.h.
|
inline |
set mean in X in cm
Definition at line 40 of file BeamProfileVtxGenerator.h.
References fMeanX, and visualization-live-secondInstance_cfg::m.
Referenced by BeamProfileVtxGenerator().
|
inline |
set mean in Y in cm
Definition at line 42 of file BeamProfileVtxGenerator.h.
References fMeanY, and visualization-live-secondInstance_cfg::m.
Referenced by BeamProfileVtxGenerator().
|
virtual |
return a new event vertex
Implements BaseEvtVtxGenerator.
Definition at line 89 of file BeamProfileVtxGenerator.cc.
References funct::cos(), fdistn, ffile, fMeanX, fMeanY, fMeanZ, fPhi, fPsi, fSigmaX, fSigmaY, fTheta, fTimeOffset, fType, BaseEvtVtxGenerator::fVertex, i, LogDebug, M_PI, nBinx, nBiny, MetAnalyzer::pv(), diffTwoXMLs::r1, and funct::sin().
|
private |
Copy assignment operator
|
inline |
set phi in radian
Definition at line 49 of file BeamProfileVtxGenerator.h.
References fPhi, and visualization-live-secondInstance_cfg::m.
Referenced by Particle.Particle::__str__(), and BeamProfileVtxGenerator().
|
inline |
set psi in radian
Definition at line 51 of file BeamProfileVtxGenerator.h.
References fPsi, and visualization-live-secondInstance_cfg::m.
Referenced by BeamProfileVtxGenerator().
void BeamProfileVtxGenerator::setType | ( | bool | m = true | ) |
set type
Definition at line 200 of file BeamProfileVtxGenerator.cc.
References fType, and alignCSCRings::s.
Referenced by BeamProfileVtxGenerator().
void BeamProfileVtxGenerator::sigmaX | ( | double | s = 1.0 | ) |
set resolution in X in cm
Definition at line 171 of file BeamProfileVtxGenerator.cc.
References fSigmaX, and alignCSCRings::s.
Referenced by BeamProfileVtxGenerator().
void BeamProfileVtxGenerator::sigmaY | ( | double | s = 1.0 | ) |
set resolution in Y in cm
Definition at line 183 of file BeamProfileVtxGenerator.cc.
References fSigmaY, and alignCSCRings::s.
Referenced by BeamProfileVtxGenerator().
|
private |
Definition at line 69 of file BeamProfileVtxGenerator.h.
Referenced by BeamProfileVtxGenerator(), and newVertex().
|
private |
Definition at line 63 of file BeamProfileVtxGenerator.h.
Referenced by BeamProfileVtxGenerator(), and eta().
|
private |
Definition at line 67 of file BeamProfileVtxGenerator.h.
Referenced by BeamProfileVtxGenerator(), and newVertex().
|
private |
Definition at line 62 of file BeamProfileVtxGenerator.h.
Referenced by BeamProfileVtxGenerator(), meanX(), and newVertex().
|
private |
Definition at line 62 of file BeamProfileVtxGenerator.h.
Referenced by BeamProfileVtxGenerator(), meanY(), and newVertex().
|
private |
Definition at line 62 of file BeamProfileVtxGenerator.h.
Referenced by beamPos(), BeamProfileVtxGenerator(), and newVertex().
|
private |
Definition at line 63 of file BeamProfileVtxGenerator.h.
Referenced by BeamProfileVtxGenerator(), newVertex(), and phi().
|
private |
Definition at line 65 of file BeamProfileVtxGenerator.h.
Referenced by BeamProfileVtxGenerator(), newVertex(), and psi().
|
private |
Definition at line 61 of file BeamProfileVtxGenerator.h.
Referenced by BeamProfileVtxGenerator(), newVertex(), and sigmaX().
|
private |
Definition at line 61 of file BeamProfileVtxGenerator.h.
Referenced by BeamProfileVtxGenerator(), newVertex(), and sigmaY().
|
private |
Definition at line 63 of file BeamProfileVtxGenerator.h.
Referenced by BeamProfileVtxGenerator(), eta(), and newVertex().
|
private |
Definition at line 70 of file BeamProfileVtxGenerator.h.
Referenced by BeamProfileVtxGenerator(), and newVertex().
|
private |
Definition at line 67 of file BeamProfileVtxGenerator.h.
Referenced by BeamProfileVtxGenerator(), newVertex(), and setType().
|
private |
Definition at line 68 of file BeamProfileVtxGenerator.h.
Referenced by BeamProfileVtxGenerator(), and newVertex().
|
private |
Definition at line 68 of file BeamProfileVtxGenerator.h.
Referenced by BeamProfileVtxGenerator(), and newVertex().