CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
Cell Struct Reference

#include <LogEleMapdb.h>

Public Member Functions

bool check (const std::string par, const int val) const
 
bool check (const std::string par, const int val) const
 
bool check (const std::string par, const int val) const
 
bool check (const std::string par, const std::string val) const
 
bool check (const std::string par, const std::string val) const
 
bool check (const std::string par, const std::string val) const
 

Public Attributes

int ADC
 
int dccID
 
int Depth
 
int Eta
 
int FiberCh
 
int FiberIndex
 
int HtrSlot
 
int HtrTB
 
int Phi
 
int Pixel
 
int QIE
 
std::string RBX
 
int RM
 
int RMfiber
 
int Spigot
 
std::string subdet
 
int VMECardID
 

Detailed Description

Definition at line 8 of file LogEleMapdb.h.

Member Function Documentation

◆ check() [1/6]

bool Cell::check ( const std::string  par,
const int  val 
) const
inline

Definition at line 28 of file LogEleMapdb.h.

28  {
29  if (par == "Eta")
30  return (val == Eta);
31  else if (par == "Phi")
32  return (val == Phi);
33  else if (par == "Depth")
34  return (val == Depth);
35  else if (par == "RM")
36  return (val == RM);
37  else if (par == "Pixel")
38  return (val == Pixel);
39  else if (par == "RMfiber")
40  return (val == RMfiber);
41  else if (par == "FiberCh")
42  return (val == FiberCh);
43  else if (par == "QIE")
44  return (val == QIE);
45  else if (par == "ADC")
46  return (val == ADC);
47  else if (par == "VMECardID")
48  return (val == VMECardID);
49  else if (par == "dccID")
50  return (val == dccID);
51  else if (par == "Spigot")
52  return (val == Spigot);
53  else if (par == "FiberIndex")
54  return (val == FiberIndex);
55  else if (par == "HtrSlot")
56  return (val == HtrSlot);
57  else if (par == "HtrTB")
58  return (val == HtrTB);
59  else
60  return false;
61  }

References dccID, Depth, Eta, FiberCh, FiberIndex, HtrSlot, HtrTB, Phi, Pixel, QIE, RM, RMfiber, Spigot, heppy_batch::val, and VMECardID.

◆ check() [2/6]

bool Cell::check ( const std::string  par,
const int  val 
) const
inline

Definition at line 28 of file LogEleMapdb.h.

28  {
29  if (par == "Eta")
30  return (val == Eta);
31  else if (par == "Phi")
32  return (val == Phi);
33  else if (par == "Depth")
34  return (val == Depth);
35  else if (par == "RM")
36  return (val == RM);
37  else if (par == "Pixel")
38  return (val == Pixel);
39  else if (par == "RMfiber")
40  return (val == RMfiber);
41  else if (par == "FiberCh")
42  return (val == FiberCh);
43  else if (par == "QIE")
44  return (val == QIE);
45  else if (par == "ADC")
46  return (val == ADC);
47  else if (par == "VMECardID")
48  return (val == VMECardID);
49  else if (par == "dccID")
50  return (val == dccID);
51  else if (par == "Spigot")
52  return (val == Spigot);
53  else if (par == "FiberIndex")
54  return (val == FiberIndex);
55  else if (par == "HtrSlot")
56  return (val == HtrSlot);
57  else if (par == "HtrTB")
58  return (val == HtrTB);
59  else
60  return false;
61  }

References dccID, Depth, Eta, FiberCh, FiberIndex, HtrSlot, HtrTB, Phi, Pixel, QIE, RM, RMfiber, Spigot, heppy_batch::val, and VMECardID.

◆ check() [3/6]

bool Cell::check ( const std::string  par,
const int  val 
) const
inline

Definition at line 28 of file LogEleMapdb.h.

28  {
29  if (par == "Eta")
30  return (val == Eta);
31  else if (par == "Phi")
32  return (val == Phi);
33  else if (par == "Depth")
34  return (val == Depth);
35  else if (par == "RM")
36  return (val == RM);
37  else if (par == "Pixel")
38  return (val == Pixel);
39  else if (par == "RMfiber")
40  return (val == RMfiber);
41  else if (par == "FiberCh")
42  return (val == FiberCh);
43  else if (par == "QIE")
44  return (val == QIE);
45  else if (par == "ADC")
46  return (val == ADC);
47  else if (par == "VMECardID")
48  return (val == VMECardID);
49  else if (par == "dccID")
50  return (val == dccID);
51  else if (par == "Spigot")
52  return (val == Spigot);
53  else if (par == "FiberIndex")
54  return (val == FiberIndex);
55  else if (par == "HtrSlot")
56  return (val == HtrSlot);
57  else if (par == "HtrTB")
58  return (val == HtrTB);
59  else
60  return false;
61  }

