CMS 3D CMS Logo

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

#include <SimBeamSpotHLLHCObjects.h>

Public Member Functions

double betaCrossingPlane () const
 get BetaStar and Emittance More...
 
double betaSeparationPlane () const
 
double bunchLenght () const
 get BunchLength and TimeOffset More...
 
double crabbingAngleCrossing () const
 
double crabbingAngleSeparation () const
 
double crabFrequency () const
 
double crossingAngle () const
 set Crossing and Crabbing angles More...
 
double eProton () const
 get EProton, fCrabFrequency, RF800 More...
 
double horizontalEmittance () const
 
double meanX () const
 get meanX, meanY, meanZ position More...
 
double meanY () const
 
double meanZ () const
 
void print (std::stringstream &ss) const
 print sim beam spot parameters More...
 
double rf800 () const
 
void setBetaCrossingPlane (double val)
 set BetaStar and Emittance More...
 
void setBetaSeparationPlane (double val)
 
void setBunchLength (double val)
 set BunchLength and TimeOffset More...
 
void setCrabbingAngleCrossing (double val)
 
void setCrabbingAngleSeparation (double val)
 
void setCrabFrequency (double val)
 
void setCrossingAngle (double val)
 set Crossing and Crabbing angles More...
 
void setEProton (double val)
 set EProton, fCrabFrequency, RF800 More...
 
void setHorizontalEmittance (double val)
 
void setMeanX (double val)
 set meanX, meanY, meanZ More...
 
void setMeanY (double val)
 
void setMeanZ (double val)
 
void setRF800 (double val)
 
void setTimeOffset (double val)
 
void setVerticalEmittance (double val)
 
 SimBeamSpotHLLHCObjects ()
 default constructor More...
 
double timeOffset () const
 
double verticalEmittance () const
 
virtual ~SimBeamSpotHLLHCObjects ()
 

Private Member Functions

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

Private Attributes

double fBetaCrossingPlane
 
double fBetaSeparationPlane
 
double fBunchLength
 
double fCrabbingAngleCrossing
 
double fCrabbingAngleSeparation
 
double fCrabFrequency
 
double fCrossingAngle
 
double fEProton
 
double fHorizontalEmittance
 
double fMeanX
 
double fMeanY
 
double fMeanZ
 
double fRF800
 
double fTimeOffset
 
double fVerticalEmittance
 

Friends

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

Detailed Description

Provide the vertex smearing parameters from DB

This Object contains the parameters needed by the HLLHCEvtVtxGenerator generator: Parameters used:

Definition at line 25 of file SimBeamSpotHLLHCObjects.h.

Constructor & Destructor Documentation

◆ SimBeamSpotHLLHCObjects()

SimBeamSpotHLLHCObjects::SimBeamSpotHLLHCObjects ( )
inline

default constructor

Definition at line 28 of file SimBeamSpotHLLHCObjects.h.

References fBetaCrossingPlane, fBetaSeparationPlane, fBunchLength, fCrabbingAngleCrossing, fCrabbingAngleSeparation, fCrabFrequency, fCrossingAngle, fEProton, fHorizontalEmittance, fMeanX, fMeanY, fMeanZ, fRF800, fTimeOffset, and fVerticalEmittance.

28  {
29  fMeanX = 0.0;
30  fMeanY = 0.0;
31  fMeanZ = 0.0;
32  fEProton = 0.0;
33  fCrabFrequency = 0.0;
34  fRF800 = 0.0;
35  fCrossingAngle = 0.0;
38  fBetaCrossingPlane = 0.0;
41  fVerticalEmittance = 0.0;
42  fBunchLength = 0.0;
43  fTimeOffset = 0.0;
44  };

◆ ~SimBeamSpotHLLHCObjects()

virtual SimBeamSpotHLLHCObjects::~SimBeamSpotHLLHCObjects ( )
inlinevirtual

Definition at line 46 of file SimBeamSpotHLLHCObjects.h.

46 {}

Member Function Documentation

◆ betaCrossingPlane()

double SimBeamSpotHLLHCObjects::betaCrossingPlane ( ) const
inline

get BetaStar and Emittance

Definition at line 82 of file SimBeamSpotHLLHCObjects.h.

References fBetaCrossingPlane.

Referenced by BeamProfileHLLHC2DBReader::analyze(), print(), and HLLHCEvtVtxGenerator::update().

◆ betaSeparationPlane()

double SimBeamSpotHLLHCObjects::betaSeparationPlane ( ) const
inline

◆ bunchLenght()

double SimBeamSpotHLLHCObjects::bunchLenght ( ) const
inline

get BunchLength and TimeOffset

Definition at line 87 of file SimBeamSpotHLLHCObjects.h.

References fBunchLength.

Referenced by BeamProfileHLLHC2DBReader::analyze(), print(), and HLLHCEvtVtxGenerator::update().

◆ crabbingAngleCrossing()

double SimBeamSpotHLLHCObjects::crabbingAngleCrossing ( ) const
inline

