CMS 3D CMS Logo

Classes | Functions | Variables
beamSpotDipStandalone.cc File Reference
#include <iostream>
#include <fstream>
#include <sstream>
#include <vector>
#include <cmath>
#include <cstring>
#include <ctime>
#include <sys/stat.h>
#include <bitset>
#include <unistd.h>
#include "Dip.h"
#include "DipFactory.h"
#include "DipPublication.h"
#include "DipTimestamp.h"

Go to the source code of this file.

Classes

class  ErrHandler
 

Functions

void beginServer ()
 
void CMS2LHCRF_POS (float x, float y, float z)
 
void endServer ()
 
void fakeRcd ()
 
string getDateTime (time_t t)
 
string getDateTime ()
 
long getFileSize (string filename)
 
time_t getLastTime (string filename)
 
int main (int narg, char *args[])
 
vector< string > parse (string line, const string &delimiter)
 
void polling ()
 
void problem ()
 
void publishRcd (string qlty, string err, bool pubCMS, bool fitTime)
 
bool readRcd (ifstream &file)
 
string tkStatus ()
 
void trueRcd ()
 

Variables

std::bitset< 8 > alive
 
float Centroid [3]
 
const int cm2mm = 10
 
const int cm2um = 10000
 
int currentLS = 0
 
DipFactory * dip
 
float dxdz = 0
 
float dydz = 0
 
string endTime
 
time_t endTimeStamp = 0
 
float err_dxdz = 0
 
float err_dydz = 0
 
float err_meanPV = 0
 
float err_rmsPV = 0
 
float err_sigma_z = 0
 
float err_width_x = 0
 
float err_width_y = 0
 
float err_x = 0
 
float err_y = 0
 
float err_z = 0
 
int events = 0
 
const int intLS = 1
 
long lastFitTime = 0
 
long lastModTime = 0
 
int lsCount = 0
 
string lumiRange = "0 - 0"
 
int maxPV = 0
 
float meanPV = 0
 
DipData * messageCMS
 
DipData * messageLHC
 
DipData * messagePV
 
int nPV = 0
 
DipPublication * publicationCMS
 
DipPublication * publicationLHC
 
DipPublication * publicationPV
 
const bool publishStatErrors = true
 
const char * qualities [3] = {"Uncertain", "Bad", "Good"}
 
string quality = "Uncertain"
 
const int rad2urad = 1000000
 
float rmsPV = 0
 
int runnum
 
const int secPerLS = 23
 
float sigma_z = 0
 
float Size [3]
 
string sourceFile = "/nfshome0/dqmpro/BeamMonitorDQM/BeamFitResultsForDIP.txt"
 
string sourceFile1 = "/nfshome0/dqmpro/BeamMonitorDQM/BeamFitResultsOld_TkStatus.txt"
 
string startTime
 
time_t startTimeStamp = 0
 
const string subjectCMS = "dip/CMS/Tracker/BeamSpot"
 
const string subjectLHC = "dip/CMS/LHC/LuminousRegion"
 
const string subjectPV = "dip/CMS/Tracker/PrimaryVertices"
 
bool testing = false
 
float Tilt [2]
 
const int timeoutLS [2] = {1, 2}
 
int type = -1
 
bool verbose = false
 
float width_x = 0
 
float width_y = 0
 
float x = 0
 
float y = 0
 
float z = 0
 

Function Documentation

◆ beginServer()

void beginServer ( )

Definition at line 617 of file beamSpotDipStandalone.cc.

References DMR_cfg::cerr, dip, MillePedeFileConverter_cfg::e, cppFunctionSkipper::exception, getDateTime(), messageCMS, messageLHC, messagePV, publicationCMS, publicationLHC, publicationPV, publishRcd(), qualities, quality, subjectCMS, subjectLHC, subjectPV, and trueRcd().

Referenced by main().

617  {
618  try {
619  ErrHandler errHandler;
620 
621  cerr << "server started at " + getDateTime() << endl;
622 
623  cerr << "creating publication " + subjectCMS << endl;
624  publicationCMS = dip->createDipPublication(subjectCMS.c_str(), &errHandler);
625  messageCMS = dip->createDipData();
626 
627  cerr << "creating publication " + subjectLHC << endl;
628  publicationLHC = dip->createDipPublication(subjectLHC.c_str(), &errHandler);
629  messageLHC = dip->createDipData();
630 
631  cerr << "creating publication " + subjectPV << endl;
632  publicationPV = dip->createDipPublication(subjectPV.c_str(), &errHandler);
633  messagePV = dip->createDipData();
634 
635  trueRcd(); // starts with all 0
636  publishRcd("UNINITIALIZED", "", true, false);
637  } catch (exception& e) {
638  cerr << "exception (start up): " << e.what() << endl;
639  }
640 
641  quality = qualities[0]; // start with Uncertain
642 }
const string subjectLHC
string getDateTime(time_t t)
DipPublication * publicationPV
void publishRcd(string qlty, string err, bool pubCMS, bool fitTime)
void trueRcd()
string quality
DipData * messageCMS
const string subjectCMS
DipPublication * publicationCMS
const string subjectPV
const char * qualities[3]
DipData * messageLHC
DipPublication * publicationLHC
DipData * messagePV
DipFactory * dip

◆ CMS2LHCRF_POS()

void CMS2LHCRF_POS ( float  x,
float  y,
float  z 
)

Definition at line 159 of file beamSpotDipStandalone.cc.

References Centroid, cm2mm, cm2um, x, y, and z.

Referenced by BeamSpotDipServer::trueRcd(), and trueRcd().

159  {
160  if (x != 0) { // Rotation + Translation + Inversion + Scaling
161  double tmpx = x;
162  // x*rotY[0]*rotZ[0] + y*rotY[0]*rotZ[1] - z*rotY[1] + trans[0];
163  Centroid[0] = tmpx;
164  Centroid[0] *= -1.0 * cm2um;
165  } else
166  Centroid[0] = x;
167 
168  if (y != 0) { // Rotation + Translation + Scaling
169  double tmpy = y;
170  // x*(rotX[1]*rotY[1]*rotZ[0] - rotX[0]*rotZ[1]) +
171  // y*(rotX[0]*rotZ[0] + rotX[1]*rotY[1]*rotZ[1]) +
172  // z*rotX[1]*rotY[0] + trans[1];
173  Centroid[1] = tmpy;
174  Centroid[1] *= cm2um;
175  } else
176  Centroid[1] = y;
177 
178  if (z != 0) { // Rotation + Translation + Inversion + Scaling
179  double tmpz = z;
180  // x*(rotX[0]*rotY[1]*rotZ[0] + rotX[1]*rotZ[1]) +
181  // y*(rotX[0]*rotY[1]*rotZ[1] - rotX[1]*rotZ[0]) +
182  // z*rotX[0]*rotY[0] + trans[2];
183  Centroid[2] = tmpz;
184  Centroid[2] *= -1.0 * cm2mm;
185  } else
186  Centroid[2] = z;
187 }
const int cm2mm
float y
float Centroid[3]
const int cm2um
float x
float z

◆ endServer()

void endServer ( )

Definition at line 645 of file beamSpotDipStandalone.cc.

References DMR_cfg::cerr, dip, messageCMS, messageLHC, messagePV, publicationCMS, publicationLHC, publicationPV, subjectCMS, subjectLHC, and subjectPV.

Referenced by main().

645  {
646  // destroy publications and data
647  cerr << "destroying publication " + subjectCMS << endl;
648  dip->destroyDipPublication(publicationCMS);
649  delete messageCMS;
650 
651  cerr << "destroying publication " + subjectLHC << endl;
652  dip->destroyDipPublication(publicationLHC);
653  delete messageLHC;
654 
655  cerr << "destroying publication " + subjectPV << endl;
656  dip->destroyDipPublication(publicationPV);
657  delete messagePV;
658 }
const string subjectLHC
DipPublication * publicationPV
DipData * messageCMS
const string subjectCMS
DipPublication * publicationCMS
const string subjectPV
DipData * messageLHC
DipPublication * publicationLHC
DipData * messagePV
DipFactory * dip

◆ fakeRcd()

void fakeRcd ( )

Definition at line 256 of file beamSpotDipStandalone.cc.

References Centroid, DMR_cfg::cerr, MillePedeFileConverter_cfg::e, cppFunctionSkipper::exception, messageLHC, Size, and Tilt.

Referenced by BeamSpotDipServer::dqmEndLuminosityBlock(), polling(), BeamSpotDipServer::problem(), and problem().

256  {
257  try {
258  Centroid[0] = 0;
259  Centroid[1] = 0;
260  Centroid[2] = 0;
261 
262  Size[0] = 0;
263  Size[1] = 0;
264  Size[2] = 0;
265 
266  Tilt[0] = 0;
267  Tilt[1] = 0;
268 
269  messageLHC->insert(Size, 3, "Size");
270  messageLHC->insert(Centroid, 3, "Centroid");
271  messageLHC->insert(Tilt, 2, "Tilt");
272  } catch (exception& e) {
273  cerr << "exception (fakeRcd): " << e.what() << endl;
274  }
275 }
float Centroid[3]
DipData * messageLHC
float Tilt[2]
float Size[3]

◆ getDateTime() [1/2]

string getDateTime ( time_t  t)

Definition at line 102 of file beamSpotDipStandalone.cc.

References submitPVValidationJobs::t.

Referenced by beginServer(), BeamSpotDipServer::dqmBeginRun(), BeamSpotDipServer::dqmEndLuminosityBlock(), BeamSpotDipServer::getDateTime(), getDateTime(), main(), polling(), and readRcd().

102  {
103  char mbstr[100];
104  strftime(mbstr, sizeof(mbstr), "%Y.%m.%d %H:%M:%S %z", std::localtime(&t));
105 
106  return mbstr;
107 }

◆ getDateTime() [2/2]

string getDateTime ( )

Definition at line 109 of file beamSpotDipStandalone.cc.

References getDateTime(), submitPVValidationJobs::t, and hcalRecHitTable_cff::time.

109  {
110  time_t t = time(nullptr);
111 
112  return getDateTime(t);
113 }
string getDateTime(time_t t)

◆ getFileSize()

long getFileSize ( string  filename)

Definition at line 127 of file beamSpotDipStandalone.cc.

References corrVsCorr::filename, and edm_modernize_messagelogger::stat.

Referenced by BeamSpotDipServer::dqmEndLuminosityBlock(), polling(), BeamSpotDipServer::tkStatus(), and tkStatus().

127  {
128  struct stat stat_buf;
129  int rc = stat(filename.c_str(), &stat_buf);
130  return (rc == 0 ? stat_buf.st_size : -1);
131 }

◆ getLastTime()

time_t getLastTime ( string  filename)

Definition at line 134 of file beamSpotDipStandalone.cc.

References corrVsCorr::filename, and edm_modernize_messagelogger::stat.

Referenced by BeamSpotDipServer::dqmEndLuminosityBlock(), and polling().

134  {
135  struct stat stat_buf;
136  int rc = stat(filename.c_str(), &stat_buf);
137  return (rc == 0 ? stat_buf.st_mtime : -1);
138 }

◆ main()

int main ( int  narg,
char *  args[] 
)

===============================================================================================================================================================================================


variant2: for each run define phi-averaged A for normalization channel (Dref,16) and then, divide Rijk on it, i.e. get RRijk




















































































eta=27

eta=25

eta=23

eta=22

eta=21

eta=26

eta=24

eta=19

eta=17

