CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
ZdcTopology Class Reference

#include <ZdcTopology.h>

Inheritance diagram for ZdcTopology:
CaloSubdetectorTopology

Public Member Functions

virtual std::vector< DetIddown (const DetId &id) const
 
virtual std::vector< DetIdeast (const DetId &id) const
 
void exclude (const HcalZDCDetId &id)
 
void exclude (int zside)
 
void exclude (int zside, HcalZDCDetId::Section section)
 
int exclude (int zside, HcalZDCDetId::Section section, int ich1, int ich2)
 
int firstCell (HcalZDCDetId::Section section) const
 
int lastCell (HcalZDCDetId::Section section) const
 
virtual std::vector< DetIdlongitudinal (const DetId &id) const
 
int ncells (HcalZDCDetId::Section section) const
 
virtual std::vector< DetIdnorth (const DetId &id) const
 
virtual std::vector< DetIdsouth (const DetId &id) const
 
virtual std::vector< DetIdtransverse (const DetId &id) const
 
virtual std::vector< DetIdup (const DetId &id) const
 
virtual bool valid (const HcalZDCDetId &id) const
 
virtual std::vector< DetIdwest (const DetId &id) const
 
 ZdcTopology ()
 
- Public Member Functions inherited from CaloSubdetectorTopology
 CaloSubdetectorTopology ()
 standard constructor More...
 
virtual DetId denseId2detId (unsigned int) const
 return a linear packed id More...
 
virtual bool denseIdConsistent (int topoVer) const
 return whether this topology is consistent with the numbering in the given topology More...
 
virtual unsigned int detId2denseId (const DetId &) const
 return a linear packed id More...
 
virtual std::vector< DetIdgetAllNeighbours (const DetId &id) const
 
virtual std::vector< DetIdgetNeighbours (const DetId &id, const CaloDirection &dir) const
 
virtual std::vector< DetIdgetWindow (const DetId &id, const int &northSouthSize, const int &eastWestSize) const
 
virtual DetId goDown (const DetId &id) const
 
virtual DetId goEast (const DetId &id) const
 
virtual DetId goNorth (const DetId &id) const
 
virtual DetId goSouth (const DetId &id) const
 
virtual DetId goUp (const DetId &id) const
 
virtual DetId goWest (const DetId &id) const
 
virtual unsigned int ncells () const
 return a count of valid cells (for dense indexing use) More...
 
virtual int topoVersion () const
 return a version which identifies the given topology More...
 
virtual bool valid (const DetId &) const
 is this detid present in the Topology? More...
 
virtual ~CaloSubdetectorTopology ()
 virtual destructor More...
 

Private Member Functions

int firstEMModule () const
 
int firstHADModule () const
 
int firstLUMModule () const
 
bool isExcluded (const HcalZDCDetId &id) const
 
int lastEMModule () const
 
int lastHADModule () const
 
int lastLUMModule () const
 
bool validRaw (const HcalZDCDetId &id) const
 

Private Attributes

bool excludeEM_
 
bool excludeHAD_
 
bool excludeLUM_
 
bool excludeZN_
 
bool excludeZP_
 
std::vector< HcalZDCDetIdexclusionList_
 
int firstEMModule_
 
int firstHADModule_
 
int firstLUMModule_
 
int lastEMModule_
 
int lastHADModule_
 
int lastLUMModule_
 

Additional Inherited Members

- Protected Types inherited from CaloSubdetectorTopology
typedef std::pair< int, int > Coordinate
 
- Protected Member Functions inherited from CaloSubdetectorTopology
Coordinate getNeighbourIndex (const Coordinate &coord, const CaloDirection &dir) const
 

Detailed Description

Definition at line 15 of file ZdcTopology.h.

Constructor & Destructor Documentation

ZdcTopology::ZdcTopology ( )

Definition at line 10 of file ZdcTopology.cc.

