CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Enumerations | Functions
BeamSpotPI Namespace Reference

Classes

class  BeamSpot_history
 
class  BeamSpot_runhistory
 
class  BeamSpot_timehistory
 
class  DisplayParameters
 
class  xyCorrelation
 

Enumerations

enum  parameters {
  X = 0, Y = 1, Z = 2, sigmaX = 3,
  sigmaY = 4, sigmaZ = 5, dxdz = 6, dydz = 7,
  lastLumi = 8, lastRun = 9, lastFill = 10, nTracks = 11,
  nPVs = 12, nUsedEvents = 13, maxPVs = 14, meanPV = 15,
  meanErrorPV = 16, rmsPV = 17, rmsErrorPV = 18, creationTime = 19,
  startTimeStamp = 20, endTimeStamp = 21, startTime = 22, endTime = 23,
  lumiRange = 24, END_OF_TYPES = 25
}
 

Functions

std::string getStringFromParamEnum (const parameters &parameter)
 
std::pair< unsigned int,
unsigned int > 
unpack (cond::Time_t since)
 

Enumeration Type Documentation

Enumerator
X 
Y 
Z 
sigmaX 
sigmaY 
sigmaZ 
dxdz 
dydz 
lastLumi 
lastRun 
lastFill 
nTracks 
nPVs 
nUsedEvents 
maxPVs 
meanPV 
meanErrorPV 
rmsPV 
rmsErrorPV 
creationTime 
startTimeStamp 
endTimeStamp 
startTime 
endTime 
lumiRange 
END_OF_TYPES 

Definition at line 30 of file BeamSpotPayloadInspectorHelper.h.

30  {
31  X = 0, // 0 regular BS methods
32  Y = 1, // 1
33  Z = 2, // 2
34  sigmaX = 3, // 3
35  sigmaY = 4, // 4
36  sigmaZ = 5, // 5
37  dxdz = 6, // 6
38  dydz = 7, // 7
39  lastLumi = 8, // 8 additional int's
40  lastRun = 9, // 9
41  lastFill = 10, // 10
42  nTracks = 11, // 11
43  nPVs = 12, // 12
44  nUsedEvents = 13, // 13
45  maxPVs = 14, // 14
46  meanPV = 15, // 15 additional float's
47  meanErrorPV = 16, // 16
48  rmsPV = 17, // 17
49  rmsErrorPV = 18, // 18
50  creationTime = 19, // 19 additional cond::Time_t
51  startTimeStamp = 20, // 20
52  endTimeStamp = 21, // 21
53  startTime = 22, // 22 additional std::string
54  endTime = 23, // 23
55  lumiRange = 24, // 24
56  END_OF_TYPES = 25,
57  };
#define X(str)
Definition: MuonsGrabber.cc:38

Function Documentation

std::string BeamSpotPI::getStringFromParamEnum ( const parameters parameter)
inline

Definition at line 60 of file BeamSpotPayloadInspectorHelper.h.

References dxdz, dydz, sigmaX, sigmaY, sigmaZ, X, Y, and Z.

60  {
61  switch (parameter) {
62  case X:
63  return "X";
64  case Y:
65  return "Y";
66  case Z:
67  return "Z";
68  case sigmaX:
69  return "sigmaX";
70  case sigmaY:
71  return "sigmaY";
72  case sigmaZ:
73  return "sigmaZ";
74  case dxdz:
75  return "dx/dz";
76  case dydz:
77  return "dy/dz";
78  default:
79  return "should never be here";
80  }
81  }
#define X(str)
Definition: MuonsGrabber.cc:38
std::pair<unsigned int, unsigned int> BeamSpotPI::unpack ( cond::Time_t  since)
inline