CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
BeamSpotOnlineHLTRcdWriter Class Reference

#include <CondTools/BeamSpot/plugins/BeamSpotOnlineHLTRcdWriter.cc>

Inheritance diagram for BeamSpotOnlineHLTRcdWriter:
edm::one::EDAnalyzer<> edm::one::EDAnalyzerBase edm::EDConsumerBase

Public Member Functions

 BeamSpotOnlineHLTRcdWriter (const edm::ParameterSet &)
 
cond::Time_t pack (uint32_t, uint32_t)
 
 ~BeamSpotOnlineHLTRcdWriter () override
 
- Public Member Functions inherited from edm::one::EDAnalyzer<>
 EDAnalyzer ()=default
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
bool wantsInputProcessBlocks () const final
 
bool wantsProcessBlocks () const final
 
- Public Member Functions inherited from edm::one::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDAnalyzerBase () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESProxyIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 
- Static Public Member Functions inherited from edm::one::EDAnalyzerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Private Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
void beginJob () override
 
void endJob () override
 

Private Attributes

std::ifstream fasciiFile
 
std::string fasciiFileName
 
uint32_t fIOVStartLumi
 
uint32_t fIOVStartRun
 
cond::Time_t fnewSince
 
bool fuseNewSince
 

Additional Inherited Members

- Public Types inherited from edm::one::EDAnalyzerBase
typedef EDAnalyzerBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Protected Member Functions inherited from edm::EDConsumerBase
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< B > consumes (edm::InputTag tag) noexcept
 
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes () noexcept
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag) noexcept
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 

Detailed Description

Description: EDAnalyzer to read the BeamSpotOnlineHLTObjectsRcd and dump it into a txt and root file

Implementation: [Notes on implementation]

Definition at line 44 of file BeamSpotOnlineHLTRcdWriter.cc.

Constructor & Destructor Documentation

◆ BeamSpotOnlineHLTRcdWriter()

BeamSpotOnlineHLTRcdWriter::BeamSpotOnlineHLTRcdWriter ( const edm::ParameterSet iConfig)
explicit

Definition at line 70 of file BeamSpotOnlineHLTRcdWriter.cc.

70  {
71  //now do what ever initialization is needed
72  fasciiFileName = iConfig.getUntrackedParameter<std::string>("InputFileName");
73  fasciiFile.open(fasciiFileName.c_str());
74  if (iConfig.exists("IOVStartRun") && iConfig.exists("IOVStartLumi")) {
75  fIOVStartRun = iConfig.getUntrackedParameter<uint32_t>("IOVStartRun");
76  fIOVStartLumi = iConfig.getUntrackedParameter<uint32_t>("IOVStartLumi");
78  fuseNewSince = true;
79  } else {
80  fuseNewSince = false;
81  }
82 }

References edm::ParameterSet::exists(), fasciiFile, fasciiFileName, fIOVStartLumi, fIOVStartRun, fnewSince, fuseNewSince, edm::ParameterSet::getUntrackedParameter(), pack(), and AlCaHLTBitMon_QueryRunRegistry::string.

◆ ~BeamSpotOnlineHLTRcdWriter()

BeamSpotOnlineHLTRcdWriter::~BeamSpotOnlineHLTRcdWriter ( )
override

Definition at line 84 of file BeamSpotOnlineHLTRcdWriter.cc.

84  {
85  // do anything here that needs to be done at desctruction time
86  // (e.g. close files, deallocate resources etc.)
87 }

Member Function Documentation

◆ analyze()

void BeamSpotOnlineHLTRcdWriter::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
overrideprivatevirtual

Implements edm::one::EDAnalyzerBase.

Definition at line 99 of file BeamSpotOnlineHLTRcdWriter.cc.

99 {}

◆ beginJob()

void BeamSpotOnlineHLTRcdWriter::beginJob ( void  )
overrideprivatevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 102 of file BeamSpotOnlineHLTRcdWriter.cc.

102 {}

◆ endJob()

void BeamSpotOnlineHLTRcdWriter::endJob ( void  )
overrideprivatevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 105 of file BeamSpotOnlineHLTRcdWriter.cc.