10  :
11  excludeEM_(false),
12  excludeHAD_(false),
13  excludeLUM_(false),
14  excludeZP_(false),
15  excludeZN_(false),
16  firstEMModule_(1),
17  lastEMModule_(5),
18  firstHADModule_(1),
19  lastHADModule_(4),
20  firstLUMModule_(1),
22 {
23 }
int firstEMModule_
Definition: ZdcTopology.h:61
bool excludeEM_
Definition: ZdcTopology.h:59
int lastLUMModule_
Definition: ZdcTopology.h:61
bool excludeHAD_
Definition: ZdcTopology.h:59
bool excludeZN_
Definition: ZdcTopology.h:59
int firstHADModule_
Definition: ZdcTopology.h:61
bool excludeLUM_
Definition: ZdcTopology.h:59
bool excludeZP_
Definition: ZdcTopology.h:59
int lastEMModule_
Definition: ZdcTopology.h:61
int firstLUMModule_
Definition: ZdcTopology.h:61
int lastHADModule_
Definition: ZdcTopology.h:61

Member Function Documentation

std::vector< DetId > ZdcTopology::down ( const DetId id) const
virtual

Get the neighbors of the given cell in down direction (inward)

Implements CaloSubdetectorTopology.

Definition at line 230 of file ZdcTopology.cc.

References gather_cfg::cout.

231 {
232  std::cout << "ZdcTopology::down() not yet implemented" << std::endl;
233  std::vector<DetId> vNeighborsDetId;
234  return vNeighborsDetId;
235 }
tuple cout
Definition: gather_cfg.py:121
std::vector< DetId > ZdcTopology::east ( const DetId id) const
virtual

Get the neighbors of the given cell in east direction

Implements CaloSubdetectorTopology.

Definition at line 198 of file ZdcTopology.cc.

References gather_cfg::cout.

199 {
200  std::cout << "ZdcTopology::east() not yet implemented" << std::endl;
201  std::vector<DetId> vNeighborsDetId;
202  return vNeighborsDetId;
203 }
tuple cout
Definition: gather_cfg.py:121
void ZdcTopology::exclude ( const HcalZDCDetId id)

Exlucde a cell

Definition at line 59 of file ZdcTopology.cc.

References exclusionList_, and i.

Referenced by exclude().

59  {
60  std::vector<HcalZDCDetId>::iterator
61  i=std::lower_bound(exclusionList_.begin(),exclusionList_.end(),id);
62  if (i==exclusionList_.end() || *i!=id) {
63  exclusionList_.insert(i,id);
64  }
65 }
int i
Definition: DBlmapReader.cc:9
std::vector< HcalZDCDetId > exclusionList_
Definition: ZdcTopology.h:57
void ZdcTopology::exclude ( int  zside)

Exclude a side

Definition at line 67 of file ZdcTopology.cc.

References excludeZN_, and excludeZP_.

67  {
68  switch(zside){
69  case( 1): excludeZP_ = true; break;
70  case(-1): excludeZN_ = true; break;
71  default: break;
72  }
73 }
bool excludeZN_
Definition: ZdcTopology.h:59
bool excludeZP_
Definition: ZdcTopology.h:59
void ZdcTopology::exclude ( int  zside,
HcalZDCDetId::Section  section 
)

Exclude a section, in either side (+1 positive, -1 negative)

Definition at line 75 of file ZdcTopology.cc.

References HcalZDCDetId::EM, excludeEM_, excludeHAD_, excludeLUM_, excludeZN_, excludeZP_, HcalZDCDetId::HAD, and HcalZDCDetId::LUM.

75  {
76  switch(zside){
77  case( 1): excludeZP_ = true; break;
78  case(-1): excludeZN_ = true; break;
79  default: break;
80  }
81  switch (section) {
82  case(HcalZDCDetId::EM) : excludeEM_ = true; break;
83  case(HcalZDCDetId::HAD) : excludeHAD_ = true; break;
84  case(HcalZDCDetId::LUM) : excludeLUM_ = true; break;
85  default: break;
86  }
87 }
bool excludeEM_
Definition: ZdcTopology.h:59
bool excludeHAD_
Definition: ZdcTopology.h:59
bool excludeZN_
Definition: ZdcTopology.h:59
bool excludeLUM_
Definition: ZdcTopology.h:59
bool excludeZP_
Definition: ZdcTopology.h:59
int ZdcTopology::exclude ( int  zside,
HcalZDCDetId::Section  section,
int  ich1,
int  ich2 
)

