#include <BeamProfileVtxGenerator.h>
Public Member Functions | |
void | beamPos (double m=0) |
set mean in Z in cm More... | |
BeamProfileVtxGenerator (const edm::ParameterSet &p) | |
BeamProfileVtxGenerator (const BeamProfileVtxGenerator &p)=delete | |
void | eta (double m=0) |
set eta More... | |
TMatrixD const * | GetInvLorentzBoost () const override |
void | meanX (double m=0) |
set mean in X in cm More... | |
void | meanY (double m=0) |
set mean in Y in cm More... | |
HepMC::FourVector | newVertex (CLHEP::HepRandomEngine *) const override |
return a new event vertex More... | |
BeamProfileVtxGenerator & | operator= (const BeamProfileVtxGenerator &rhs)=delete |
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... | |
~BeamProfileVtxGenerator () override | |
Public Member Functions inherited from BaseEvtVtxGenerator | |
BaseEvtVtxGenerator (const edm::ParameterSet &) | |
void | produce (edm::Event &, const edm::EventSetup &) override |
~BaseEvtVtxGenerator () override | |
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 | |
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::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 19 of file BeamProfileVtxGenerator.h.
BeamProfileVtxGenerator::BeamProfileVtxGenerator | ( | const edm::ParameterSet & | p | ) |
Definition at line 19 of file BeamProfileVtxGenerator.cc.
References beamPos(), eta(), fdistn, fEta, ffile, geometryDiff::file, fMeanX, fMeanY, fMeanZ, fPhi, fPsi, fSigmaX, fSigmaY, fTheta, fTimeOffset, fType, mps_fire::i, recoMuon::in, dqmdumpme::last, meanX(), meanY(), nBinx, nBiny, AlCaHLTBitMon_ParallelJobs::p, phi(), psi(), setType(), sigmaX(), sigmaY(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
delete |
Copy constructor
|
override |
Definition at line 77 of file BeamProfileVtxGenerator.cc.
|
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 179 of file BeamProfileVtxGenerator.cc.
References JetChargeProducer_cfi::exp, fEta, fTheta, and alignCSCRings::s.
Referenced by Particle.Particle::__str__(), BeamProfileVtxGenerator(), Jet.Jet::jetID(), and Jet.Jet::puJetId().
|
inlineoverridevirtual |
This method - and the comment - is a left-over from COBRA-OSCAR time : return the last generated event vertex. If no vertex has been generated yet, a NULL pointer is returned.
Implements BaseEvtVtxGenerator.
Definition at line 32 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().
|
overridevirtual |
return a new event vertex
Implements BaseEvtVtxGenerator.
Definition at line 80 of file BeamProfileVtxGenerator.cc.
References funct::cos(), fdistn, ffile, fMeanX, fMeanY, fMeanZ, fPhi, fPsi, fSigmaX, fSigmaY, fTheta, fTimeOffset, fType, mps_fire::i, LogDebug, M_PI, nBinx, nBiny, MetAnalyzer::pv(), diffTwoXMLs::r1, and funct::sin().
|
delete |
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__(), BeamProfileVtxGenerator(), and ntupleDataFormat.Track::phiPull().
|
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 184 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 159 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 169 of file BeamProfileVtxGenerator.cc.
References fSigmaY, and alignCSCRings::s.
Referenced by BeamProfileVtxGenerator().
|
private |
Definition at line 64 of file BeamProfileVtxGenerator.h.
Referenced by BeamProfileVtxGenerator(), and newVertex().
|
private |
Definition at line 58 of file BeamProfileVtxGenerator.h.
Referenced by BeamProfileVtxGenerator(), and eta().
|
private |
Definition at line 62 of file BeamProfileVtxGenerator.h.
Referenced by BeamProfileVtxGenerator(), and newVertex().
|
private |
Definition at line 57 of file BeamProfileVtxGenerator.h.
Referenced by BeamProfileVtxGenerator(), meanX(), and newVertex().
|
private |
Definition at line 57 of file BeamProfileVtxGenerator.h.
Referenced by BeamProfileVtxGenerator(), meanY(), and newVertex().
|
private |
Definition at line 57 of file BeamProfileVtxGenerator.h.
Referenced by beamPos(), BeamProfileVtxGenerator(), and newVertex().
|
private |
Definition at line 58 of file BeamProfileVtxGenerator.h.
Referenced by BeamProfileVtxGenerator(), newVertex(), and phi().
|
private |
Definition at line 60 of file BeamProfileVtxGenerator.h.
Referenced by BeamProfileVtxGenerator(), newVertex(), and psi().
|
private |
Definition at line 56 of file BeamProfileVtxGenerator.h.
Referenced by BeamProfileVtxGenerator(), newVertex(), and sigmaX().
|
private |
Definition at line 56 of file BeamProfileVtxGenerator.h.
Referenced by BeamProfileVtxGenerator(), newVertex(), and sigmaY().
|
private |
Definition at line 58 of file BeamProfileVtxGenerator.h.
Referenced by BeamProfileVtxGenerator(), eta(), and newVertex().
|
private |
Definition at line 65 of file BeamProfileVtxGenerator.h.
Referenced by BeamProfileVtxGenerator(), and newVertex().
|
private |
Definition at line 62 of file BeamProfileVtxGenerator.h.
Referenced by BeamProfileVtxGenerator(), newVertex(), and setType().
|
private |
Definition at line 63 of file BeamProfileVtxGenerator.h.
Referenced by BeamProfileVtxGenerator(), and newVertex().
|
private |
Definition at line 63 of file BeamProfileVtxGenerator.h.
Referenced by BeamProfileVtxGenerator(), and newVertex().