105  {
106  std::cout << "Reading BeamSpotOnlineHLTRcd data from text file: " << fasciiFileName << std::endl;
107 
108  // extract from file
109  double x, y, z, sigmaZ, dxdz, dydz, beamWidthX, beamWidthY, emittanceX, emittanceY, betastar;
110  double cov[7][7];
111  int type, lastAnalyzedLumi, firstAnalyzedLumi, lastAnalyzedRun, lastAnalyzedFill;
113 
114  fasciiFile >> tag >> lastAnalyzedRun;
115  fasciiFile >> tag >> tag >> tag >> tag >> tag; // BeginTimeOfFit parsing (not used in payload)
116  fasciiFile >> tag >> tag >> tag >> tag >> tag; // EndTimeOfFit parsing (not used in payload)
117  fasciiFile >> tag >> firstAnalyzedLumi;
118  fasciiFile >> tag >> lastAnalyzedLumi;
119  fasciiFile >> tag >> type;
120  fasciiFile >> tag >> x;
121  fasciiFile >> tag >> y;
122  fasciiFile >> tag >> z;
123  fasciiFile >> tag >> sigmaZ;
124  fasciiFile >> tag >> dxdz;
125  fasciiFile >> tag >> dydz;
126  fasciiFile >> tag >> beamWidthX;
127  fasciiFile >> tag >> beamWidthY;
128  fasciiFile >> tag >> cov[0][0] >> cov[0][1] >> cov[0][2] >> cov[0][3] >> cov[0][4] >> cov[0][5] >> cov[0][6];
129  fasciiFile >> tag >> cov[1][0] >> cov[1][1] >> cov[1][2] >> cov[1][3] >> cov[1][4] >> cov[1][5] >> cov[1][6];
130  fasciiFile >> tag >> cov[2][0] >> cov[2][1] >> cov[2][2] >> cov[2][3] >> cov[2][4] >> cov[2][5] >> cov[2][6];
131  fasciiFile >> tag >> cov[3][0] >> cov[3][1] >> cov[3][2] >> cov[3][3] >> cov[3][4] >> cov[3][5] >> cov[3][6];
132  fasciiFile >> tag >> cov[4][0] >> cov[4][1] >> cov[4][2] >> cov[4][3] >> cov[4][4] >> cov[4][5] >> cov[4][6];
133  fasciiFile >> tag >> cov[5][0] >> cov[5][1] >> cov[5][2] >> cov[5][3] >> cov[5][4] >> cov[5][5] >> cov[5][6];
134  fasciiFile >> tag >> cov[6][0] >> cov[6][1] >> cov[6][2] >> cov[6][3] >> cov[6][4] >> cov[6][5] >> cov[6][6];
135  fasciiFile >> tag >> emittanceX;
136  fasciiFile >> tag >> emittanceY;
137  fasciiFile >> tag >> betastar;
138 
139  lastAnalyzedFill = -999;
140 
141  std::cout << "---- Parsed these parameters from input txt file ----" << std::endl;
142  std::cout << " lastAnalyzedRun : " << lastAnalyzedRun << std::endl;
143  std::cout << " lastAnalyzedFill : " << lastAnalyzedFill << std::endl;
144  std::cout << " firstAnalyzedLumi : " << firstAnalyzedLumi << std::endl;
145  std::cout << " lastAnalyzedLumi : " << lastAnalyzedLumi << std::endl;
146  std::cout << " type : " << type << std::endl;
147  std::cout << " x : " << x << std::endl;
148  std::cout << " y : " << y << std::endl;
149  std::cout << " z : " << z << std::endl;
150  std::cout << " sigmaZ : " << sigmaZ << std::endl;
151  std::cout << " dxdz : " << dxdz << std::endl;
152  std::cout << " dydz : " << dydz << std::endl;
153  std::cout << " beamWidthX : " << beamWidthX << std::endl;
154  std::cout << " beamWidthY : " << beamWidthY << std::endl;
155  std::cout << " Cov(0,j) : " << cov[0][0] << " " << cov[0][1] << " " << cov[0][2] << " " << cov[0][3] << " "
156  << cov[0][4] << " " << cov[0][5] << " " << cov[0][6] << std::endl;
157  std::cout << " Cov(1,j) : " << cov[1][0] << " " << cov[1][1] << " " << cov[1][2] << " " << cov[1][3] << " "
158  << cov[1][4] << " " << cov[1][5] << " " << cov[1][6] << std::endl;
159  std::cout << " Cov(2,j) : " << cov[2][0] << " " << cov[2][1] << " " << cov[2][2] << " " << cov[2][3] << " "
160  << cov[2][4] << " " << cov[2][5] << " " << cov[2][6] << std::endl;
161  std::cout << " Cov(3,j) : " << cov[3][0] << " " << cov[3][1] << " " << cov[3][2] << " " << cov[3][3] << " "
162  << cov[3][4] << " " << cov[3][5] << " " << cov[3][6] << std::endl;
163  std::cout << " Cov(4,j) : " << cov[4][0] << " " << cov[4][1] << " " << cov[4][2] << " " << cov[4][3] << " "
164  << cov[4][4] << " " << cov[4][5] << " " << cov[4][6] << std::endl;
165  std::cout << " Cov(5,j) : " << cov[5][0] << " " << cov[5][1] << " " << cov[5][2] << " " << cov[5][3] << " "
166  << cov[5][4] << " " << cov[5][5] << " " << cov[5][6] << std::endl;
167  std::cout << " Cov(6,j) : " << cov[6][0] << " " << cov[6][1] << " " << cov[6][2] << " " << cov[6][3] << " "
168  << cov[6][4] << " " << cov[6][5] << " " << cov[6][6] << std::endl;
169  std::cout << " emittanceX : " << emittanceX << std::endl;
170  std::cout << " emittanceY : " << emittanceY << std::endl;
171  std::cout << " betastar : " << betastar << std::endl;
172  std::cout << "-----------------------------------------------------" << std::endl;
173 
175 
176  abeam->SetLastAnalyzedLumi(lastAnalyzedLumi);
177  abeam->SetLastAnalyzedRun(lastAnalyzedRun);
178  abeam->SetLastAnalyzedFill(lastAnalyzedFill);
179  abeam->SetType(type);
180  abeam->SetPosition(x, y, z);
181  abeam->SetSigmaZ(sigmaZ);
182  abeam->Setdxdz(dxdz);
183  abeam->Setdydz(dydz);
184  abeam->SetBeamWidthX(beamWidthX);
185  abeam->SetBeamWidthY(beamWidthY);
186  abeam->SetEmittanceX(emittanceX);
187  abeam->SetEmittanceY(emittanceY);
188  abeam->SetBetaStar(betastar);
189 
190  for (int i = 0; i < 7; ++i) {
191  for (int j = 0; j < 7; ++j) {
192  abeam->SetCovariance(i, j, cov[i][j]);
193  }
194  }
195 
196  std::cout << " Writing results to DB..." << std::endl;
197 
199  if (poolDbService.isAvailable()) {
200  std::cout << "poolDBService available" << std::endl;
201  if (poolDbService->isNewTagRequest("BeamSpotOnlineHLTObjectsRcd")) {
202  std::cout << "new tag requested" << std::endl;
203  if (fuseNewSince) {
204  std::cout << "Using a new Since: " << fnewSince << std::endl;
205  poolDbService->createNewIOV<BeamSpotOnlineObjects>(
206  abeam, fnewSince, poolDbService->endOfTime(), "BeamSpotOnlineHLTObjectsRcd");
207  } else
208  poolDbService->createNewIOV<BeamSpotOnlineObjects>(
209  abeam, poolDbService->beginOfTime(), poolDbService->endOfTime(), "BeamSpotOnlineHLTObjectsRcd");
210  } else {
211  std::cout << "no new tag requested" << std::endl;
212  if (fuseNewSince) {
213  std::cout << "Using a new Since: " << fnewSince << std::endl;
214  poolDbService->appendSinceTime<BeamSpotOnlineObjects>(abeam, fnewSince, "BeamSpotOnlineHLTObjectsRcd");
215  } else
216  poolDbService->appendSinceTime<BeamSpotOnlineObjects>(
217  abeam, poolDbService->currentTime(), "BeamSpotOnlineHLTObjectsRcd");
218  }
219  }
220 
221  std::cout << "[BeamSpotOnlineHLTRcdWriter] endJob done \n" << std::endl;
222 }