Exclude a range of channels (deph) for a given subdetector

Definition at line 89 of file ZdcTopology.cc.

References HcalZDCDetId::EM, exclude(), excludeEM_, excludeHAD_, excludeLUM_, excludeZN_, excludeZP_, HcalZDCDetId::HAD, HcalZDCDetId::LUM, n, and validRaw().

89  {
90  bool exed = false;
91  switch(zside){
92  case( 1): exed = excludeZP_; break;
93  case(-1): exed = excludeZN_; break;
94  default: exed = false;
95  }
96  if (exed) return 0;
97 
98  switch (section) {
99  case(HcalZDCDetId::EM) : exed = excludeEM_; break;
100  case(HcalZDCDetId::HAD) : exed = excludeHAD_; break;
101  case(HcalZDCDetId::LUM) : exed = excludeLUM_; break;
102  default: exed = false;
103  }
104  if (exed) return 0;
105 
106  bool isPositive = false;
107  if(zside == 1)isPositive = true;
108 
109  int n = 0;
110  for (int ich = ich1; ich < ich2; ich++){
111  HcalZDCDetId id(section, isPositive, ich);
112  if(validRaw(id))exclude(id);
113  n++;
114  }
115  return n;
116 }
bool excludeEM_
Definition: ZdcTopology.h:59
void exclude(const HcalZDCDetId &id)
Definition: ZdcTopology.cc:59
bool excludeHAD_
Definition: ZdcTopology.h:59
bool validRaw(const HcalZDCDetId &id) const
Definition: ZdcTopology.cc:118
bool excludeZN_
Definition: ZdcTopology.h:59
bool excludeLUM_
Definition: ZdcTopology.h:59
bool excludeZP_
Definition: ZdcTopology.h:59
int ZdcTopology::firstCell ( HcalZDCDetId::Section  section) const

Definition at line 248 of file ZdcTopology.cc.

References HcalZDCDetId::EM, firstEMModule_, firstHADModule_, firstLUMModule_, HcalZDCDetId::HAD, HcalZDCDetId::LUM, and HcalZDCDetId::Unknown.

Referenced by ZdcHardcodeGeometryLoader::fill().

248  {
249  int firstCell = 0;
250  switch (section) {
251  case(HcalZDCDetId::EM) : firstCell = firstEMModule_ ; break;
252  case(HcalZDCDetId::HAD) : firstCell = firstHADModule_; break;
253  case(HcalZDCDetId::LUM) : firstCell = firstLUMModule_; break;
254  case(HcalZDCDetId::Unknown) : firstCell = 0; break;
255  }
256  return firstCell;
257 }
int firstEMModule_
Definition: ZdcTopology.h:61
int firstHADModule_
Definition: ZdcTopology.h:61
int firstCell(HcalZDCDetId::Section section) const
Definition: ZdcTopology.cc:248
int firstLUMModule_
Definition: ZdcTopology.h:61
int ZdcTopology::firstEMModule ( ) const
inlineprivate

Definition at line 66 of file ZdcTopology.h.

References firstEMModule_.

66 {return firstEMModule_;}
int firstEMModule_
Definition: ZdcTopology.h:61
int ZdcTopology::firstHADModule ( ) const
inlineprivate

Definition at line 67 of file ZdcTopology.h.

References firstHADModule_.

67 {return firstHADModule_;}
int firstHADModule_
Definition: ZdcTopology.h:61
int ZdcTopology::firstLUMModule ( ) const
inlineprivate

Definition at line 68 of file ZdcTopology.h.

References firstLUMModule_.

68 {return firstLUMModule_;}
int firstLUMModule_
Definition: ZdcTopology.h:61
bool ZdcTopology::isExcluded ( const HcalZDCDetId id) const
private