◆ crabbingAngleSeparation()

double SimBeamSpotHLLHCObjects::crabbingAngleSeparation ( ) const
inline

◆ crabFrequency()

double SimBeamSpotHLLHCObjects::crabFrequency ( ) const
inline

◆ crossingAngle()

double SimBeamSpotHLLHCObjects::crossingAngle ( ) const
inline

set Crossing and Crabbing angles

Definition at line 78 of file SimBeamSpotHLLHCObjects.h.

References fCrossingAngle.

Referenced by BeamProfileHLLHC2DBReader::analyze(), print(), and HLLHCEvtVtxGenerator::update().

◆ eProton()

double SimBeamSpotHLLHCObjects::eProton ( ) const
inline

get EProton, fCrabFrequency, RF800

Definition at line 74 of file SimBeamSpotHLLHCObjects.h.

References fEProton.

Referenced by BeamProfileHLLHC2DBReader::analyze(), print(), and HLLHCEvtVtxGenerator::update().

◆ horizontalEmittance()

double SimBeamSpotHLLHCObjects::horizontalEmittance ( ) const
inline

◆ meanX()

double SimBeamSpotHLLHCObjects::meanX ( ) const
inline

get meanX, meanY, meanZ position

Definition at line 70 of file SimBeamSpotHLLHCObjects.h.

References fMeanX.

Referenced by BeamProfileHLLHC2DBReader::analyze(), print(), and HLLHCEvtVtxGenerator::update().

◆ meanY()

double SimBeamSpotHLLHCObjects::meanY ( ) const
inline

◆ meanZ()

double SimBeamSpotHLLHCObjects::meanZ ( ) const
inline

◆ print()

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

print sim beam spot parameters

Definition at line 5 of file SimBeamSpotHLLHCObjects.cc.

References betaCrossingPlane(), betaSeparationPlane(), bunchLenght(), crabbingAngleCrossing(), crabbingAngleSeparation(), crabFrequency(), crossingAngle(), eProton(), horizontalEmittance(), meanX(), meanY(), meanZ(), rf800(), contentValuesCheck::ss, timeOffset(), and verticalEmittance().

5  {
6  ss << "------------------------------------------------------------------------\n"
7  << " Sim Beam Spot HL LHC Data\n\n"
8  << " MeanX = " << meanX() << " [cm]\n"
9  << " MeanY = " << meanY() << " [cm]\n"
10  << " MeanZ = " << meanZ() << " [cm]\n"
11  << " E Proton = " << eProton() << " [GeV]\n"
12  << " Crab Frequency = " << crabFrequency() << " [MHz]\n"
13  << " 800 MHz RF ? " << rf800() << "\n"
14  << " Crossing Angle = " << crossingAngle() << " [urad]\n"
15  << " Crabbing Angle Crossing = " << crabbingAngleCrossing() << " [urad]\n"
16  << " Crabbing Angle Separation = " << crabbingAngleSeparation() << " [urad]\n"
17  << " Beta Crossing Plane = " << betaCrossingPlane() << " [m]\n"
18  << " Beta Separation Plane = " << betaSeparationPlane() << " [m]\n"
19  << " Horizontal Emittance = " << horizontalEmittance() << " [mm]\n"
20  << " Vertical Emittance = " << verticalEmittance() << " [mm]\n"
21  << " Bunch Lenght = " << bunchLenght() << " [m]\n"
22  << " TimeOffset = " << timeOffset() << " [ns]\n"
23  << "------------------------------------------------------------------------\n\n";
24 }
double eProton() const
get EProton, fCrabFrequency, RF800
double meanX() const
get meanX, meanY, meanZ position
double crossingAngle() const
set Crossing and Crabbing angles
double betaCrossingPlane() const
get BetaStar and Emittance
double bunchLenght() const
get BunchLength and TimeOffset

◆ rf800()

double SimBeamSpotHLLHCObjects::rf800 ( ) const
inline

◆ serialize()

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

◆ setBetaCrossingPlane()

void SimBeamSpotHLLHCObjects::setBetaCrossingPlane ( double  val)
inline

◆ setBetaSeparationPlane()

void SimBeamSpotHLLHCObjects::setBetaSeparationPlane ( double  val)
inline

◆ setBunchLength()

void SimBeamSpotHLLHCObjects::setBunchLength ( double  val)
inline

set BunchLength and TimeOffset

Definition at line 66 of file SimBeamSpotHLLHCObjects.h.

References fBunchLength, and heppy_batch::val.

Referenced by BeamProfileHLLHC2DBWriter::BeamProfileHLLHC2DBWriter().

◆ setCrabbingAngleCrossing()

void SimBeamSpotHLLHCObjects::setCrabbingAngleCrossing ( double  val)
inline

◆ setCrabbingAngleSeparation()

void SimBeamSpotHLLHCObjects::setCrabbingAngleSeparation ( double  val)
inline

◆ setCrabFrequency()

void SimBeamSpotHLLHCObjects::setCrabFrequency ( double  val)
inline

