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 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
 
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/10]

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

Definition at line 28 of file LogEleMapdb.h.

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

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  }
int Phi
Definition: LogEleMapdb.h:11
int VMECardID
Definition: LogEleMapdb.h:20
int FiberCh
Definition: LogEleMapdb.h:17
int Eta
Definition: LogEleMapdb.h:10
int RMfiber
Definition: LogEleMapdb.h:16
int HtrTB
Definition: LogEleMapdb.h:25
int FiberIndex
Definition: LogEleMapdb.h:23
int QIE
Definition: LogEleMapdb.h:18
int Spigot
Definition: LogEleMapdb.h:22
int RM
Definition: LogEleMapdb.h:14
int HtrSlot
Definition: LogEleMapdb.h:24
int Depth
Definition: LogEleMapdb.h:12
int dccID
Definition: LogEleMapdb.h:21
int Pixel
Definition: LogEleMapdb.h:15

◆ check() [2/10]

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

Definition at line 28 of file LogEleMapdb.h.

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

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  }
int Phi
Definition: LogEleMapdb.h:11
int VMECardID
Definition: LogEleMapdb.h:20
int FiberCh
Definition: LogEleMapdb.h:17
int Eta
Definition: LogEleMapdb.h:10
int RMfiber
Definition: LogEleMapdb.h:16
int HtrTB
Definition: LogEleMapdb.h:25
int FiberIndex
Definition: LogEleMapdb.h:23
int QIE
Definition: LogEleMapdb.h:18
int Spigot
Definition: LogEleMapdb.h:22
int RM
Definition: LogEleMapdb.h:14
int HtrSlot
Definition: LogEleMapdb.h:24
int Depth
Definition: LogEleMapdb.h:12
int dccID
Definition: LogEleMapdb.h:21
int Pixel
Definition: LogEleMapdb.h:15

◆ check() [3/10]

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

Definition at line 28 of file LogEleMapdb.h.

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

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  }
int Phi
Definition: LogEleMapdb.h:11
int VMECardID
Definition: LogEleMapdb.h:20
int FiberCh
Definition: LogEleMapdb.h:17
int Eta
Definition: LogEleMapdb.h:10
int RMfiber
Definition: LogEleMapdb.h:16
int HtrTB
Definition: LogEleMapdb.h:25
int FiberIndex
Definition: LogEleMapdb.h:23
int QIE
Definition: LogEleMapdb.h:18
int Spigot
Definition: LogEleMapdb.h:22
int RM
Definition: LogEleMapdb.h:14
int HtrSlot
Definition: LogEleMapdb.h:24
int Depth
Definition: LogEleMapdb.h:12
int dccID
Definition: LogEleMapdb.h:21
int Pixel
Definition: LogEleMapdb.h:15

◆ check() [4/10]

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

Definition at line 28 of file LogEleMapdb.h.

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

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  }
int Phi
Definition: LogEleMapdb.h:11
int VMECardID
Definition: LogEleMapdb.h:20
int FiberCh
Definition: LogEleMapdb.h:17
int Eta
Definition: LogEleMapdb.h:10
int RMfiber
Definition: LogEleMapdb.h:16
int HtrTB
Definition: LogEleMapdb.h:25
int FiberIndex
Definition: LogEleMapdb.h:23
int QIE
Definition: LogEleMapdb.h:18
int Spigot
Definition: LogEleMapdb.h:22
int RM
Definition: LogEleMapdb.h:14
int HtrSlot
Definition: LogEleMapdb.h:24
int Depth
Definition: LogEleMapdb.h:12
int dccID
Definition: LogEleMapdb.h:21
int Pixel
Definition: LogEleMapdb.h:15

◆ check() [5/10]

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

Definition at line 28 of file LogEleMapdb.h.

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

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  }
int Phi
Definition: LogEleMapdb.h:11
int VMECardID
Definition: LogEleMapdb.h:20
int FiberCh
Definition: LogEleMapdb.h:17
int Eta
Definition: LogEleMapdb.h:10
int RMfiber
Definition: LogEleMapdb.h:16
int HtrTB
Definition: LogEleMapdb.h:25
int FiberIndex
Definition: LogEleMapdb.h:23
int QIE
Definition: LogEleMapdb.h:18
int Spigot
Definition: LogEleMapdb.h:22
int RM
Definition: LogEleMapdb.h:14
int HtrSlot
Definition: LogEleMapdb.h:24
int Depth
Definition: LogEleMapdb.h:12
int dccID
Definition: LogEleMapdb.h:21
int Pixel
Definition: LogEleMapdb.h:15

◆ check() [6/10]

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

Definition at line 63 of file LogEleMapdb.h.

References RBX, subdet, and heppy_batch::val.

63  {
64  if (par == "subdet")
65  return (val == subdet);
66  else if (par == "RBX")
67  return (val == RBX);
68  else
69  return false;
70  }
std::string subdet
Definition: LogEleMapdb.h:9
std::string RBX
Definition: LogEleMapdb.h:13

◆ check() [7/10]

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

Definition at line 63 of file LogEleMapdb.h.

References RBX, subdet, and heppy_batch::val.

63  {
64  if (par == "subdet")
65  return (val == subdet);
66  else if (par == "RBX")
67  return (val == RBX);
68  else
69  return false;
70  }
std::string subdet
Definition: LogEleMapdb.h:9
std::string RBX
Definition: LogEleMapdb.h:13

◆ check() [8/10]

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

Definition at line 63 of file LogEleMapdb.h.

References RBX, subdet, and heppy_batch::val.

63  {
64  if (par == "subdet")
65  return (val == subdet);
66  else if (par == "RBX")
67  return (val == RBX);
68  else
69  return false;
70  }
std::string subdet
Definition: LogEleMapdb.h:9
std::string RBX
Definition: LogEleMapdb.h:13

◆ check() [9/10]

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

Definition at line 63 of file LogEleMapdb.h.

References RBX, subdet, and heppy_batch::val.

63  {
64  if (par == "subdet")
65  return (val == subdet);
66  else if (par == "RBX")
67  return (val == RBX);
68  else
69  return false;
70  }
std::string subdet
Definition: LogEleMapdb.h:9
std::string RBX
Definition: LogEleMapdb.h:13

◆ check() [10/10]

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

Definition at line 63 of file LogEleMapdb.h.

References RBX, subdet, and heppy_batch::val.

63  {
64  if (par == "subdet")
65  return (val == subdet);
66  else if (par == "RBX")
67  return (val == RBX);
68  else
69  return false;
70  }
std::string subdet
Definition: LogEleMapdb.h:9
std::string RBX
Definition: LogEleMapdb.h:13

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().