Definition at line 32 of file ZdcTopology.cc.

References HcalZDCDetId::EM, excludeEM_, excludeHAD_, excludeLUM_, excludeZN_, excludeZP_, exclusionList_, HcalZDCDetId::HAD, i, and HcalZDCDetId::LUM.

Referenced by valid().

32  {
33  bool exed=false;
34 
35  //check the for side exclusions
36  switch(id.zside()){
37  case( 1): exed = excludeZP_; break;
38  case(-1): exed = excludeZN_; break;
39  default: exed = false;
40  }
41 
42  // check for section exclutions
43  switch (id.section()) {
44  case(HcalZDCDetId::EM) : exed = excludeEM_; break;
45  case(HcalZDCDetId::HAD) : exed = excludeHAD_; break;
46  case(HcalZDCDetId::LUM) : exed = excludeLUM_; break;
47  default: exed = false;
48  }
49 
50  // check the entire list
51  if (!exed && !exclusionList_.empty()) {
52  std::vector<HcalZDCDetId>::const_iterator
53  i=std::lower_bound(exclusionList_.begin(),exclusionList_.end(),id);
54  if (i!=exclusionList_.end() && *i==id) exed=true;
55  }
56  return exed;
57 }
int i
Definition: DBlmapReader.cc:9
bool excludeEM_
Definition: ZdcTopology.h:59
bool excludeHAD_
Definition: ZdcTopology.h:59
bool excludeZN_
Definition: ZdcTopology.h:59
std::vector< HcalZDCDetId > exclusionList_
Definition: ZdcTopology.h:57
bool excludeLUM_
Definition: ZdcTopology.h:59
bool excludeZP_
Definition: ZdcTopology.h:59
int ZdcTopology::lastCell ( HcalZDCDetId::Section  section) const

Definition at line 259 of file ZdcTopology.cc.

References HcalZDCDetId::EM, HcalZDCDetId::HAD, lastEMModule_, lastHADModule_, lastLUMModule_, HcalZDCDetId::LUM, and HcalZDCDetId::Unknown.

Referenced by ZdcHardcodeGeometryLoader::fill().

259  {
260  int lastCell = 0;
261  switch (section) {
262  case(HcalZDCDetId::EM) : lastCell = lastEMModule_; break;
263  case(HcalZDCDetId::HAD) : lastCell = lastHADModule_; break;
264  case(HcalZDCDetId::LUM) : lastCell = lastLUMModule_; break;
265  case(HcalZDCDetId::Unknown) : lastCell = 0; break;
266  }
267  return lastCell;
268 }
int lastLUMModule_
Definition: ZdcTopology.h:61
int lastCell(HcalZDCDetId::Section section) const
Definition: ZdcTopology.cc:259
int lastEMModule_
Definition: ZdcTopology.h:61
int lastHADModule_
Definition: ZdcTopology.h:61
int ZdcTopology::lastEMModule ( ) const
inlineprivate

Definition at line 69 of file ZdcTopology.h.

References lastEMModule_.

69 {return lastEMModule_;}
int lastEMModule_
Definition: ZdcTopology.h:61
int ZdcTopology::lastHADModule ( ) const
inlineprivate

Definition at line 70 of file ZdcTopology.h.

References lastHADModule_.

70 {return lastHADModule_;}
int lastHADModule_
Definition: ZdcTopology.h:61
int ZdcTopology::lastLUMModule ( ) const
inlineprivate

Definition at line 71 of file ZdcTopology.h.

References lastLUMModule_.

71 {return lastLUMModule_;}
int lastLUMModule_
Definition: ZdcTopology.h:61
std::vector< DetId > ZdcTopology::longitudinal ( const DetId id) const
virtual

Get the longitudinal neighbors (Z) of the given cell

Definition at line 159 of file ZdcTopology.cc.

References HcalZDCDetId::channel(), HcalZDCDetId::HAD, ICH_HAD_MAX, ICH_LUM_MAX, HcalZDCDetId::LUM, DetId::rawId(), HcalZDCDetId::section(), validRaw(), and HcalZDCDetId::zside().