eta=25

eta=23

eta=22

eta=21

eta=26

eta=24

eta=20

eta=19

eta=18

eta=27 L1=1

eta=25 L1=1

eta=23 L1=1

eta=22 L1=1

eta=21 L1=1

eta=29 L1=1

eta=26 L1=1

eta=24 L1=1

eta=20 L1=1

eta=19 L1=1

eta=18 L1=1

eta=17 L1=1

eta=28 L7=1

eta=27 L7=1

eta=25 L7=1

eta=23 L7=1

eta=22 L7=1

eta=21 L7=1

eta=26 L7=1

eta=24 L7=1

eta=20 L7=1

eta=19 L7=1

eta=18 L7=1

eta=17 L7=1

eta=27

eta=25

eta=23

eta=22

eta=21

eta=26

eta=24

eta=19

eta=17

eta=25

eta=23

eta=22

eta=21

eta=26

eta=24

eta=20

eta=19

eta=18

eta=27 L1=1

eta=25 L1=1

eta=23 L1=1

eta=22 L1=1

eta=21 L1=1

eta=26 L1=1

eta=24 L1=1

eta=20 L1=1

eta=19 L1=1

eta=18 L1=1

eta=17 L1=1

eta=28 L7=1

eta=27 L7=1

eta=25 L7=1

eta=23 L7=1

eta=22 L7=1

eta=21 L7=1

eta=26 L7=1

eta=24 L7=1

eta=20 L7=1

eta=19 L7=1

eta=18 L7=1

eta=17 L7=1

eta=27

eta=28

errA with average Amplitudes

errA with average Amplitudes

errA with average Amplitudes

errA with average Amplitudes

Summed Amplitude Plots:





Summed Amplitude Plots:

Summed Amplitude Plots:

Summed Amplitude Plots:

Summed Amplitude Plots:

Summed Amplitude Plots:

RBX:

errA with average Amplitudes

errA with average Amplitudes

errA with average Amplitudes

errA with average Amplitudes

Summed Amplitude Plots:





Summed Amplitude Plots:

Summed Amplitude Plots:

Summed Amplitude Plots:

Summed Amplitude Plots:

Summed Amplitude Plots:

RBX:

errA with average Amplitudes

errA with average Amplitudes

errA with average Amplitudes

errA with average Amplitudes

Summed Amplitude Plots:





Summed Amplitude Plots:

Summed Amplitude Plots:

Summed Amplitude Plots:

Summed Amplitude Plots:

Summed Amplitude Plots:

RBX:

Prepare maps of good/bad channels:

Prepare maps of good/bad channels:

Prepare maps of good/bad channels:

Prepare maps of good/bad channels:

Definition at line 661 of file beamSpotDipStandalone.cc.

References writedatasetfile::args, beginServer(), DMR_cfg::cerr, beamerCreator::create(), dip, endServer(), endTime, getDateTime(), polling(), sourceFile, sourceFile1, startTime, testing, and verbose.

661  {
662  // options
663  verbose = strcmp(args[1], "true");
664  testing = strcmp(args[2], "true");
665 
666  sourceFile = args[3];
667  sourceFile1 = args[4];
668 
669  //
671  endTime = getDateTime();
672 
673  dip = Dip::create("CmsBeamSpotServer");
674  // Use both CMS-based DIM DNS server (https://its.cern.ch/jira/browse/CMSOMS-280)
675  dip->setDNSNode("cmsdimns1.cern.ch,cmsdimns2.cern.ch");
676 
677  cerr << "reading from file (NFS)" << endl;
678 
679  //
680  beginServer();
681 
682  cerr << "entering polling loop" << endl;
683 
684  while (true) {
685  polling();
686  sleep(1);
687  }
688 
689  cerr << "[done]" << endl;
690 
691  //
692  endServer();
693 
694  return 0;
695 }
string getDateTime(time_t t)
bool testing
def create(alignables, pedeDump, additionalData, outputFile, config)
bool verbose
string startTime
void beginServer()
void polling()
string sourceFile1
DipFactory * dip
string sourceFile
void endServer()
string endTime

◆ parse()

vector<string> parse ( string  line,
const string &  delimiter 
)

◆ polling()

void polling ( )

Definition at line 551 of file beamSpotDipStandalone.cc.

References alive, DMR_cfg::cerr, MillePedeFileConverter_cfg::e, cppFunctionSkipper::exception, fakeRcd(), getDateTime(), getFileSize(), getLastTime(), lastFitTime, lastModTime, heppy_check::logFile, lsCount, problem(), readRcd(), runnum, sourceFile, tkStatus(), createJobs::tmp, trueRcd(), and verbose.

Referenced by main().

551  {
552  try {
553  ifstream logFile(sourceFile);
554 
555  if (!logFile.good()) {
556  cerr << "Source File: " + sourceFile + " doesn't exist!" << endl;
557  problem();
558  } else {
560 
561  if (lastFitTime == 0)
563 
564  if (getFileSize(sourceFile) == 0) {
565  // source file has zero length
566  if (lastModTime > lastFitTime) {
567  string tmp = tkStatus();
568  cerr << "New run starts. Run number: " << runnum << endl;
569  if (verbose)
570  cerr << "Initial lastModTime = " + getDateTime(lastModTime) << endl;
571  }
573  }
574 
575  if (lastModTime > lastFitTime) {
576  // source file modified
577  if (verbose) {
578  cerr << "time of last fit = " + getDateTime(lastFitTime) << endl;
579  cerr << "time of current fit = " + getDateTime(lastModTime) << endl;
580  }
582 
583  // source file length > 0
584  if (getFileSize(sourceFile) > 0) {
585  if (verbose)
586  cerr << "reading record from " + sourceFile << endl;
587 
588  if (readRcd(logFile)) {
589  if (verbose)
590  cerr << "got new record from file" << endl;
591 
592  trueRcd();
593  alive.reset();
594  alive.flip(7);
595  } else {
596  if (verbose)
597  cerr << "problem with new record" << endl;
598  fakeRcd();
599  }
600 
601  lsCount = 0;
602  }
603  } else {
604  // source file not touched
605  problem();
606  }
607  }
608 
609  logFile.close();
610 
611  } catch (exception& e) {
612  cerr << "io exception (end of lumi): " << e.what() << endl;
613  };
614 }
string getDateTime(time_t t)
int runnum
bool verbose
long getFileSize(string filename)
string tkStatus()
void trueRcd()
bool readRcd(ifstream &file)
long lastFitTime
long lastModTime
int lsCount
time_t getLastTime(string filename)
string sourceFile
void fakeRcd()
std::bitset< 8 > alive
void problem()
tmp
align.sh
Definition: createJobs.py:716

◆ problem()

void problem ( )

Definition at line 513 of file beamSpotDipStandalone.cc.

References alive, DMR_cfg::cerr, fakeRcd(), lsCount, publishRcd(), secPerLS, timeoutLS, tkStatus(), trueRcd(), and verbose.

Referenced by BeamSpotDipServer::dqmEndLuminosityBlock(), and polling().

513  {
514  if (verbose)
515  cerr << "no update | alive = " << alive << endl;
516 
517  lsCount++;
518 
519  if ((lsCount % (timeoutLS[0] * secPerLS) == 0) && (lsCount % (timeoutLS[1] * secPerLS) != 0)) // first timeout
520  {
521  if (!alive.test(1))
522  alive.flip(1);
523  if (!alive.test(2)) {
524  if (!alive.test(7))
525  fakeRcd();
526  else
527  trueRcd();
528 
529  stringstream warnMsg;
530  warnMsg << "No new data for " << lsCount << " LS";
531  publishRcd("Uncertain", warnMsg.str(), false, false);
532  } else {
533  fakeRcd();
534 
535  stringstream warnMsg;
536  warnMsg << "No new data for " << lsCount << " LS: " << tkStatus();
537  publishRcd("Bad", warnMsg.str(), false, false);
538  }
539  } else if (lsCount % (timeoutLS[1] * secPerLS) == 0) { // second timeout
540  if (!alive.test(2))
541  alive.flip(2);
542  fakeRcd();
543 
544  stringstream warnMsg;
545  warnMsg << "No new data for " << lsCount << " LS: " << tkStatus();
546  publishRcd("Bad", warnMsg.str(), false, false);
547  }
548 }
bool verbose
void publishRcd(string qlty, string err, bool pubCMS, bool fitTime)
string tkStatus()
void trueRcd()
int lsCount
const int timeoutLS[2]
void fakeRcd()
const int secPerLS
std::bitset< 8 > alive

◆ publishRcd()

void publishRcd ( string  qlty,
string  err,
bool  pubCMS,
bool  fitTime 
)

Definition at line 278 of file beamSpotDipStandalone.cc.

References alive, DMR_cfg::cerr, currentLS, MillePedeFileConverter_cfg::e, endTimeStamp, submitPVResolutionJobs::err, cppFunctionSkipper::exception, intLS, messageCMS, messageLHC, messagePV, publicationCMS, publicationLHC, publicationPV, qualities, and verbose.

Referenced by beginServer(), BeamSpotDipServer::dqmBeginRun(), BeamSpotDipServer::dqmEndLuminosityBlock(), BeamSpotDipServer::problem(), and problem().

278  {
279  try {
280  bool updateCMS = pubCMS && (currentLS % intLS == 0);
281 
282  if (verbose) {
283  cerr << "sending (" << qlty << " | " << err << ")";
284 
285  if (alive.test(7)) {
286  if (updateCMS)
287  cerr << " to CCC and CMS";
288  else if (!alive.test(1) && !alive.test(2))
289  cerr << " to CCC only";
290  }
291 
292  cerr << endl;
293  }
294 
295  DipTimestamp zeit;
296  if (fitTime) {
297  long epoch;
298  epoch = endTimeStamp * 1000; // convert to ms
299  zeit = DipTimestamp(epoch);
300  } else
301  zeit = DipTimestamp();
302 
303  // send
304  if (updateCMS)
305  publicationCMS->send(*messageCMS, zeit);
306 
307  publicationLHC->send(*messageLHC, zeit);
308  publicationPV->send(*messagePV, zeit);
309 
310  // set qualities
311 
312  if (qlty == qualities[0]) { // Uncertain
313  if (updateCMS)
314  publicationCMS->setQualityUncertain(err.c_str());
315 
316  publicationLHC->setQualityUncertain(err.c_str());
317  } else if (qlty == qualities[1]) { // Bad
318  if (updateCMS)
319  publicationCMS->setQualityBad(err.c_str());
320 
321  publicationLHC->setQualityBad(err.c_str());
322  } else if (qlty == "UNINITIALIZED") {
323  if (updateCMS)
324  publicationCMS->setQualityBad("UNINITIALIZED");
325 
326  publicationLHC->setQualityBad("UNINITIALIZED");
327  }
328  } catch (exception& e) {
329  cerr << "exception (publishRcd): " << e.what() << endl;
330  }
331 }
bool verbose
DipPublication * publicationPV
const int intLS
DipData * messageCMS
DipPublication * publicationCMS
const char * qualities[3]
DipData * messageLHC
DipPublication * publicationLHC
time_t endTimeStamp
DipData * messagePV
std::bitset< 8 > alive
int currentLS

◆ readRcd()

bool readRcd ( ifstream &  file)

Definition at line 334 of file beamSpotDipStandalone.cc.