◆ setCrossingAngle()

void SimBeamSpotHLLHCObjects::setCrossingAngle ( double  val)
inline

set Crossing and Crabbing angles

Definition at line 57 of file SimBeamSpotHLLHCObjects.h.

References fCrossingAngle, and heppy_batch::val.

Referenced by BeamProfileHLLHC2DBWriter::BeamProfileHLLHC2DBWriter().

◆ setEProton()

void SimBeamSpotHLLHCObjects::setEProton ( double  val)
inline

set EProton, fCrabFrequency, RF800

Definition at line 53 of file SimBeamSpotHLLHCObjects.h.

References fEProton, and heppy_batch::val.

Referenced by BeamProfileHLLHC2DBWriter::BeamProfileHLLHC2DBWriter().

◆ setHorizontalEmittance()

void SimBeamSpotHLLHCObjects::setHorizontalEmittance ( double  val)
inline

◆ setMeanX()

void SimBeamSpotHLLHCObjects::setMeanX ( double  val)
inline

set meanX, meanY, meanZ

Definition at line 49 of file SimBeamSpotHLLHCObjects.h.

References fMeanX, and heppy_batch::val.

Referenced by BeamProfileHLLHC2DBWriter::BeamProfileHLLHC2DBWriter().

◆ setMeanY()

void SimBeamSpotHLLHCObjects::setMeanY ( double  val)
inline

◆ setMeanZ()

void SimBeamSpotHLLHCObjects::setMeanZ ( double  val)
inline

◆ setRF800()

void SimBeamSpotHLLHCObjects::setRF800 ( double  val)
inline

◆ setTimeOffset()

void SimBeamSpotHLLHCObjects::setTimeOffset ( double  val)
inline

◆ setVerticalEmittance()

void SimBeamSpotHLLHCObjects::setVerticalEmittance ( double  val)
inline

◆ timeOffset()

double SimBeamSpotHLLHCObjects::timeOffset ( ) const
inline

◆ verticalEmittance()

double SimBeamSpotHLLHCObjects::verticalEmittance ( ) const
inline

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 101 of file SimBeamSpotHLLHCObjects.h.

◆ cond::serialization::access

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

Definition at line 101 of file SimBeamSpotHLLHCObjects.h.

Member Data Documentation

◆ fBetaCrossingPlane

double SimBeamSpotHLLHCObjects::fBetaCrossingPlane
private

◆ fBetaSeparationPlane

double SimBeamSpotHLLHCObjects::fBetaSeparationPlane
private

◆ fBunchLength

double SimBeamSpotHLLHCObjects::fBunchLength
private

Definition at line 99 of file SimBeamSpotHLLHCObjects.h.

Referenced by bunchLenght(), setBunchLength(), and SimBeamSpotHLLHCObjects().

◆ fCrabbingAngleCrossing

double SimBeamSpotHLLHCObjects::fCrabbingAngleCrossing
private

◆ fCrabbingAngleSeparation

double SimBeamSpotHLLHCObjects::fCrabbingAngleSeparation
private

◆ fCrabFrequency

double SimBeamSpotHLLHCObjects::fCrabFrequency
private

◆ fCrossingAngle

double SimBeamSpotHLLHCObjects::fCrossingAngle
private

◆ fEProton

double SimBeamSpotHLLHCObjects::fEProton
private

Definition at line 95 of file SimBeamSpotHLLHCObjects.h.

Referenced by eProton(), setEProton(), and SimBeamSpotHLLHCObjects().

◆ fHorizontalEmittance

double SimBeamSpotHLLHCObjects::fHorizontalEmittance
private

◆ fMeanX

double SimBeamSpotHLLHCObjects::fMeanX
private

Definition at line 94 of file SimBeamSpotHLLHCObjects.h.

Referenced by meanX(), setMeanX(), and SimBeamSpotHLLHCObjects().

◆ fMeanY

double SimBeamSpotHLLHCObjects::fMeanY
private

Definition at line 94 of file SimBeamSpotHLLHCObjects.h.

Referenced by meanY(), setMeanY(), and SimBeamSpotHLLHCObjects().

◆ fMeanZ

double SimBeamSpotHLLHCObjects::fMeanZ
private

Definition at line 94 of file SimBeamSpotHLLHCObjects.h.

Referenced by meanZ(), setMeanZ(), and SimBeamSpotHLLHCObjects().

◆ fRF800

double SimBeamSpotHLLHCObjects::fRF800
private

Definition at line 95 of file SimBeamSpotHLLHCObjects.h.

Referenced by rf800(), setRF800(), and SimBeamSpotHLLHCObjects().

◆ fTimeOffset

double SimBeamSpotHLLHCObjects::fTimeOffset
private

Definition at line 99 of file SimBeamSpotHLLHCObjects.h.

Referenced by setTimeOffset(), SimBeamSpotHLLHCObjects(), and timeOffset().

◆ fVerticalEmittance

double SimBeamSpotHLLHCObjects::fVerticalEmittance
private