CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes | Private Member Functions | Friends
SimBeamSpotObjects Class Reference

#include <SimBeamSpotObjects.h>

Public Member Functions

void print (std::stringstream &ss) const
 
void read (edm::ParameterSet &p)
 
 SimBeamSpotObjects ()
 
virtual ~SimBeamSpotObjects ()
 

Public Attributes

double fAlpha
 
double fbetastar
 
double femittance
 
double fPhi
 
double fSigmaZ
 
double fTimeOffset
 
double fX0
 
double fY0
 
double fZ0
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

Detailed Description

provide the vertex smearing parameters from DB

Definition at line 18 of file SimBeamSpotObjects.h.

Constructor & Destructor Documentation

◆ SimBeamSpotObjects()

SimBeamSpotObjects::SimBeamSpotObjects ( )
inline

Definition at line 20 of file SimBeamSpotObjects.h.

20 {};

◆ ~SimBeamSpotObjects()

virtual SimBeamSpotObjects::~SimBeamSpotObjects ( )
inlinevirtual

Definition at line 21 of file SimBeamSpotObjects.h.

21 {};

Member Function Documentation

◆ print()

void SimBeamSpotObjects::print ( std::stringstream &  ss) const

Definition at line 5 of file SimBeamSpotObjects.cc.

5  {
6  ss << "-----------------------------------------------------\n" << fX0 << std::endl;
7 }

References fX0, and contentValuesCheck::ss.

◆ read()

void SimBeamSpotObjects::read ( edm::ParameterSet p)
inline

Definition at line 31 of file SimBeamSpotObjects.h.

31  {
32  fX0 = p.getParameter<double>("X0") * cm;
33  fY0 = p.getParameter<double>("Y0") * cm;
34  fZ0 = p.getParameter<double>("Z0") * cm;
35  fSigmaZ = p.getParameter<double>("SigmaZ") * cm;
36  fAlpha = p.getParameter<double>("Alpha") * radian;
37  fPhi = p.getParameter<double>("Phi") * radian;
38  fbetastar = p.getParameter<double>("BetaStar") * cm;
39  femittance = p.getParameter<double>("Emittance") * cm; // this is not the normalized emittance
40  fTimeOffset = p.getParameter<double>("TimeOffset") * ns * c_light; // HepMC time units are mm
41  }

References fAlpha, fbetastar, femittance, fPhi, fSigmaZ, fTimeOffset, fX0, fY0, fZ0, and AlCaHLTBitMon_ParallelJobs::p.

Referenced by edmIntegrityCheck.PublishToFileSystem::get().

◆ serialize()

template<class Archive >
void SimBeamSpotObjects::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 43 of file SimBeamSpotObjects.h.

◆ cond::serialization::access

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 43 of file SimBeamSpotObjects.h.

Member Data Documentation

◆ fAlpha

double SimBeamSpotObjects::fAlpha

Definition at line 26 of file SimBeamSpotObjects.h.

Referenced by read(), and BetafuncEvtVtxGenerator::update().

◆ fbetastar

double SimBeamSpotObjects::fbetastar

Definition at line 25 of file SimBeamSpotObjects.h.

Referenced by read(), and BetafuncEvtVtxGenerator::update().

◆ femittance

double SimBeamSpotObjects::femittance

Definition at line 25 of file SimBeamSpotObjects.h.

Referenced by read(), and BetafuncEvtVtxGenerator::update().

◆ fPhi

double SimBeamSpotObjects::fPhi

Definition at line 26 of file SimBeamSpotObjects.h.

Referenced by read(), and BetafuncEvtVtxGenerator::update().

◆ fSigmaZ

double SimBeamSpotObjects::fSigmaZ

Definition at line 24 of file SimBeamSpotObjects.h.

Referenced by read(), and BetafuncEvtVtxGenerator::update().

◆ fTimeOffset

double SimBeamSpotObjects::fTimeOffset

Definition at line 27 of file SimBeamSpotObjects.h.

Referenced by read(), and BetafuncEvtVtxGenerator::update().

◆ fX0

double SimBeamSpotObjects::fX0

Definition at line 21 of file SimBeamSpotObjects.h.

Referenced by print(), read(), and BetafuncEvtVtxGenerator::update().

◆ fY0

double SimBeamSpotObjects::fY0

Definition at line 21 of file SimBeamSpotObjects.h.

Referenced by read(), and BetafuncEvtVtxGenerator::update().

◆ fZ0

double SimBeamSpotObjects::fZ0

Definition at line 21 of file SimBeamSpotObjects.h.

Referenced by read(), and BetafuncEvtVtxGenerator::update().

SimBeamSpotObjects::fTimeOffset
double fTimeOffset
Definition: SimBeamSpotObjects.h:27
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
SimBeamSpotObjects::fX0
double fX0
Definition: SimBeamSpotObjects.h:21
SimBeamSpotObjects::fY0
double fY0
Definition: SimBeamSpotObjects.h:21
SimBeamSpotObjects::femittance
double femittance
Definition: SimBeamSpotObjects.h:25
contentValuesCheck.ss
ss
Definition: contentValuesCheck.py:33
SimBeamSpotObjects::fbetastar
double fbetastar
Definition: SimBeamSpotObjects.h:25
SimBeamSpotObjects::fSigmaZ
double fSigmaZ
Definition: SimBeamSpotObjects.h:24
SimBeamSpotObjects::fAlpha
double fAlpha
Definition: SimBeamSpotObjects.h:26
SimBeamSpotObjects::fPhi
double fPhi
Definition: SimBeamSpotObjects.h:26
SimBeamSpotObjects::fZ0
double fZ0
Definition: SimBeamSpotObjects.h:21