References DMR_cfg::cerr, currentLS, dxdz, dydz, MillePedeFileConverter_cfg::e, endTime, endTimeStamp, err_dxdz, err_dydz, err_meanPV, err_rmsPV, err_sigma_z, err_width_x, err_width_y, err_x, err_y, err_z, events, cppFunctionSkipper::exception, geometryDiff::file, getDateTime(), lumiRange, maxPV, meanPV, nPV, parse(), qualities, quality, AlCaHarvesting_cff::record, rmsPV, runnum, sigma_z, mathSSE::sqrt(), startTime, startTimeStamp, testing, createJobs::tmp, verbose, width_x, width_y, x, y, and z.

Referenced by BeamSpotDipServer::dqmEndLuminosityBlock(), and polling().

334  {
335  int nthLnInRcd = 0;
336  bool rcdQlty = false;
337 
338  try {
339  string record;
340  while (getline(file, record)) {
341  nthLnInRcd++;
342 
343  vector<string> tmp = parse(record, " ");
344 
345  switch (nthLnInRcd) {
346  case 1:
347  if (record.rfind("Run", 0) != 0) {
348  cerr << "Reading of results text file interrupted. " + getDateTime() << endl;
349  return false;
350  }
351  runnum = stoi(tmp[1]);
352  break;
353  case 2:
354  startTime = tmp[1] + " " + tmp[2] + " " + tmp[3];
355  startTimeStamp = stol(tmp[4]);
356  break;
357  case 3:
358  endTime = tmp[1] + " " + tmp[2] + " " + tmp[3];
359  endTimeStamp = stol(tmp[4]);
360  break;
361  case 4:
362  lumiRange = record.substr(10);
363  if (verbose)
364  cerr << "lumisection range: " + lumiRange << endl;
365  currentLS = stoi(tmp[3]);
366  break;
367  case 5:
368  type = stoi(tmp[1]);
369  if (testing)
370  quality = qualities[0]; // Uncertain
371  else if (type >= 2)
372  quality = qualities[2]; // Good
373  else
374  quality = qualities[1]; // Bad
375  break;
376 
377  case 6:
378  x = stof(tmp[1]);
379  break;
380  case 7:
381  y = stof(tmp[1]);
382  break;
383  case 8:
384  z = stof(tmp[1]);
385  break;
386 
387  case 9:
388  sigma_z = stof(tmp[1]);
389  break;
390  case 10:
391  dxdz = stof(tmp[1]);
392  break;
393  case 11:
394  dydz = stof(tmp[1]);
395  break;
396  case 12:
397  width_x = stof(tmp[1]);
398  break;
399  case 13:
400  width_y = stof(tmp[1]);
401  break;
402 
403  case 14:
404  err_x = sqrt(stof(tmp[1]));
405  break;
406  case 15:
407  err_y = sqrt(stof(tmp[2]));
408  break;
409  case 16:
410  err_z = sqrt(stof(tmp[3]));
411  break;
412  case 17:
413  err_sigma_z = sqrt(stof(tmp[4]));
414  break;
415  case 18:
416  err_dxdz = sqrt(stof(tmp[5]));
417  break;
418  case 19:
419  err_dydz = sqrt(stof(tmp[6]));
420  break;
421  case 20:
422  err_width_x = sqrt(stof(tmp[7]));
424  break;
425  case 21:
426  break;
427  case 22:
428  break;
429  case 23:
430  break;
431  case 24:
432  events = stoi(tmp[1]);
433  break;
434 
435  case 25:
436  meanPV = stof(tmp[1]);
437  break;
438  case 26:
439  err_meanPV = stof(tmp[1]);
440  break;
441  case 27:
442  rmsPV = stof(tmp[1]);
443  break;
444  case 28:
445  err_rmsPV = stof(tmp[1]);
446  break;
447  case 29:
448  maxPV = stoi(tmp[1]);
449  break;
450  case 30:
451  nPV = stoi(tmp[1]);
452  rcdQlty = true;
453  break;
454 
455  default:
456  break;
457  }
458  }
459 
460  file.close();
461  } catch (exception& e) {
462  cerr << "io exception (readRcd): " << e.what() << endl;
463  }
464 
465  return rcdQlty;
466 }
float dydz
float width_x
float err_dydz
vector< string > parse(string line, const string &delimiter)
string getDateTime(time_t t)
bool testing
int runnum
float dxdz
float width_y
bool verbose
float rmsPV
float y
string quality
string startTime
T sqrt(T t)
Definition: SSEVec.h:19
float err_x
time_t startTimeStamp
float err_rmsPV
float err_z
const char * qualities[3]
time_t endTimeStamp
float err_width_x
float err_dxdz
float sigma_z
float x
float err_meanPV
string lumiRange
float err_y
float err_sigma_z
tmp
align.sh
Definition: createJobs.py:716
int currentLS
float err_width_y
int events
string endTime
float meanPV
float z

◆ tkStatus()

string tkStatus ( )

Definition at line 469 of file beamSpotDipStandalone.cc.

References DMR_cfg::cerr, MillePedeFileConverter_cfg::e, cppFunctionSkipper::exception, spr::find(), getFileSize(), dqmPostProcessing_online::logfile, parse(), AlCaHarvesting_cff::record, runnum, sourceFile1, and createJobs::tmp.

Referenced by BeamSpotDipServer::dqmEndLuminosityBlock(), polling(), BeamSpotDipServer::problem(), and problem().

469  {
470  string outstr;
471 
472  ifstream logfile(sourceFile1);
473 
474  if (!logfile.good() || getFileSize(sourceFile1) == 0) {
475  // file does not exist or has zero size
476  outstr = "No CMS Tracker status available. No DAQ/DQM.";
477  } else {
478  int nthLnInRcd = 0;
479  string record;
480 
481  try {
482  string record;
483 
484  while (getline(logfile, record)) {
485  nthLnInRcd++;
486  vector<string> tmp = parse(record, " ");
487 
488  switch (nthLnInRcd) {
489  case 7:
490  if (tmp[1].find("Yes") == string::npos)
491  outstr = "CMS Tracker OFF.";
492  else
493  outstr = "CMS not taking data or no beam.";
494  break;
495  case 8:
496  runnum = stoi(tmp[1]);
497  break;
498  default:
499  break;
500  }
501  }
502  } catch (exception& e) {
503  cerr << "exception (tkStatus): " << e.what() << endl;
504  }
505  }
506 
507  logfile.close();
508 
509  return outstr;
510 }
vector< string > parse(string line, const string &delimiter)
int runnum
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:19
long getFileSize(string filename)
string sourceFile1
tmp
align.sh
Definition: createJobs.py:716

◆ trueRcd()

void trueRcd ( )

Definition at line 190 of file beamSpotDipStandalone.cc.

References Centroid, DMR_cfg::cerr, cm2mm, cm2um, CMS2LHCRF_POS(), dxdz, dydz, MillePedeFileConverter_cfg::e, endTime, endTimeStamp, err_dxdz, err_dydz, err_meanPV, err_rmsPV, err_sigma_z, err_width_x, err_width_y, err_x, err_y, err_z, events, cppFunctionSkipper::exception, lumiRange, maxPV, meanPV, messageCMS, messageLHC, messagePV, nPV, publishStatErrors, quality, rad2urad, rmsPV, runnum, sigma_z, Size, startTime, startTimeStamp, Tilt, width_x, width_y, x, y, and z.

Referenced by beginServer(), BeamSpotDipServer::dqmBeginRun(), BeamSpotDipServer::dqmEndLuminosityBlock(), polling(), BeamSpotDipServer::problem(), and problem().

190  {
191  try {
192  // CMS to LHC RF
193  CMS2LHCRF_POS(x, y, z);
194 
195  Tilt[0] = dxdz * rad2urad;
196  Tilt[1] = (dydz != 0 ? (dydz * -1 * rad2urad) : 0);
197 
198  Size[0] = width_x * cm2um;
199  Size[1] = width_y * cm2um;
200  Size[2] = sigma_z * cm2mm;
201 
202  // CMS
203  messageCMS->insert(runnum, "runnum");
204  messageCMS->insert(startTime, "startTime");
205  messageCMS->insert(endTime, "endTime");
206  messageCMS->insert(startTimeStamp, "startTimeStamp");
207  messageCMS->insert(endTimeStamp, "endTimeStamp");
208  messageCMS->insert(lumiRange, "lumiRange");
209  messageCMS->insert(quality, "quality");
210  messageCMS->insert(type, "type"); // Unknown=-1, Fake=0, Tracker=2(Good)
211  messageCMS->insert(x, "x");
212  messageCMS->insert(y, "y");
213  messageCMS->insert(z, "z");
214  messageCMS->insert(dxdz, "dxdz");
215  messageCMS->insert(dydz, "dydz");
216  messageCMS->insert(width_x, "width_x");
217  messageCMS->insert(width_y, "width_y");
218  messageCMS->insert(sigma_z, "sigma_z");
219 
220  if (publishStatErrors) {
221  messageCMS->insert(err_x, "err_x");
222  messageCMS->insert(err_y, "err_y");
223  messageCMS->insert(err_z, "err_z");
224  messageCMS->insert(err_dxdz, "err_dxdz");
225  messageCMS->insert(err_dydz, "err_dydz");
226  messageCMS->insert(err_width_x, "err_width_x");
227  messageCMS->insert(err_width_y, "err_width_y");
228  messageCMS->insert(err_sigma_z, "err_sigma_z");
229  }
230 
231  // LHC
232  messageLHC->insert(Size, 3, "Size");
233  messageLHC->insert(Centroid, 3, "Centroid");
234  messageLHC->insert(Tilt, 2, "Tilt");
235 
236  // PV
237  messagePV->insert(runnum, "runnum");
238  messagePV->insert(startTime, "startTime");
239  messagePV->insert(endTime, "endTime");
240  messagePV->insert(startTimeStamp, "startTimeStamp");
241  messagePV->insert(endTimeStamp, "endTimeStamp");
242  messagePV->insert(lumiRange, "lumiRange");
243  messagePV->insert(events, "events");
244  messagePV->insert(meanPV, "meanPV");
245  messagePV->insert(err_meanPV, "err_meanPV");
246  messagePV->insert(rmsPV, "rmsPV");
247  messagePV->insert(err_rmsPV, "err_rmsPV");
248  messagePV->insert(maxPV, "maxPV");
249  messagePV->insert(nPV, "nPV");
250  } catch (exception& e) {
251  cerr << "exception (trueRcd): " << e.what() << endl;
252  }
253 }
const int rad2urad
float dydz
float width_x
float err_dydz
int runnum
float dxdz
float width_y
const int cm2mm
float rmsPV
float y
string quality
DipData * messageCMS
string startTime
const bool publishStatErrors
float err_x
time_t startTimeStamp
float err_rmsPV
float err_z
float Centroid[3]
DipData * messageLHC
float Tilt[2]
time_t endTimeStamp
float err_width_x
DipData * messagePV
float err_dxdz
float sigma_z
const int cm2um
float Size[3]
float x
float err_meanPV
string lumiRange
float err_y
float err_sigma_z
float err_width_y
void CMS2LHCRF_POS(float x, float y, float z)
int events
string endTime
float meanPV
float z

Variable Documentation

◆ alive

std::bitset<8> alive

◆ Centroid

float Centroid[3]

◆ cm2mm

const int cm2mm = 10

◆ cm2um

const int cm2um = 10000

◆ currentLS

int currentLS = 0

◆ dip

DipFactory* dip

◆ dxdz

float dxdz = 0

◆ dydz

float dydz = 0

◆ endTime

string endTime