159  {
160  std::vector<DetId> vNeighborsDetId;
161  HcalZDCDetId zdcId = HcalZDCDetId(id);
162  HcalZDCDetId zdcDetId;
163  if(validRaw(zdcId) && zdcId.section()== HcalZDCDetId::HAD){
164  bool isPositive = false;
165  if(zdcId.zside()==1)isPositive = true;
166  if(zdcId.channel()==1){
167  zdcDetId = HcalZDCDetId(zdcId.section(), isPositive, zdcId.channel()+1);
168  vNeighborsDetId.push_back(zdcDetId.rawId());
169  return vNeighborsDetId;
170  }
171  if(zdcId.channel()== ICH_HAD_MAX){
172  zdcDetId = HcalZDCDetId(zdcId.section(), isPositive, zdcId.channel()-1);
173  vNeighborsDetId.push_back(zdcDetId.rawId());
174  return vNeighborsDetId;
175  }
176  zdcDetId = HcalZDCDetId(zdcId.section(), isPositive, zdcId.channel()-1);
177  vNeighborsDetId.push_back(zdcDetId.rawId());
178  zdcDetId = HcalZDCDetId(zdcId.section(), isPositive, zdcId.channel()+1);
179  vNeighborsDetId.push_back(zdcDetId.rawId());
180  }
181  if(validRaw(zdcId) && zdcId.section()== HcalZDCDetId::LUM){
182  bool isPositive = false;
183  if(zdcId.zside()==1)isPositive = true;
184  if(zdcId.channel()==1){
185  zdcDetId = HcalZDCDetId(zdcId.section(), isPositive, zdcId.channel()+1);
186  vNeighborsDetId.push_back(zdcDetId.rawId());
187  return vNeighborsDetId;
188  }
189  if(zdcId.channel()== ICH_LUM_MAX){
190  zdcDetId = HcalZDCDetId(zdcId.section(), isPositive, zdcId.channel()-1);
191  vNeighborsDetId.push_back(zdcDetId.rawId());
192  return vNeighborsDetId;
193  }
194  }
195  return vNeighborsDetId;
196 }
static const int ICH_LUM_MAX
Definition: ZdcTopology.cc:8
int zside() const
get the z-side of the cell (1/-1)
Definition: HcalZDCDetId.h:36
bool validRaw(const HcalZDCDetId &id) const
Definition: ZdcTopology.cc:118
uint32_t rawId() const
get the raw id
Definition: DetId.h:45
Section section() const
get the section
Definition: HcalZDCDetId.h:38
int channel() const
get the channel
Definition: HcalZDCDetId.h:42
static const int ICH_HAD_MAX
Definition: ZdcTopology.cc:7
int ZdcTopology::ncells ( HcalZDCDetId::Section  section) const

Definition at line 237 of file ZdcTopology.cc.

References HcalZDCDetId::EM, HcalZDCDetId::HAD, ICH_EM_MAX, ICH_HAD_MAX, ICH_LUM_MAX, HcalZDCDetId::LUM, CaloSubdetectorTopology::ncells(), and HcalZDCDetId::Unknown.

237  {
238  int ncells = 0;
239  switch (section) {
240  case(HcalZDCDetId::EM) : ncells = ICH_EM_MAX; break;
241  case(HcalZDCDetId::HAD) : ncells = ICH_HAD_MAX; break;
242  case(HcalZDCDetId::LUM) : ncells = ICH_LUM_MAX; break;
243  case(HcalZDCDetId::Unknown) : ncells =0; break;
244  }
245  return ncells;
246 }
static const int ICH_LUM_MAX
Definition: ZdcTopology.cc:8
static const int ICH_EM_MAX
Definition: ZdcTopology.cc:6
virtual unsigned int ncells() const
return a count of valid cells (for dense indexing use)
static const int ICH_HAD_MAX
Definition: ZdcTopology.cc:7
std::vector< DetId > ZdcTopology::north ( const DetId id) const
virtual

Get the neighbors of the given cell in north direction