References dccID, Depth, Eta, FiberCh, FiberIndex, HtrSlot, HtrTB, Phi, Pixel, QIE, RM, RMfiber, Spigot, heppy_batch::val, and VMECardID.

◆ check() [4/6]

bool Cell::check ( const std::string  par,
const std::string  val 
) const
inline

Definition at line 63 of file LogEleMapdb.h.

63  {
64  if (par == "subdet")
65  return (val == subdet);
66  else if (par == "RBX")
67  return (val == RBX);
68  else
69  return false;
70  }

References RBX, subdet, and heppy_batch::val.

◆ check() [5/6]

bool Cell::check ( const std::string  par,
const std::string  val 
) const
inline

Definition at line 63 of file LogEleMapdb.h.

63  {
64  if (par == "subdet")
65  return (val == subdet);
66  else if (par == "RBX")
67  return (val == RBX);
68  else
69  return false;
70  }

References RBX, subdet, and heppy_batch::val.

◆ check() [6/6]

bool Cell::check ( const std::string  par,
const std::string  val 
) const
inline

Definition at line 63 of file LogEleMapdb.h.

63  {
64  if (par == "subdet")
65  return (val == subdet);
66  else if (par == "RBX")
67  return (val == RBX);
68  else
69  return false;
70  }

References RBX, subdet, and heppy_batch::val.

Member Data Documentation

◆ ADC

int Cell::ADC

Definition at line 19 of file LogEleMapdb.h.

◆ dccID

int Cell::dccID

Definition at line 21 of file LogEleMapdb.h.

Referenced by check().

◆ Depth

int Cell::Depth

Definition at line 12 of file LogEleMapdb.h.

Referenced by check().

◆ Eta

int Cell::Eta

Definition at line 10 of file LogEleMapdb.h.

Referenced by check().

◆ FiberCh

int Cell::FiberCh

Definition at line 17 of file LogEleMapdb.h.

Referenced by check().

◆ FiberIndex

int Cell::FiberIndex

Definition at line 23 of file LogEleMapdb.h.

Referenced by check().

◆ HtrSlot

int Cell::HtrSlot

Definition at line 24 of file LogEleMapdb.h.

Referenced by check().

◆ HtrTB

int Cell::HtrTB

Definition at line 25 of file LogEleMapdb.h.

Referenced by check().

◆ Phi

int Cell::Phi

Definition at line 11 of file LogEleMapdb.h.

Referenced by check().

◆ Pixel

int Cell::Pixel

Definition at line 15 of file LogEleMapdb.h.

Referenced by check().

◆ QIE

int Cell::QIE

Definition at line 18 of file LogEleMapdb.h.

Referenced by check().

◆ RBX

std::string Cell::RBX

Definition at line 13 of file LogEleMapdb.h.

Referenced by check().

◆ RM

int Cell::RM

Definition at line 14 of file LogEleMapdb.h.

Referenced by check().

◆ RMfiber

int Cell::RMfiber

Definition at line 16 of file LogEleMapdb.h.

Referenced by check().

◆ Spigot

int Cell::Spigot

Definition at line 22 of file LogEleMapdb.h.

Referenced by check().

◆ subdet

std::string Cell::subdet

Definition at line 9 of file LogEleMapdb.h.

Referenced by check().

◆ VMECardID

int Cell::VMECardID

Definition at line 20 of file LogEleMapdb.h.

Referenced by check().

Cell::Phi
int Phi
Definition: LogEleMapdb.h:11
Cell::Depth
int Depth
Definition: LogEleMapdb.h:12
Cell::FiberCh
int FiberCh
Definition: LogEleMapdb.h:17
Cell::VMECardID
int VMECardID
Definition: LogEleMapdb.h:20
Cell::RMfiber
int RMfiber
Definition: LogEleMapdb.h:16
Cell::subdet
std::string subdet
Definition: LogEleMapdb.h:9
Cell::RBX
std::string RBX
Definition: LogEleMapdb.h:13
Cell::Eta
int Eta
Definition: LogEleMapdb.h:10
ADC
Definition: ZdcTBAnalysis.h:46
Cell::QIE
int QIE
Definition: LogEleMapdb.h:18
Cell::Spigot
int Spigot
Definition: LogEleMapdb.h:22
Cell::RM
int RM
Definition: LogEleMapdb.h:14
heppy_batch.val
val
Definition: heppy_batch.py:351
Cell::dccID
int dccID
Definition: LogEleMapdb.h:21
Cell::HtrTB
int HtrTB
Definition: LogEleMapdb.h:25
Cell::FiberIndex
int FiberIndex
Definition: LogEleMapdb.h:23
Cell::HtrSlot
int HtrSlot
Definition: LogEleMapdb.h:24
Cell::Pixel
int Pixel
Definition: LogEleMapdb.h:15