Definition at line 49 of file beamSpotDipStandalone.cc.

Referenced by main(), readRcd(), and trueRcd().

◆ endTimeStamp

time_t endTimeStamp = 0

◆ err_dxdz

float err_dxdz = 0

◆ err_dydz

float err_dydz = 0

◆ err_meanPV

float err_meanPV = 0

◆ err_rmsPV

float err_rmsPV = 0

◆ err_sigma_z

float err_sigma_z = 0

◆ err_width_x

float err_width_x = 0

◆ err_width_y

float err_width_y = 0

◆ err_x

float err_x = 0

◆ err_y

float err_y = 0

◆ err_z

float err_z = 0

◆ events

int events = 0

◆ intLS

const int intLS = 1

Definition at line 28 of file beamSpotDipStandalone.cc.

Referenced by BeamSpotDipServer::publishRcd(), and publishRcd().

◆ lastFitTime

long lastFitTime = 0

Definition at line 31 of file beamSpotDipStandalone.cc.

Referenced by BeamSpotDipServer::dqmEndLuminosityBlock(), and polling().

◆ lastModTime

long lastModTime = 0

Definition at line 32 of file beamSpotDipStandalone.cc.

Referenced by BeamSpotDipServer::dqmEndLuminosityBlock(), and polling().

◆ lsCount

int lsCount = 0

◆ lumiRange

string lumiRange = "0 - 0"

Definition at line 52 of file beamSpotDipStandalone.cc.

Referenced by readRcd(), and trueRcd().

◆ maxPV

int maxPV = 0

◆ meanPV

float meanPV = 0

◆ messageCMS

DipData* messageCMS

◆ messageLHC

DipData* messageLHC

◆ messagePV

DipData* messagePV

◆ nPV

int nPV = 0

◆ publicationCMS

DipPublication* publicationCMS

◆ publicationLHC

DipPublication* publicationLHC

◆ publicationPV

DipPublication* publicationPV

◆ publishStatErrors

const bool publishStatErrors = true

Definition at line 22 of file beamSpotDipStandalone.cc.

Referenced by BeamSpotDipServer::trueRcd(), and trueRcd().

◆ qualities

const char* qualities[3] = {"Uncertain", "Bad", "Good"}

◆ quality

string quality = "Uncertain"

Definition at line 53 of file beamSpotDipStandalone.cc.