Implements CaloSubdetectorTopology.

Definition at line 212 of file ZdcTopology.cc.

References gather_cfg::cout.

213 {
214  std::cout << "ZdcTopology::north() not yet implemented" << std::endl;
215  std::vector<DetId> vNeighborsDetId;
216  return vNeighborsDetId;
217 }
tuple cout
Definition: gather_cfg.py:121
std::vector< DetId > ZdcTopology::south ( const DetId id) const
virtual

Get the neighbors of the given cell in south direction

Implements CaloSubdetectorTopology.

Definition at line 218 of file ZdcTopology.cc.

References gather_cfg::cout.

219 {
220  std::cout << "ZdcTopology::south() not yet implemented" << std::endl;
221  std::vector<DetId> vNeighborsDetId;
222  return vNeighborsDetId;
223 }
tuple cout
Definition: gather_cfg.py:121
std::vector< DetId > ZdcTopology::transverse ( const DetId id) const
virtual

Get the transverse (X) neighbors of the given cell

Definition at line 134 of file ZdcTopology.cc.

References HcalZDCDetId::channel(), HcalZDCDetId::EM, ICH_EM_MAX, DetId::rawId(), HcalZDCDetId::section(), validRaw(), and HcalZDCDetId::zside().

134  {
135  std::vector<DetId> vNeighborsDetId;
136  HcalZDCDetId zdcId = HcalZDCDetId(id);
137  HcalZDCDetId zdcDetId;
138  if(validRaw(zdcId) && zdcId.section()== HcalZDCDetId::EM){
139  bool isPositive = false;
140  if(zdcId.zside()==1)isPositive = true;
141  if(zdcId.channel()==1){
142  zdcDetId = HcalZDCDetId(zdcId.section(), isPositive, zdcId.channel()+1);
143  vNeighborsDetId.push_back(zdcDetId.rawId());
144  return vNeighborsDetId;
145  }
146  if(zdcId.channel()== ICH_EM_MAX){
147  zdcDetId = HcalZDCDetId(zdcId.section(), isPositive, zdcId.channel()-1);
148  vNeighborsDetId.push_back(zdcDetId.rawId());
149  return vNeighborsDetId;
150  }
151  zdcDetId = HcalZDCDetId(zdcId.section(), isPositive, zdcId.channel()-1);
152  vNeighborsDetId.push_back(zdcDetId.rawId());
153  zdcDetId = HcalZDCDetId(zdcId.section(), isPositive, zdcId.channel()+1);
154  vNeighborsDetId.push_back(zdcDetId.rawId());
155  }
156  return vNeighborsDetId;
157 }
static const int ICH_EM_MAX
Definition: ZdcTopology.cc:6
int zside() const
get the z-side of the cell (1/-1)
Definition: HcalZDCDetId.h:36
bool validRaw(const HcalZDCDetId &id) const
Definition: ZdcTopology.cc:118
uint32_t rawId() const
get the raw id
Definition: DetId.h:45
Section section() const
get the section
Definition: HcalZDCDetId.h:38
int channel() const
get the channel
Definition: HcalZDCDetId.h:42
std::vector< DetId > ZdcTopology::up ( const DetId id) const
virtual

Get the neighbors of the given cell in up direction (outward)

Implements CaloSubdetectorTopology.

Definition at line 224 of file ZdcTopology.cc.

References gather_cfg::cout.

225 {
226  std::cout << "ZdcTopology::up() not yet implemented" << std::endl;
227  std::vector<DetId> vNeighborsDetId;
228  return vNeighborsDetId;
229 }
tuple cout
Definition: gather_cfg.py:121
bool ZdcTopology::valid ( const HcalZDCDetId id) const
virtual

Is this a valid cell id?

Definition at line 25 of file ZdcTopology.cc.

References isExcluded(), convertSQLiteXML::ok, and validRaw().

Referenced by ZdcHardcodeGeometryLoader::fill().