References cond::service::PoolDBOutputService::appendSinceTime(), cond::service::PoolDBOutputService::beginOfTime(), gather_cfg::cout, cond::service::PoolDBOutputService::createNewIOV(), cond::service::PoolDBOutputService::currentTime(), BeamSpotPI::dxdz, BeamSpotPI::dydz, BeamSpotFakeParameters_cfi::emittanceX, BeamSpotFakeParameters_cfi::emittanceY, cond::service::PoolDBOutputService::endOfTime(), fasciiFile, fasciiFileName, fnewSince, fuseNewSince, mps_fire::i, edm::Service< T >::isAvailable(), cond::service::PoolDBOutputService::isNewTagRequest(), dqmiolumiharvest::j, BeamSpotObjects::SetBeamWidthX(), BeamSpotObjects::SetBeamWidthY(), BeamSpotObjects::SetBetaStar(), BeamSpotObjects::SetCovariance(), BeamSpotObjects::Setdxdz(), BeamSpotObjects::Setdydz(), BeamSpotObjects::SetEmittanceX(), BeamSpotObjects::SetEmittanceY(), BeamSpotOnlineObjects::SetLastAnalyzedFill(), BeamSpotOnlineObjects::SetLastAnalyzedLumi(), BeamSpotOnlineObjects::SetLastAnalyzedRun(), BeamSpotObjects::SetPosition(), BeamSpotObjects::SetSigmaZ(), BeamSpotObjects::SetType(), BeamSpotPI::sigmaZ, AlCaHLTBitMon_QueryRunRegistry::string, GlobalPosition_Frontier_DevDB_cff::tag, x, y, and z.