Referenced by CSCALCTHeader::ALCTDigis(), SiStripHitResolFromCalibTree::algoAnalyze(), SiStripHitEffFromCalibTree::algoAnalyze(), ME0SegmentsValidation::analyze(), CSCDigiToPattern::analyze(), L1TStage2EMTF::analyze(), EwkMuDQM::analyze(), TrackTypeMonitor::analyze(), PatTrackAnalyzer::analyze(), SiPixelMonitorTrackSoA< T >::analyze(), StandaloneTrackMonitor::analyze(), TrackCount::analyze(), StudyCaloResponse::analyze(), MuonTrackValidator::analyze(), SiStripBadAPVAlgorithmFromClusterOccupancy::AnalyzeOccupancy(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::AnalyzeOccupancy(), VertexAssociatorByTracks::associateRecoToSim(), TrackAssociatorByHitsImpl::associateRecoToSim(), TrackAssociatorByPositionImpl::associateRecoToSim(), QuickTrackAssociatorByHitsImpl::associateRecoToSimImplementation(), VertexAssociatorByTracks::associateSimToReco(), TrackAssociatorByHitsImpl::associateSimToReco(), TrackAssociatorByPositionImpl::associateSimToReco(), QuickTrackAssociatorByHitsImpl::associateSimToRecoImplementation(), sistrip::badStripFromFedErr(), sistrip::badStripFromFedErrLegacyDQMFile(), PatTrackAnalyzer::beginJob(), beginServer(), CSCStubMatcher::bestAlctInChamber(), CSCStubMatcher::bestClctInChamber(), MuonCSCSeedFromRecHits::bestEndcapHit(), CSCStubMatcher::bestLctInChamber(), L1TPhase2GMTEndcapStubProcessor::buildCSCOnlyStub(), L1TDTTFClient::buildHighQualityPlot(), L1TPhase2GMTEndcapStubProcessor::buildRPCOnlyStub(), L1TMuonBarrelKalmanStubProcessor::buildStub(), L1TPhase2GMTBarrelStubProcessor::buildStubNoEta(), L1TMuonBarrelKalmanStubProcessor::buildStubNoEta(), CSCTFPtLUT::calcPt(), OMTFSorter< GoldenPatternType >::candidates(), CSCTFPtMethods::chargeValid(), CSCCathodeLCTProcessor::constructCLCT(), PFAlgo::conversionAlgo(), Phase2L1GMT::TrackConverter::convert(), L1TMuonBarrelKalmanAlgo::convertToBMTF(), MuonPathAssociator::correlateMPaths(), L1MuGMTMerger::createDTCSCCand(), p2eg::GCTcluster_t::createL1TEGamma(), PFCand_AssoMapAlgos::createMappings(), PF_PU_AssoMapAlgos::createMappings(), L1MuGMTMerger::createRPCCand(), JetTracksAssociationDR::createTrackRefs(), CSCALCTPreTriggerDigi::CSCALCTPreTriggerDigi(), CSCTFMuonSorter::decodeRank(), PF_PU_AssoMapAlgos::DefineQuality(), BeamSpotDipServer::dqmBeginRun(), BeamSpotDipServer::dqmEndLuminosityBlock(), TrackIPHistograms< T >::fill(), SiStripMonitorPedestals::fillCondDBMEs(), MuDTTPGPhiFlatTableProducer::fillTable(), MuonIdProducer::fillTrackerKink(), MuonKinkFinder::fillTrkKink(), MPQualityEnhancerFilterBayes::filterCousins(), CSCUpgradeCathodeLCTProcessor::findLCTs(), CSCCathodeLCTProcessor::findLCTs(), gpuVertexFinder::for(), CastorDigiMonitor::getDbData(), sistriptools::algorithm::SingleMultiplicity< T >::getEvent(), OMTFProcessor< GoldenPatternType >::getFinalcandidates(), PtAssignmentEngineAux::getGMTQuality(), L1MuBMExtrapolationUnit::getQuality(), L1MuDTExtrapolationUnit::getQuality(), DTTriggerEfficiencyTask::hasRPCTriggers(), HcalChannelQualityGPU::HcalChannelQualityGPU(), CSCMake2DRecHit::hitFromStripAndWire(), HLTMuonL1TFilter::hltFilter(), HLTMuonL1RegionalFilter::hltFilter(), HLTMuonL1TRegionalFilter::hltFilter(), HLTMuonL1Filter::hltFilter(), RPCPacData::init(), JetIDSelectionFunctor::initialize(), MeasurementTrackerImpl::initializePixelStatus(), MeasurementTrackerImpl::initializeStripStatus(), RPCPacData::insertQualityRecord(), PFMuonAlgo::isGlobalLooseMuon(), PFMuonAlgo::isGlobalTightMuon(), PFMuonAlgo::isTrackerLooseMuon(), noPuUtils::isVertexAssociated(), noPuUtils::isVertexAssociated_fast(), JetIDSelectionFunctor::JetIDSelectionFunctor(), CSCSectorReceiverLUT::localPhi(), QualityCutsAnalyzer::LoopOverJetTracksAssociation(), CSCCathodeLCTProcessor::markBusyKeys(), GlobalCosmicMuonTrajectoryBuilder::match(), reco::tau::qcuts::minPackedCandVertexWeight(), PFTauMiniAODPrimaryVertexProducer::nonTauTracksInPVFromPackedCands(), btag::LeptonSelector::operator()(), operator<<(), PromptTrackCountingComputer::orderedSignificances(), SiStripHitEfficiencyHarvester::printAndWriteBadModules(), HistogramProbabilityEstimator::probability(), l1t::Stage1Layer2TauAlgorithmImpPP::processEvent(), l1t::Stage1Layer2TauAlgorithmImpHW::processEvent(), Phase2L1GMT::TrackMuonMatchAlgorithm::processTrack(), SiPixelROCsStatusAndMappingWrapperESProducer::produce(), LightPFTrackProducer::produce(), SiStripClusterizerConditionsESProducer::produce(), PFConversionProducer::produce(), SiStripClusterizerConditionsGPUESProducer::produce(), l1tpf::PFTrackProducerFromL1Tracks::produce(), pat::L1MuonMatcher::produce(), PFTrackProducer::produce(), CSCTFUnpacker::produce(), SiStripBadModuleConfigurableFakeESSource::produce(), PuppiProducer::produce(), pat::PATPackedCandidateProducer::produce(), SeedProducerFromSoAT< TrackerTraits >::produce(), HLTL1TMuonSelector::produce(), HLTL1MuonSelector::produce(), HLTL1MuonNoL2Selector::produce(), PFPileUp::produce(), HLTScoutingPFProducer::produce(), PF_PU_FirstVertexTracks::produce(), PixelTrackProducerFromSoAT< TrackerTraits >::produce(), PFCand_NoPU_WithAM::produce(), L2MuonSeedGeneratorFromL1T::produce(), L2MuonSeedGenerator::produce(), SiStripQualityESProducer::produce(), TriggerMatcherToHLTDebug::produce(), GoodSeedProducer::produce(), L1EGCrystalClusterEmulatorProducer::produce(), ecaldqm::TimingClient::producePlots(), ecaldqm::OccupancyClient::producePlots(), ecaldqm::MLClient::producePlots(), noPuUtils::promoteAssocToHSAssoc(), QcdUeDQM::QcdUeDQM(), L1MuBMAssignmentUnit::QuaAU(), L1MuDTAssignmentUnit::QuaAU(), L1MuBMAssignmentUnit::Quality(), btagbtvdeep::quality_from_pfcand(), BeamSpotDipServer::readRcd(), readRcd(), CocoaAnalyzer::readXMLFile(), RecoTrackSelectorBase::RecoTrackSelectorBase(), L1MuonSeededTrackingRegionsProducer::regions(), XrdAdaptor::RequestManager::reportSiteChange(), RPCMuon::RPCMuon(), RPCPacData::RPCPacData(), CSCTFMuonSorter::run(), RPCPac::runEnergeticPatternsGroups(), RPCPac::runTrackPatternsGroup(), MuonPathAnalyticAnalyzer::segment_fitter(), ME0TriggerPseudoBuilder::segmentConversion(), MuonCSCSeedFromRecHits::segmentQuality(), L2TauNNProducer::selectGoodTracksAndVertices(), RPCPacMuon::setAll(), CSCALCTPreTriggerDigi::setQuality(), RPCMuon::setQuality(), CSCALCTDigi::setQuality(), CSCCLCTDigi::setQuality(), pat::Muon::setSimMatchQuality(), pat::PackedCandidate::setTrackProperties(), L1DummyProducer::SimpleDigi(), stripgpu::SiStripClusterizerConditionsGPU::SiStripClusterizerConditionsGPU(), PF_PU_AssoMapAlgos::SortAssociationMap(), PFCand_AssoMapAlgos::SortPFCandAssociationMap(), RPCPatternsParser::startElement(), L1MuGMTLFSortRankPtQLUT::TheLookupFunction(), RPCTBMuon::FSBOut::toBits(), CSCTFPtLUT::trackQuality(), nano_mu::DTTrigGeomUtils::trigToReco(), BeamSpotDipServer::trueRcd(), trueRcd(), and SiStripHitEfficiencyHarvester::writeBadStripPayload().

◆ rad2urad

const int rad2urad = 1000000

Definition at line 25 of file beamSpotDipStandalone.cc.

Referenced by BeamSpotDipServer::trueRcd(), and trueRcd().

◆ rmsPV

float rmsPV = 0

◆ runnum

int runnum

◆ secPerLS

const int secPerLS = 23

Definition at line 24 of file beamSpotDipStandalone.cc.

Referenced by problem().

◆ sigma_z

float sigma_z = 0

◆ Size

float Size[3]

◆ sourceFile

string sourceFile = "/nfshome0/dqmpro/BeamMonitorDQM/BeamFitResultsForDIP.txt"

◆ sourceFile1

string sourceFile1 = "/nfshome0/dqmpro/BeamMonitorDQM/BeamFitResultsOld_TkStatus.txt"

◆ startTime

string startTime

Definition at line 48 of file beamSpotDipStandalone.cc.

Referenced by main(), readRcd(), and trueRcd().

◆ startTimeStamp

time_t startTimeStamp = 0

◆ subjectCMS

const string subjectCMS = "dip/CMS/Tracker/BeamSpot"

◆ subjectLHC

const string subjectLHC = "dip/CMS/LHC/LuminousRegion"

◆ subjectPV

const string subjectPV = "dip/CMS/Tracker/PrimaryVertices"

◆ testing

bool testing = false

◆ Tilt

float Tilt[2]

◆ timeoutLS

const int timeoutLS[2] = {1, 2}

◆ type

int type = -1

Definition at line 54 of file beamSpotDipStandalone.cc.

◆ verbose

bool verbose = false

Definition at line 87 of file beamSpotDipStandalone.cc.

Referenced by L1TdeGCT::analyze(), L1TDEMON::analyze(), BeamSpotDipServer::analyze(), HIPTwoBodyDecayAnalyzer::analyzeTrackCollection(), SlidingPeakFinder::apply(), apply_filter(), FFTJetCorrectionProducer::applyCorrections(), BeamSpotDipServer::BeamSpotDipServer(), L1TdeGCT::bookHistograms(), L1TDEMON::bookHistograms(), buildCorrectorSequence(), buildLookupTables(), reco::FlavorHistoryEvent::cache(), HltDiff::compare(), AngleCalculation::configure(), BestTrackSelection::configure(), PrimitiveSelection::configure(), SingleHitTrack::configure(), PrimitiveConversion::configure(), PrimitiveMatching::configure(), PatternRecognition::configure(), PtAssignment::configure(), PtAssignmentEngineDxy::configure(), PtAssignmentEngine::configure(), SectorProcessor::configure(), heppy::Davismt2::Davismt2(), SiStripCondObjectRepresent::SiStripCondDataItem< type >::detIds(), BeamSpotDipServer::dqmEndLuminosityBlock(), DQMService::DQMService(), mkfit::execTrackerInfoCreatorPlugin(), TrigObjTnPHistColl::PathSelector::expandPath(), TrigObjTnPHistColl::PathSelector::expandSelectionStr(), OptOSensor2D::fastTraversesLightRay(), PFJetFilter::filter(), GenHFHadronMatcher::findInMothers(), MultiVertexFitter::fit(), FlavorHistoryFilter::FlavorHistoryFilter(), SideBandSubtract::getYield(), JetMETDQMDCSFilter::JetMETDQMDCSFilter(), L1Analysis::L1AnalysisCaloTP::L1AnalysisCaloTP(), L1Analysis::L1AnalysisGCT::L1AnalysisGCT(), L1DummyProducer::L1DummyProducer(), L1EmulBias::L1EmulBias(), L1TdeGCT::L1TdeGCT(), L1TDEMON::L1TDEMON(), loadFFTJetInterpolationTable(), reco::details::loadTMVAWeights(), MultiVertexFitter::lostVertexClaimer(), main(), CMSG4CheckOverlap::makeReportForOverlaps(), jpt::Map::Map(), GEMRecHitMatcher::matchRecHitsToSimTrack(), heppy::Davismt2::mt2_bisect(), heppy::Davismt2::mt2_massless(), node_filter(), TtDecayChannelSelector::operator()(), parseFFTJetCorrector(), parseFFTJetScaleCalculator(), PFJetFilter::PFJetFilter(), polling(), presort(), presort_egamma(), SideBandSubtract::printResults(), BeamSpotDipServer::problem(), problem(), LHECOMWeightProducer::produce(), L1EmulBias::produce(), L1DummyProducer::produce(), FFTJetLookupTableESProducer< CT >::produce(), FFTJetCorrectionESProducer< CT >::produce(), BeamSpotDipServer::publishRcd(), publishRcd(), BeamSpotDipServer::readRcd(), readRcd(), L1TTwinMuxAlgorithm::run(), l1ct::L2EgSorterEmulator::setDebug(), l1ct::PFTkEGAlgoEmulator::setDebug(), PFPileUpAlgo::setVerbose(), TH1Store::setVerbose(), QCriterion::setVerbose(), PFECALSuperClusterAlgo::setVerbosityLevel(), sort_by_row_in_groups(), super_sort_matrix_rows(), MultiVertexFitter::updateSeeds(), MultiVertexFitter::updateWeights(), MultiVertexReconstructor::vertices(), and MultiVertexFitter::vertices().

◆ width_x

float width_x = 0

◆ width_y

float width_y = 0

◆ x

float x = 0

Definition at line 55 of file beamSpotDipStandalone.cc.

Referenced by gpuPixelRecHits::__attribute__(), cms::cuda::OneToManyAssoc< I, NHISTS *NBINS+1, SIZE >::__attribute__(), cms::cudacompat::__ldg(), cms::cudacompat::__syncthreads_and(), cms::cudacompat::__syncthreads_or(), conifer::BDT< bdt_feature_t, ap_fixed< 12, 3, AP_RND_CONV, AP_SAT >, false >::_decision_function_double(), HcalOnlineHarvesting::_dqmEndLuminosityBlock(), PFEnergyCalibration::aBarrel(), BPHFittedBasicSelect::accept(), sistrip::LinearFit::add(), l1t::demo::EventData::add(), sistrip::MeanAndStdDev::add(), mkfit::Pool< mkfit::MkFitter >::addBack(), reco::PFRecHit::addNeighbour(), ParabolaFit::addPoint(), trklet::SLHCEvent::addStub(), PFEnergyCalibration::aEndcap(), PFEnergyCalibration::aEtaBarrelEH(), PFEnergyCalibration::aEtaBarrelH(), PFEnergyCalibration::aEtaEndcapEH(), PFEnergyCalibration::aEtaEndcapH(), algorithm(), almost_equal(), angle_units::operators::almostEqual(), RPCDigiValid::analyze(), tadqm::TrackAnalyzer::analyze(), analyzer::SiPixelLorentzAngle::analyze(), PFAnalysis::analyze(), dqm::DQMFileSaverOnline::appendSnapshot(), SignedTransverseImpactParameter::apply(), edm::HepMCProduct::applyVtxGen(), approx_atan2f_P< 11 >(), approx_atan2f_P< 13 >(), approx_atan2f_P< 15 >(), approx_atan2f_P< 3 >(), approx_atan2f_P< 5 >(), approx_atan2f_P< 7 >(), approx_atan2f_P< 9 >(), approx_atan2i_P< 11 >(), approx_atan2i_P< 13 >(), approx_atan2i_P< 15 >(), approx_atan2i_P< 3 >(), approx_atan2i_P< 5 >(), approx_atan2i_P< 7 >(), approx_atan2i_P< 9 >(), approx_atan2s_P< 3 >(), approx_atan2s_P< 5 >(), approx_atan2s_P< 7 >(), approx_atan2s_P< 9 >(), approx_erf(), approx_expf(), approx_logf(), ticl::assignPCAtoTracksters(), PFAnalysis::associateClusterToSimCluster(), edm::ThinnedAssociationsHelper::associationToBranches(), fastmath::atan2r(), PFEnergyCalibration::bBarrel(), ESDaqInfoTask::beginJob(), ESDaqInfoTask::beginLuminosityBlock(), PFEnergyCalibration::bEndcap(), p2eg::bestOf2(), PFEnergyCalibration::bEtaBarrelEH(), PFEnergyCalibration::bEtaBarrelH(), PFEnergyCalibration::bEtaEndcapEH(), PFEnergyCalibration::bEtaEndcapH(), npstat::NUHistoAxis::binNumber(), npstat::HistoAxis::binNumber(), npstat::DualHistoAxis::binNumber(), ME0GeometryBuilder::boundPlane(), GEMGeometryBuilder::boundPlane(), gen::HijingHadronizer::build_hijing(), gen::HijingHadronizer::build_hijing_vertex(), gen::HydjetHadronizer::build_hyjet(), gen::Hydjet2Hadronizer::build_hyjet2_vertex(), gen::HydjetHadronizer::build_hyjet_vertex(), RPCGeometryBuilder::buildGeometry(), edm::TypeWithDict::byName(), GlobalHaloAlgo::Calculate(), CalculateCorrection(), ESIntegrityTask::calculateDIFraction(), HGCalImagingAlgo::calculatePosition(), HGCalImagingAlgo::calculatePositionWithFraction(), ThirdHitPrediction::calculateRangesForward(), CalculateResponse(), gpuCalibPixel::calibDigis(), hitfit::Base_Constrainer::call_constraint_fcn(), reco::GhostTrackPrediction::cartesianError(), cast_to_L1TMuonGlobalParams(), cast_to_L1TMuonGlobalParams_PUBLIC(), edm::service::MessageServicePSetValidation::catBoolRestriction(), edm::service::MessageServicePSetValidation::catInts(), edm::service::MessageServicePSetValidation::catNone(), PFEnergyCalibration::cBarrel(), l1ct::ceillog2(), L1TauEmu::ceillog2(), PFEnergyCalibration::cEndcap(), EcalCrystalMatrixProbality< T >::Central(), PFEnergyCalibration::cEtaBarrelEH(), PFEnergyCalibration::cEtaBarrelH(), PFEnergyCalibration::cEtaEndcapEH(), PFEnergyCalibration::cEtaEndcapH(), cscdqm::Summary::ChamberAddressToCoords(), cscdqm::Summary::ChamberCoordsToAddress(), SiPixelPI::checkAnswerOK(), mkfit::Shell::CheckMkFitLayerPlanVsReferenceHits(), OuterDetCompatibility::checkPhi(), RPCSeedPattern::checkStraightwithThreerecHits(), GlobalTrackingRegion::checkTracks(), CosmicTrackingRegion::checkTracks(), RectangularEtaPhiTrackingRegion::checkTracks(), clean(), mkfit::Event::clean_cms_seedtracks(), mkfit::StdSeq::clean_cms_seedtracks_iter(), fftjetcms::LookupTable2d::closest(), npstat::ArrayND< Numeric >::closest(), npstat::HistoAxis::closestValidBin(), npstat::NUHistoAxis::closestValidBin(), npstat::DualHistoAxis::closestValidBin(), edm::EventSelector::combine(), CompareTime(), CompareTowers(), hcal::reconstruction::compute_reco_correction_factor(), pixelCPEforGPU::computeAnglesFromDet(), RPCSeedPattern::computePtwithThreerecHits(), RPCSeedPattern::computePtWithThreerecHits(), barrelUtil::computeWindowSize(), mkfit::conformalFitMPlex(), hitfit::Fourvec_Constrainer::constrain(), HcalBarrelAlgo::constructInsideDetectors(), HcalBarrelAlgo::constructInsideLayers(), npstat::convertToHistoAxis(), npstat::ArrayND< Numeric >::coordToIndex(), l1tmhtemu::cordicSqrt(), VVIObjDetails::cosint(), sistripvvi::VVIObjDetails::cosint(), align::createPoints(), cross2(), cross3(), crystalball(), l1ct::CTtoGT_eta(), l1ct::CTtoGT_phi(), l1ct::CTtoGT_pt(), mkfit::cube(), tmtt::ChiSquaredFit4::D(), DDCompareDDRotMat(), DDcreateRotationMatrix(), DDrot(), DDrotReflect(), pos::PixelFEDTestDAC::decimalToBaseX(), conifer::DecisionTree< T, U >::decision_function(), conifer::BDT< bdt_feature_t, ap_fixed< 12, 3, AP_RND_CONV, AP_SAT >, false >::decision_function(), l1t::demo::codecs::decodeEtSums(), l1t::demo::codecs::decodeHtSums(), l1t::demo::codecs::decodeVertices(), PhysicsTools::Spline::deriv(), PhysicsTools::Spline::Segment::deriv(), mkfit::Pool< mkfit::MkFitter >::destroy(), PFEnergyCalibration::dEtaEndcapEH(), PFEnergyCalibration::dEtaEndcapH(), cscdqm::Detector::Detector(), EcalCrystalMatrixProbality< T >::Diagonal(), IntegralOverPhiFunction::DoEvalPar(), IntegrandThetaFunction::DoEvalPar(), dqm::impl::MonitorElement::doFill(), edmtest::OtherThingAnalyzer::doit(), DDTECModuleAlgo::doPos(), dot(), dot2(), FitterFuncs::PulseShapeFunctor::doublePulseShapeFunc(), l1ttrackjet::DPhi(), hcaldqm::utilities::dqmdebug(), MuonRecoTest::dqmEndJob(), dqmservices::DQMMonitoringService::DQMMonitoringService(), fwlite::Scanner< Collection >::draw2D(), DrawEB(), drawTable(), HcalObjRepresent::drawTable(), SiPixelPI::dress_occup_plot(), PixelROCMapHelper::dress_plot(), hcaldqm::ContainerXXX< int >::dump(), funct::HistoPdf::dump(), EcalAlignmentXMLTranslator::dumpXML(), edm::NavigateEventsLooper::duringLoop(), ecalRecHitGreater(), editBoolParameter(), PhysicsTools::Calibration::Histogram< float >::error(), PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::error(), PhysicsTools::Calibration::Histogram3D< Value_t, AxisX_t, AxisY_t, AxisZ_t >::error(), pixelCPEforGPU::errorFromDB(), hf_egamma::eSeLCorrected(), Chi2Strip1DEstimator::estimate(), kinem::eta(), fastmath::etaphi(), metsig::SignAlgoResolutions::EtFunction(), PhysicsTools::Spline::eval(), PhysicsTools::Spline::Segment::eval(), metsig::SignAlgoResolutions::eval(), hitfit::Fourvec_Constraint_Calculator::eval(), trklet::TrackletCalculatorDisplaced::exactprojdisk(), DDHCalTBZposAlgo::execute(), DDPixFwdBlades::execute(), edm::EventSelector::expandDecisionList(), VVIObjDetails::expint(), VVIObjFDetails::expint(), sistripvvi::VVIObjDetails::expint(), hcaldqm::ContainerSingle1D::extendAxisRange(), hcaldqm::ContainerSingle2D::extendAxisRange(), hcaldqm::Container1D::extendAxisRange(), DDI::ExtrudedPolygon::ExtrudedPolygon(), F(), sistripvvi::VVIObjDetails::f1(), sistripvvi::VVIObjDetails::f2(), myMath::fast_expf(), myMath::fast_logf(), sistripvvi::VVIObj::fcn(), fdecay(), fdeconv(), fdeconv_convoluted(), LMFDat::fetch(), hcaldqm::ContainerI::fill(), hcaldqm::ContainerS::fill(), hcaldqm::ContainerSingleProf2D::fill(), hcaldqm::ContainerSingle1D::fill(), hcaldqm::Container2D::fill(), hcaldqm::ContainerSingle2D::fill(), hcaldqm::ContainerProf2D::fill(), hcaldqm::Container1D::fill(), PVValHelper::fill(), dqm::impl::MonitorElement::Fill(), CSCValHists::fill1DHist(), CSCValHists::fill1DHistByChamber(), CSCValHists::fill1DHistByCrate(), CSCValHists::fill1DHistByLayer(), CSCValHists::fill1DHistByStation(), CSCValHists::fill1DHistByType(), CSCValHists::fill2DHist(), CSCValHists::fill2DHistByChamber(), CSCValHists::fill2DHistByCrate(), CSCValHists::fill2DHistByEvent(), CSCValHists::fill2DHistByLayer(), CSCValHists::fill2DHistByStation(), CSCValHists::fill2DHistByType(), CSCValHists::fill2DProfile(), ecaldqm::MESet::fill_(), diMuonMassBias::fillArrayF(), diMuonMassBias::fillArrayI(), PVValHelper::fillByIndex(), DMRChecker::fillByIndex(), CSCValHists::fillCalibHist(), MuonPFAnalyzer::fillInRange(), HcalObjRepresent::fillOneGain(), PixelCPEFast< TrackerTraits >::fillParamsForGpu(), CSCValHists::fillProfile(), CSCValHists::fillProfileByChamber(), CSCValHists::fillProfileByType(), CSCValHists::fillRechitTree(), CSCValHists::fillSegmentTree(), PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::findBin(), PhysicsTools::Calibration::Histogram3D< Value_t, AxisX_t, AxisY_t, AxisZ_t >::findBin(), ThirdHitPrediction::findRectangle(), tmtt::ChiSquaredFitBase::fit(), DTLinearFit::fit(), emtf::Huber::fit(), hitfit::Chisq_Constrainer::fit(), fitf(), fitFunction_f(), ThirdHitPrediction::fitParabola(), conifer::floorlog2(), L1TauEmu::floorlog2(), npstat::NUHistoAxis::fltBinNumber(), npstat::DualHistoAxis::fltBinNumber(), npstat::HistoAxis::fltBinNumber(), l1t::demo::BoardDataWriter::flush(), fnc_dscb(), fpeak(), fpeak_convoluted(), approx_math::fpfloor(), l1t::demo::Frame::Frame(), fturnOn(), ParabolaFit::fun(), root::helper::RootFunctionHelper< F, args, Tag >::fun_(), GammaContinuedFraction(), GammaSeries(), Vx3DHLTAnalyzer::Gauss3DFunc(), Gaussian(), PPSFastLocalSimulation::Distribution::Generate(), FullModelReactionDynamics::GenerateXandPt(), HepMCValidationHelper::genMet(), funct::Master< F >::get(), GlobalCoordsObtainer::get_global_coordinates(), TMTQ::getAmpl(), TAPD::getAPD(), TAPD::getAPDoAPD0(), TAPD::getAPDoAPD1(), TAPD::getAPDoPN(), TAPD::getAPDoPN0(), TAPD::getAPDoPN1(), getBin(), Rivet::HiggsTemplateCrossSections::getBin(), ecaldqm::MESetProjection::getBinContent(), hcaldqm::ContainerSingle1D::getBinContent(), hcaldqm::ContainerSingle2D::getBinContent(), hcaldqm::Container2D::getBinContent(), hcaldqm::Container1D::getBinContent(), L1TOccupancyClient::getBinCoordinateOnAxisWithValue(), ecaldqm::MESetProjection::getBinEntries(), hcaldqm::ContainerSingle1D::getBinEntries(), hcaldqm::Container2D::getBinEntries(), hcaldqm::ContainerSingle2D::getBinEntries(), hcaldqm::Container1D::getBinEntries(), ecaldqm::MESetProjection::getBinError(), EcalClusterIsoCalculator::getBkgSubEcalClusterIso(), HcalRechitIsoCalculator::getBkgSubHcalRechitIso(), magfieldparam::TkBfield::getBrfz(), magfieldparam::TkBfield::getBxyz(), egamma::conv::getConversionInfo(), EcalClusterIsoCalculator::getEcalClusterIso(), mkfit::getEta(), mkfit::getEtaErr2(), TMTQ::getFit(), cond::payloadInspector::Histogram2D< PayloadType, IOV_M >::getFromPayload(), metsig::SignAlgoResolutions::getfunc(), TMTQ::getFw20(), TMTQ::getFw80(), TMTQ::getFwhm(), HcalRechitIsoCalculator::getHcalRechitIso(), getHcalSingleObject(), mkfit::getHypot(), gpuClustering::pixelStatus::getIndex(), npstat::UniformAxis::getInterval(), npstat::DualAxis::getInterval(), npstat::GridAxis::getInterval(), mkfit::getInvRad2(), mkfit::getInvRadErr2(), hcaldqm::quantity::getLabels_TTSubdetPM(), reco::TaggingVariableList::getList(), heppy::BTagSF::getMistag(), reco::PFRecHit::getNeighbour(), TMTQ::getPeak(), p2eg::getPeakBin15N(), TMTQ::getPed(), TMTQ::getPedsig(), mkfit::getPhi(), mkfit::getPhiErr2(), TPN::getPN(), TPN::getPNoPN(), TPN::getPNoPN0(), TPN::getPNoPN1(), mkfit::getRad2(), mkfit::getRadErr2(), GetRandom(), heppy::BTagSF::getSFb(), heppy::BTagSF::getSFc(), heppy::BTagSF::getSFl(), gpuClustering::pixelStatus::getShift(), TMTQ::getSigma(), TMTQ::getSliding(), gpuClustering::pixelStatus::getStatus(), mkfit::getThetaErr2(), TAPD::getTime(), TMTQ::getTrise(), hcaldqm::quantity::Quantity::getValue(), hcaldqm::quantity::ValueQuantity::getValue(), hcaldqm::quantity::getValue_ieta(), hcaldqm::quantity::getValue_TTSubdetPM(), MEEBGeom::globalCoord(), reco::helper::hasNonPositiveE(), DDHCalEndcapModuleAlgo::HcalEndcapPar::HcalEndcapPar(), HCalEndcapModuleAlgo::HcalEndcapPar::HcalEndcapPar(), reco::HGCalMultiCluster::HGCalMultiCluster(), mkfit::hipo(), mkfit::hipo_sqr(), l1ct::idx_from_real_val(), L1TauEmu::idx_from_real_val(), gen::Pythia6Hadronizer::imposeProperTime(), l1ct::init_invert_table(), L1TauEmu::init_invert_table(), P2L1HTMHTEmu::init_sinphi_table(), edm::ThinnedAssociationsHelper::initAssociationsFromSecondary(), InnerDeltaPhi::InnerDeltaPhi(), int2dphi(), int2phi(), PhysicsTools::Spline::integral(), PhysicsTools::Spline::Segment::integral(), HCALResponse::interMU(), npstat::ArrayND< Numeric >::interpolate1(), npstat::interpolate_cubic(), npstat::interpolate_linear(), npstat::interpolate_quadratic(), npstat::interpolateHistoND(), interpolateLinear(), npstat::ArrayND< Numeric >::interpolateLoop(), interpolateSimple(), fftjetcms::LinInterpolatedTable1D::interpolateSimple(), interpolateStep(), intGauss(), reco::InverseCrosstalkMatrix::InverseCrosstalkMatrix(), npstat::LinInterpolatedTableND< Numeric, Axis >::invert1DResponse(), npstat::LinInterpolatedTableND< Numeric, Axis >::invertRatioResponse(), isClusterEtLess(), gpuClustering::pixelStatus::isDuplicate(), mkfit::isFinite(), edm::isFinite(), edm::isNotFinite(), JetAnalyzer::jetSortingRule(), trklet::L1TStub::L1TStub(), mkfit::Shell::LabelFromHits(), rpcdqm::utils::labelXAxisSector(), rpcdqm::utils::labelXAxisSegment(), TFParams::lastShape(), TFParams::lastShape2(), npstat::Private::lind_interpolateSimple(), linear(), linearFit(), npstat::UniformAxis::linearInterval(), npstat::DualAxis::linearInterval(), npstat::GridAxis::linearInterval(), FWPFMaths::lineCircleIntersect(), fftjetcms::LinInterpolatedTable1D::LinInterpolatedTable1D(), hcaldqm::ContainerXXX< int >::load(), logarithm(), lorentzianPeak(), edm::ThinnedAssociationsHelper::lower_bound(), main(), mkfit::Pool< mkfit::MkFitter >::makeOrGet(), cms::makeRotReflect(), ticl::PatternRecognitionbyCLUE3D< TILES >::makeTracksters(), SiPixelLAHarvestMCS::MCSFitFunction(), SiStripGainFromCalibTree::merge(), l1t::demo::BoardDataReader::mergeMaps(), l1t::demo::BoardDataWriter::mergeMaps(), RPCSeedPattern::MiddlePointsAlgorithm(), TFParams::mixShape(), muonisolation::CaloExtractor::MuonAtCaloPosition(), MuonResidualsFitter_logGaussPowerTails(), MuonResidualsFitter_logPureGaussian2D(), mybw(), magfieldparam::bcylDetails::myExp(), mygauss(), edm::service::MessageServicePSetValidation::noneExcept(), normal_pdf(), PhysicsTools::Calibration::Histogram< float >::normalizedError(), PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::normalizedError(), PhysicsTools::Calibration::Histogram3D< Value_t, AxisX_t, AxisY_t, AxisZ_t >::normalizedError(), PhysicsTools::Calibration::Histogram< float >::normalizedValue(), PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::normalizedValue(), PhysicsTools::Calibration::Histogram3D< Value_t, AxisX_t, AxisY_t, AxisZ_t >::normalizedValue(), fit::HistoChiSquare< T >::numberOfBins(), fit::HistoPoissonLikelihoodRatio< T >::numberOfBins(), oneOverEtResolEt(), TransientVertex::operator reco::VertexCompositePtrCandidate(), geant_units::operators::operator"" _ns(), angle_units::operators::operator"" _pi(), geant_units::operators::operator"" _s(), funct::Identity::operator()(), funct::CompositionStruct< A, B >::operator()(), funct::RatioStruct< A, B >::operator()(), funct::ProductStruct< A, B >::operator()(), funct::PowerStruct< A, B >::operator()(), funct::SumStruct< A, B >::operator()(), funct::MinusStruct< A >::operator()(), cond::persistency::IOVComp::operator()(), funct::Polynomial< n >::operator()(), funct::Exponential::operator()(), reco::parser::abs_f::operator()(), funct::BreitWigner::operator()(), siPixelLACalibration::Chebyshev::operator()(), funct::Master< F >::operator()(), funct::Gaussian::operator()(), reco::parser::acos_f::operator()(), funct::ConvolutionStruct< A, B, Integrator >::operator()(), reco::parser::asin_f::operator()(), reco::parser::atan_f::operator()(), fit::HistoChiSquare< T >::operator()(), fit::HistoPoissonLikelihoodRatio< T >::operator()(), reco::parser::atan2_f::operator()(), reco::parser::chi2prob_f::operator()(), reco::parser::cos_f::operator()(), reco::parser::cosh_f::operator()(), npstat::CircularMapper1d::operator()(), funct::HistoPdf::operator()(), SiPixelTemplateReco2D::ClusMatrix::operator()(), npstat::LinearMapper1d::operator()(), funct::NumericalIntegral< Integrator, F, X >::function::operator()(), reco::parser::exp_f::operator()(), reco::parser::hypot_f::operator()(), reco::RefHBHERecHitEnergyComparison::operator()(), reco::parser::log_f::operator()(), reco::parser::log10_f::operator()(), funct::Slave< F >::operator()(), fftjetcms::LinInterpolatedTable1D::operator()(), reco::parser::max_f::operator()(), funct::Polynomial< 1 >::operator()(), reco::parser::min_f::operator()(), funct::FunctExpressionT< F >::operator()(), reco::parser::pow_f::operator()(), reco::parser::sin_f::operator()(), reco::parser::sinh_f::operator()(), reco::parser::sqrt_f::operator()(), reco::parser::tan_f::operator()(), funct::Polynomial< 2 >::operator()(), SiPixelTemplateReco::ClusMatrix::operator()(), funct::FunctExpression::operator()(), reco::parser::tanh_f::operator()(), theLHCInfoImpl::IOVComp::operator()(), funct::DefIntegral< F, MIN, MAX, no_var, X >::operator()(), cond::persistency::IOVRunComp::operator()(), cond::persistency::IOVTimeComp::operator()(), funct::DefIntegral< F, MIN, MAX, Integrator, no_var >::operator()(), funct::DefIntegral< F, MIN, MAX, no_var, no_var >::operator()(), npstat::FcnFunctor2< Result, Arg1, Arg2 >::operator()(), npstat::FcnFunctor3< Result, Arg1, Arg2, Arg3 >::operator()(), fftjetcms::Polynomial::operator()(), de_rank< T >::operator()(), operator*(), l1t::ClusterShapes::operator+(), operator+(), l1t::ClusterShapes::operator+=(), operator-(), operator/(), l1t::demo::operator<(), edm::operator<(), hitfit::Lepjets_Event_Lep::operator<(), dqm::impl::MonitorElement::operator<(), AlignmentPI::operator<<(), operator==(), fastsim::MultipleScattering::orthogonal(), npstat::HistoAxis::overflowIndexWeighted(), barrelUtil::overlap(), tkDetUtil::overlapInPhi(), p1evlf(), logintpack::pack16log(), logintpack::pack16logCeil(), logintpack::pack16logClosed(), logintpack::pack8log(), logintpack::pack8logCeil(), logintpack::pack8logClosed(), reco::TrackResiduals::pack_pull(), reco::TrackResiduals::pack_residual(), edm::ThinnedAssociationsHelper::parentBegin(), edm::ThinnedAssociationsHelper::parentEnd(), reco::ParticleState::ParticleState(), fastsim::MuonBremsstrahlung::PetrukhinFunc(), reco::PFCluster::PFCluster(), kinem::phi(), phi2int(), phi2short(), P2L1HTMHTEmu::phi_cordic(), metsig::SignAlgoResolutions::PhiFunction(), DTLocalTriggerBaseTest::phiRange(), hitfit::Resolution::pick(), DTGeometryBuilderFromDDD::plane(), DTGeometryParsFromDD::plane(), PlotDebugFPIX_XYMap(), Pol2(), Pol2_Special(), polevlf(), reco::BeamSpot::position(), reco::GhostTrackPrediction::positionError(), conifer::pow(), conifer::pow2(), L1TauEmu::pow2(), geometryDetails::print2D(), geometryDetails::print3D(), mkfit::TrackerInfo::print_tracker(), L1TOccupancyClient::printDeadChannels(), l1tVertexFinder::VertexFinder::printHistogram(), printRot(), tfwliteselectortest::ThingsWorker::process(), tfwliteselectortest::ThingsTSelector::process(), edm::CloseByParticleGunProducer::produce(), NtpProducer< C >::produce(), FakeTrackProducer< T >::produce(), RechitClusterProducerT< Trait >::produce(), CaloGeometryDBEP< T, U >::produceAligned(), gpuClustering::pixelStatus::promote(), AnalyticalPropagator::propagateParametersOnCylinder(), AnalyticalPropagator::propagateParametersOnPlane(), AnalyticalPropagator::propagateWithHelixCrossing(), pulse(), pulse_raw(), pulse_yz(), TFParams::pulseShapepj(), TFParams::pulseShapepj2(), hcaldqm::ContainerXXX< int >::push(), R_min_expected_function(), RPCpg::rate(), l1t::LUT::read(), mkfit::Event::read_in(), l1t::PrescalesVetosHelper::readAndWriteFromEventSetup(), l1t::PrescalesVetosFractHelper::readAndWriteFromEventSetup(), l1t::GlobalParamsHelper::readAndWriteFromEventSetup(), l1t::EndCapParamsHelper::readAndWriteFromEventSetup(), cscdqm::Summary::ReadErrorChambers(), cscdqm::Summary::ReadReportingChambers(), cscdqm::Summary::ReadReportingChambersRef(), popcon::EcalIntercalibHandler::readTXT(), l1ct::real_val_from_idx(), L1TauEmu::real_val_from_idx(), hcaltb::HcalTBTDCUnpacker::reconstructWC(), conifer::reduce(), reco::reduceRange(), magneticfield::volumeHandle::referencePlane(), EcalCrystalMatrixProbality< T >::ReftRight(), HepMCValidationHelper::removeIsolatedLeptons(), l1t::demo::BoardDataWriter::resetBoardData(), tmtt::ChiSquaredFit4::residuals(), hitfit::Resolution::Resolution(), ParabolaFit::result(), root::RooFitFunction< X, Expr >::RooFitFunction(), funct::RootHistoPdf::RootHistoPdf(), gen::PyquenHadronizer::rotateEvtPlane(), DDCoreToDDXMLOutput::rotation(), ecaldqm::PiZeroTask::runOnEBRecHits(), ContentsXRange::runTest(), safe_atan2f(), tmtt::ChiSquaredFit4::seed(), mkfit::MkFinder::selectHitIndices(), hcaldqm::ContainerXXX< int >::set(), external::HEPTopTaggerV2_fixed_R::set_filtering_minpt_subjet(), external::HEPTopTaggerV2::set_filtering_minpt_subjet(), external::HEPTopTaggerV2::set_filtering_optimalR_calc_n(), external::HEPTopTaggerV2::set_filtering_optimalR_calc_R(), external::HEPTopTaggerV2::set_filtering_optimalR_fail_n(), external::HEPTopTaggerV2::set_filtering_optimalR_fail_R(), external::HEPTopTaggerV2::set_filtering_optimalR_pass_n(), external::HEPTopTaggerV2::set_filtering_optimalR_pass_R(), external::HEPTopTaggerV2_fixed_R::set_mass_drop_threshold(), external::HEPTopTaggerV2::set_mass_drop_threshold(), external::HEPTopTaggerV2_fixed_R::set_max_subjet_mass(), external::HEPTopTaggerV2::set_max_subjet_mass(), external::HEPTopTaggerV2_fixed_R::set_mt(), external::HEPTopTaggerV2::set_mt(), external::HEPTopTaggerV2_fixed_R::set_mw(), external::HEPTopTaggerV2::set_mw(), external::HEPTopTaggerV2::set_optimalR_max(), external::HEPTopTaggerV2::set_optimalR_min(), external::HEPTopTaggerV2::set_optimalR_reject_minimum(), external::HEPTopTaggerV2::set_optimalR_step(), external::HEPTopTaggerV2::set_optimalR_threshold(), external::HEPTopTaggerV2::set_optimalR_type_fw(), external::HEPTopTaggerV2::set_optimalR_type_max_diff(), external::HEPTopTaggerV2::set_optimalR_type_top_mass_range(), external::HEPTopTaggerV2_fixed_R::set_top_minpt(), external::HEPTopTaggerV2::set_top_minpt(), reco::BaseTau::setalternatLorentzVect(), reco::CombinedTauTagInfo::setalternatrecJet_HepLV(), reco::HaloClusterCandidateECAL::setBeamHaloRecHitsCandidates(), reco::HaloClusterCandidateHCAL::setBeamHaloRecHitsCandidates(), ecaldqm::MESetProjection::setBinContent(), hcaldqm::ContainerSingle1D::setBinContent(), hcaldqm::ContainerSingle2D::setBinContent(), hcaldqm::Container2D::setBinContent(), hcaldqm::Container1D::setBinContent(), ecaldqm::MESetProjection::setBinEntries(), ecaldqm::MESetProjection::setBinError(), reco::PFTau::setbremsRecoveryEOverPLead(), reco::PFTau::setCaloComp(), reco::HaloClusterCandidateHCAL::setClusterEt(), reco::HaloClusterCandidateECAL::setClusterEt(), reco::HaloClusterCandidateHCAL::setClusterSize(), reco::HaloClusterCandidateECAL::setClusterSize(), reco::CombinedTauTagInfo::setECALEt_o_leadTkPt(), reco::PFTau::setecalStripSumEOverPLead(), reco::PFTau::setelectronPreIDDecision(), reco::PFTau::setelectronPreIDOutput(), reco::PFTau::setelectronPreIDTrack(), reco::PFTau::setemFraction(), cscdqm::EventProcessor::setEmuEventDisplayBit(), reco::HaloClusterCandidateHCAL::setEoverH(), reco::HaloClusterCandidateECAL::setEtStripIPhiSeedMinus1(), reco::HaloClusterCandidateECAL::setEtStripIPhiSeedPlus1(), reco::HaloClusterCandidateHCAL::setEtStripPhiSeedMinus1(), reco::HaloClusterCandidateHCAL::setEtStripPhiSeedPlus1(), fireworks::Context::setGeom(), reco::HaloClusterCandidateHCAL::setH1overH123(), reco::HaloClusterCandidateECAL::setH2overE(), reco::EcalHaloData::setHaloClusterCandidatesEB(), reco::EcalHaloData::setHaloClusterCandidatesEE(), reco::HcalHaloData::setHaloClusterCandidatesHB(), reco::HcalHaloData::setHaloClusterCandidatesHE(), reco::Photon::setHaloTaggerMVAVal(), reco::PFTau::sethcal3x3OverPLead(), reco::CombinedTauTagInfo::setHCALEt_o_leadTkPt(), reco::PFTau::sethcalMaxOverPLead(), reco::PFTau::sethcalTotOverPLead(), fireworks::Context::setHidePFBuilders(), reco::HaloClusterCandidateECAL::setHoverE(), reco::CombinedTauTagInfo::setinfact_GoodElectronCandidate(), reco::CombinedTauTagInfo::setinfact_GoodMuonCandidate(), FitterFuncs::PulseShapeFunctor::setinvertpedSig2(), FitterFuncs::PulseShapeFunctor::setinverttimeSig2(), trklet::SLHCEvent::setIP(), reco::CombinedTauTagInfo::setis_GoodTauCandidate(), reco::HaloClusterCandidateHCAL::setIsHaloFromPattern(), reco::HaloClusterCandidateECAL::setIsHaloFromPattern(), reco::HaloClusterCandidateHCAL::setIsHaloFromPattern_HLT(), reco::HaloClusterCandidateECAL::setIsHaloFromPattern_HLT(), reco::CombinedTauTagInfo::setisolatedtautaginfoRef(), reco::PFTau::setisolationPFChargedHadrCandsPtSum(), reco::PFTau::setisolationPFGammaCandsEtSum(), reco::CombinedTauTagInfo::setisolneutralE(), reco::CombinedTauTagInfo::setisolneutralE_o_TksEneutralE(), reco::CombinedTauTagInfo::setisolneutralEtsum(), reco::CombinedTauTagInfo::setisolTks(), reco::PFTau::setjetRef(), reco::PFTau::setleadPFChargedHadrCandsignedSipt(), reco::CombinedTauTagInfo::setleadTk_signedip3D_significance(), reco::CombinedTauTagInfo::setleadTk_signedipt_significance(), L1TOccupancyClientHistogramService::setMaskedBins(), hcaldqm::quantity::LumiSection::setMax(), hcaldqm::quantity::LumiSectionCoarse::setMax(), reco::PFTau::setmaximumHCALPFClusterEt(), reco::GlobalHaloData::SetMETCorrections(), reco::GlobalHaloData::SetMETOverSumEt(), reco::PFTau::setMuonDecision(), reco::HaloClusterCandidateECAL::setNbEarlyCrystals(), reco::HaloClusterCandidateECAL::setNbLateCrystals(), reco::HaloClusterCandidateECAL::setNbofCrystalsInEta(), reco::HaloClusterCandidateHCAL::setNbTowersInEta(), reco::CombinedTauTagInfo::setneeds_LikelihoodRatio_discrimination(), reco::CombinedTauTagInfo::setneutralE(), reco::CombinedTauTagInfo::setneutralE_o_TksEneutralE(), reco::CombinedTauTagInfo::setneutralE_ratio(), reco::CombinedTauTagInfo::setneutralECALClus_number(), reco::CombinedTauTagInfo::setneutralECALClus_radius(), reco::PhiWedge::SetOverlappingCSCHaloTriggers(), reco::PhiWedge::SetOverlappingCSCRecHits(), reco::PhiWedge::SetOverlappingCSCSegments(), reco::PhiWedge::SetOverlappingCSCTracks(), reco::CombinedTauTagInfo::setpassed_trackerselection(), reco::PFTauTagInfo::setPFChargedHadrCands(), reco::PFTauTagInfo::setPFGammaCands(), reco::PFTauTagInfo::setpfjetRef(), reco::PFTauTagInfo::setPFNeutrHadrCands(), reco::PFTau::setpfTauTagInfoRef(), reco::PhiWedge::SetPlusZOriginConfidence(), reco::PFBlockElementTrack::setPositionAtECALEntrance(), FitterFuncs::PulseShapeFunctor::setpsFitx(), reco::HaloClusterCandidateHCAL::setSeedEt(), reco::HaloClusterCandidateECAL::setSeedEt(), reco::HaloClusterCandidateHCAL::setSeedEta(), reco::HaloClusterCandidateECAL::setSeedEta(), reco::HaloClusterCandidateHCAL::setSeedPhi(), reco::HaloClusterCandidateECAL::setSeedPhi(), reco::HaloClusterCandidateHCAL::setSeedR(), reco::HaloClusterCandidateECAL::setSeedR(), reco::HaloClusterCandidateHCAL::setSeedTime(), reco::HaloClusterCandidateECAL::setSeedTime(), reco::HaloClusterCandidateHCAL::setSeedZ(), reco::HaloClusterCandidateECAL::setSeedZ(), reco::PFTau::setSegComp(), reco::CombinedTauTagInfo::setselectedTks(), reco::CombinedTauTagInfo::setsignalTks(), reco::CombinedTauTagInfo::setsignedflightpath_significance(), reco::HaloClusterCandidateECAL::setTimeDiscriminator(), reco::HaloClusterCandidateHCAL::setTimeDiscriminator(), reco::HaloClusterCandidateHCAL::setTimeDiscriminatorITBH(), reco::HaloClusterCandidateHCAL::setTimeDiscriminatorOTBH(), reco::CombinedTauTagInfo::setTksEt_o_JetEt(), reco::BaseTauTagInfo::setTracks(), funct::ConvolutionStruct< A, B, Integrator >::function::setX(), trklet::L1TStub::setXY(), tmtt::StubFEWindows::setZero(), shapeFunction(), pat::MET::shiftedP4(), pat::MET::shiftedP4_74x(), short2phi(), edm::ThinnedAssociationsHelper::shouldKeepAssociation(), sicif(), jetcorrextractor::sign(), mkfit::sincos4(), VVIObjDetails::sincosint(), VVIObjFDetails::sincosint(), sistripvvi::VVIObjDetails::sincosint(), FitterFuncs::PulseShapeFunctor::singlePulseShapeFunc(), FitterFuncs::PulseShapeFunctor::singlePulseShapeFuncMahi(), VVIObjDetails::sinint(), sistripvvi::VVIObjDetails::sinint(), QGLikelihoodCalculator::smearingFunction(), DDCoreToDDXMLOutput::solid(), hitfit::Top_Decaykin::solve_nu(), sqr(), mkfit::sqr(), square(), trackerDTC::Stub::Stub(), reco::IPTagInfo< Container, Base >::taggingVariables(), mkfit::ConfigJson::test_Direct(), mkfit::ConfigJson::test_Patcher(), kinem::theta(), hgcalsimclustertime::ComputeClusterTime::timeResolution(), tmtt::TP::TP(), l1t::TrackerMuon::TrackerMuon(), trackerStablePhiSort(), trklet::TrackletCalculator::TrackletCalculator(), trajectoryToResiduals(), nano_mu::DTTrigGeomUtils::trigToReco(), FitterFuncs::PulseShapeFunctor::triplePulseShapeFunc(), nanoaod::MergeableCounterTable::tryMerge(), two_joined_lines(), reco::InverseCrosstalkMatrix::unfold(), reco::TrackResiduals::unpack_pull(), reco::TrackResiduals::unpack_residual(), unsafe_acos(), unsafe_acos07(), unsafe_acos71(), unsafe_asin(), unsafe_asin07(), unsafe_asin71(), unsafe_atan2f(), unsafe_atan2f_impl(), unsafe_atan2i(), unsafe_atan2i_impl(), unsafe_atan2s(), unsafe_atan2s_impl(), unsafe_expf(), unsafe_expf_impl(), unsafe_logf(), unsafe_logf_impl(), funct::Master< F >::update(), edm::ThinnedAssociationsHelper::updateFromSecondaryInput(), edm::service::CondorStatusService::updateImpl(), EcalCrystalMatrixProbality< T >::UpDown(), PhysicsTools::Calibration::Histogram< float >::value(), PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::value(), PhysicsTools::Calibration::Histogram3D< Value_t, AxisX_t, AxisY_t, AxisZ_t >::value(), sistripvvi::VVIObj::VVIObj(), edm::Lumi3DReWeighting::weight3D_init(), reweight::LumiReWeighting::weight3D_init(), WeightedMeanFitter::weightedMeanOutlierRejection(), WeightedMeanFitter::weightedMeanOutlierRejectionBeamSpot(), WeightedMeanFitter::weightedMeanOutlierRejectionVarianceAsError(), cscdqm::Summary::Write(), cscdqm::Summary::WriteChamberState(), l1t::demo::writeEMPFileV2(), cscdqm::Summary::WriteMap(), x(), DeDxHitInfoProducer::xorshift128p(), xtalFromEtaPhi(), y(), TangentApproachInRPhi::zCoord(), ClosestApproachInRPhi::zCoord(), and mkfit::Pool< mkfit::MkFitter >::~Pool().

◆ y

float y = 0

Definition at line 56 of file beamSpotDipStandalone.cc.

◆ z

float z = 0

Definition at line 57 of file beamSpotDipStandalone.cc.