25  {
26  // check the raw rules
27  bool ok=validRaw(id);
28  ok=ok && !isExcluded(id);
29  return ok;
30 }
bool validRaw(const HcalZDCDetId &id) const
Definition: ZdcTopology.cc:118
bool isExcluded(const HcalZDCDetId &id) const
Definition: ZdcTopology.cc:32
bool ZdcTopology::validRaw ( const HcalZDCDetId id) const
private

Definition at line 118 of file ZdcTopology.cc.

References abs, HcalZDCDetId::EM, HcalZDCDetId::HAD, ICH_EM_MAX, ICH_HAD_MAX, ICH_LUM_MAX, HcalZDCDetId::LUM, and convertSQLiteXML::ok.

Referenced by exclude(), longitudinal(), transverse(), and valid().

118  {
119  bool ok = true;
120  if(abs(id.zside())!=1)return false;
121  if(id.channel() <= 0)return false;
122  if(!(id.section()== HcalZDCDetId::EM ||
123  id.section()== HcalZDCDetId::HAD ||
124  id.section()== HcalZDCDetId::LUM)) return false;
125  if(id.section()== HcalZDCDetId::EM && id.channel() > ICH_EM_MAX)
126  return false;
127  if(id.section()== HcalZDCDetId::HAD && id.channel() > ICH_HAD_MAX)
128  return false;
129  if(id.section()== HcalZDCDetId::LUM && id.channel() > ICH_LUM_MAX)
130  return false;
131  return ok;
132 }
static const int ICH_LUM_MAX
Definition: ZdcTopology.cc:8
static const int ICH_EM_MAX
Definition: ZdcTopology.cc:6
#define abs(x)
Definition: mlp_lapack.h:159
static const int ICH_HAD_MAX
Definition: ZdcTopology.cc:7
std::vector< DetId > ZdcTopology::west ( const DetId id) const
virtual

Get the neighbors of the given cell in west direction

Implements CaloSubdetectorTopology.

Definition at line 205 of file ZdcTopology.cc.

References gather_cfg::cout.

206 {
207  std::cout << "ZdcTopology::west() not yet implemented" << std::endl;
208  std::vector<DetId> vNeighborsDetId;
209  return vNeighborsDetId;
210 }
tuple cout
Definition: gather_cfg.py:121

Member Data Documentation

bool ZdcTopology::excludeEM_
private

Definition at line 59 of file ZdcTopology.h.

Referenced by exclude(), and isExcluded().

bool ZdcTopology::excludeHAD_
private

Definition at line 59 of file ZdcTopology.h.

Referenced by exclude(), and isExcluded().

bool ZdcTopology::excludeLUM_
private

Definition at line 59 of file ZdcTopology.h.

Referenced by exclude(), and isExcluded().

bool ZdcTopology::excludeZN_
private

Definition at line 59 of file ZdcTopology.h.

Referenced by exclude(), and isExcluded().

bool ZdcTopology::excludeZP_
private

Definition at line 59 of file ZdcTopology.h.

Referenced by exclude(), and isExcluded().

std::vector<HcalZDCDetId> ZdcTopology::exclusionList_
private

Definition at line 57 of file ZdcTopology.h.

Referenced by exclude(), and isExcluded().

int ZdcTopology::firstEMModule_
private

Definition at line 61 of file ZdcTopology.h.

Referenced by firstCell(), and firstEMModule().

int ZdcTopology::firstHADModule_
private

Definition at line 61 of file ZdcTopology.h.

Referenced by firstCell(), and firstHADModule().

int ZdcTopology::firstLUMModule_
private

Definition at line 61 of file ZdcTopology.h.

Referenced by firstCell(), and firstLUMModule().

int ZdcTopology::lastEMModule_
private

Definition at line 61 of file ZdcTopology.h.

Referenced by lastCell(), and lastEMModule().

int ZdcTopology::lastHADModule_
private

Definition at line 61 of file ZdcTopology.h.

Referenced by lastCell(), and lastHADModule().

int ZdcTopology::lastLUMModule_
private

Definition at line 61 of file ZdcTopology.h.

Referenced by lastCell(), and lastLUMModule().