◆ fillDescriptions()

void BeamSpotOnlineHLTRcdWriter::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 225 of file BeamSpotOnlineHLTRcdWriter.cc.

225  {
226  //The following says we do not know what parameters are allowed so do no validation
227  // Please change this to state exactly what you do use, even if it is no parameters
229  desc.setUnknown();
230  descriptions.addDefault(desc);
231 }

References edm::ConfigurationDescriptions::addDefault(), and submitPVResolutionJobs::desc.

◆ pack()

cond::Time_t BeamSpotOnlineHLTRcdWriter::pack ( uint32_t  fIOVStartRun,
uint32_t  fIOVStartLumi 
)

Definition at line 94 of file BeamSpotOnlineHLTRcdWriter.cc.

94  {
95  return ((uint64_t)fIOVStartRun << 32 | fIOVStartLumi);
96 }

References fIOVStartLumi, and fIOVStartRun.

Referenced by BeamSpotOnlineHLTRcdWriter().

Member Data Documentation

◆ fasciiFile

std::ifstream BeamSpotOnlineHLTRcdWriter::fasciiFile
private

Definition at line 57 of file BeamSpotOnlineHLTRcdWriter.cc.

Referenced by BeamSpotOnlineHLTRcdWriter(), and endJob().

◆ fasciiFileName

std::string BeamSpotOnlineHLTRcdWriter::fasciiFileName
private

Definition at line 58 of file BeamSpotOnlineHLTRcdWriter.cc.

Referenced by BeamSpotOnlineHLTRcdWriter(), and endJob().

◆ fIOVStartLumi

uint32_t BeamSpotOnlineHLTRcdWriter::fIOVStartLumi
private

Definition at line 60 of file BeamSpotOnlineHLTRcdWriter.cc.

Referenced by BeamSpotOnlineHLTRcdWriter(), and pack().

◆ fIOVStartRun

uint32_t BeamSpotOnlineHLTRcdWriter::fIOVStartRun
private

Definition at line 59 of file BeamSpotOnlineHLTRcdWriter.cc.

Referenced by BeamSpotOnlineHLTRcdWriter(), and pack().

◆ fnewSince

cond::Time_t BeamSpotOnlineHLTRcdWriter::fnewSince
private

Definition at line 61 of file BeamSpotOnlineHLTRcdWriter.cc.

Referenced by BeamSpotOnlineHLTRcdWriter(), and endJob().

◆ fuseNewSince

bool BeamSpotOnlineHLTRcdWriter::fuseNewSince
private

Definition at line 62 of file BeamSpotOnlineHLTRcdWriter.cc.

Referenced by BeamSpotOnlineHLTRcdWriter(), and endJob().

BeamSpotOnlineHLTRcdWriter::fasciiFileName
std::string fasciiFileName
Definition: BeamSpotOnlineHLTRcdWriter.cc:58
DDAxes::y
mps_fire.i
i
Definition: mps_fire.py:428
BeamSpotObjects::SetBetaStar
void SetBetaStar(double val)
set beta star
Definition: BeamSpotObjects.h:64
BeamSpotPI::sigmaZ
Definition: BeamSpotPayloadInspectorHelper.h:35
cond::service::PoolDBOutputService::beginOfTime
cond::Time_t beginOfTime() const
Definition: PoolDBOutputService.cc:215
gather_cfg.cout
cout
Definition: gather_cfg.py:144
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
cond::service::PoolDBOutputService::appendSinceTime
void appendSinceTime(const T *payloadObj, cond::Time_t sinceTime, const std::string &recordName)
Definition: PoolDBOutputService.h:141
BeamSpotObjects::SetBeamWidthY
void SetBeamWidthY(double val)
set average transverse beam width Y
Definition: BeamSpotObjects.h:50
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
DDAxes::x
edm::Service::isAvailable
bool isAvailable() const
Definition: Service.h:40
BeamSpotObjects::SetSigmaZ
void SetSigmaZ(double val)
set sigma Z, RMS bunch length
Definition: BeamSpotObjects.h:42
BeamSpotOnlineHLTRcdWriter::fasciiFile
std::ifstream fasciiFile
Definition: BeamSpotOnlineHLTRcdWriter.cc:57
BeamSpotFakeParameters_cfi.emittanceX
emittanceX
Definition: BeamSpotFakeParameters_cfi.py:17
BeamSpotOnlineHLTRcdWriter::fnewSince
cond::Time_t fnewSince
Definition: BeamSpotOnlineHLTRcdWriter.cc:61
cond::service::PoolDBOutputService::createNewIOV
void createNewIOV(const T *firstPayloadObj, cond::Time_t firstSinceTime, cond::Time_t, const std::string &recordName)
Definition: PoolDBOutputService.h:116
GlobalPosition_Frontier_DevDB_cff.tag
tag
Definition: GlobalPosition_Frontier_DevDB_cff.py:11
DDAxes::z
BeamSpotPI::dxdz
Definition: BeamSpotPayloadInspectorHelper.h:36
BeamSpotObjects::SetEmittanceY
void SetEmittanceY(double val)
set emittance
Definition: BeamSpotObjects.h:62
BeamSpotFakeParameters_cfi.emittanceY
emittanceY
Definition: BeamSpotFakeParameters_cfi.py:18
BeamSpotObjects::SetPosition
void SetPosition(double x, double y, double z)
set XYZ position
Definition: BeamSpotObjects.h:36
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet::exists
bool exists(std::string const &parameterName) const
checks if a parameter exists
Definition: ParameterSet.cc:681
BeamSpotOnlineHLTRcdWriter::fIOVStartRun
uint32_t fIOVStartRun
Definition: BeamSpotOnlineHLTRcdWriter.cc:59
BeamSpotObjects::SetType
void SetType(int type)
set beam type
Definition: BeamSpotObjects.h:58
type
type
Definition: SiPixelVCal_PayloadInspector.cc:37
BeamSpotObjects::SetEmittanceX
void SetEmittanceX(double val)
set emittance
Definition: BeamSpotObjects.h:60
BeamSpotObjects::SetCovariance
void SetCovariance(int i, int j, double val)
set i,j element of the full covariance matrix 7x7
Definition: BeamSpotObjects.h:56
gainCalibHelper::gainCalibPI::type
type
Definition: SiPixelGainCalibHelper.h:39
BeamSpotPI::dydz
Definition: BeamSpotPayloadInspectorHelper.h:37
edm::Service< cond::service::PoolDBOutputService >
BeamSpotObjects::Setdxdz
void Setdxdz(double val)
set dxdz slope, crossing angle
Definition: BeamSpotObjects.h:44
BeamSpotOnlineHLTRcdWriter::pack
cond::Time_t pack(uint32_t, uint32_t)
Definition: BeamSpotOnlineHLTRcdWriter.cc:94
BeamSpotOnlineObjects::SetLastAnalyzedFill
void SetLastAnalyzedFill(int val)
Definition: BeamSpotOnlineObjects.h:50
BeamSpotOnlineHLTRcdWriter::fIOVStartLumi
uint32_t fIOVStartLumi
Definition: BeamSpotOnlineHLTRcdWriter.cc:60
cond::service::PoolDBOutputService::endOfTime
cond::Time_t endOfTime() const
Definition: PoolDBOutputService.cc:213
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
BeamSpotOnlineObjects::SetLastAnalyzedLumi
void SetLastAnalyzedLumi(int val)
Setters Methods.
Definition: BeamSpotOnlineObjects.h:44
BeamSpotOnlineObjects
Definition: BeamSpotOnlineObjects.h:25
BeamSpotObjects::SetBeamWidthX
void SetBeamWidthX(double val)
set average transverse beam width X
Definition: BeamSpotObjects.h:48
BeamSpotOnlineHLTRcdWriter::fuseNewSince
bool fuseNewSince
Definition: BeamSpotOnlineHLTRcdWriter.cc:62
cond::service::PoolDBOutputService::isNewTagRequest
bool isNewTagRequest(const std::string &recordName)
Definition: PoolDBOutputService.cc:128
cond::uint64_t
unsigned long long uint64_t
Definition: Time.h:13
BeamSpotOnlineObjects::SetLastAnalyzedRun
void SetLastAnalyzedRun(int val)
Definition: BeamSpotOnlineObjects.h:47
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66
edm::ConfigurationDescriptions::addDefault
void addDefault(ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:99
BeamSpotObjects::Setdydz
void Setdydz(double val)
set dydz slope, crossing angle in XZ
Definition: BeamSpotObjects.h:46
cond::service::PoolDBOutputService::currentTime
cond::Time_t currentTime() const
Definition: PoolDBOutputService.cc:217