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 14 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:60
bool excludeEM_
Definition: ZdcTopology.h:58
int lastLUMModule_
Definition: ZdcTopology.h:60
bool excludeHAD_
Definition: ZdcTopology.h:58
bool excludeZN_
Definition: ZdcTopology.h:58
int firstHADModule_
Definition: ZdcTopology.h:60
bool excludeLUM_
Definition: ZdcTopology.h:58
bool excludeZP_
Definition: ZdcTopology.h:58
int lastEMModule_
Definition: ZdcTopology.h:60
int firstLUMModule_
Definition: ZdcTopology.h:60
int lastHADModule_
Definition: ZdcTopology.h:60

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 223 of file ZdcTopology.cc.

References gather_cfg::cout.

224 {
225  std::cout << "ZdcTopology::down() not yet implemented" << std::endl;
226  std::vector<DetId> vNeighborsDetId;
227  return vNeighborsDetId;
228 }
tuple cout
Definition: gather_cfg.py:145
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 191 of file ZdcTopology.cc.

References gather_cfg::cout.

192 {
193  std::cout << "ZdcTopology::east() not yet implemented" << std::endl;
194  std::vector<DetId> vNeighborsDetId;
195  return vNeighborsDetId;
196 }
tuple cout
Definition: gather_cfg.py:145
void ZdcTopology::exclude ( const HcalZDCDetId id)

Exlucde a cell

Definition at line 52 of file ZdcTopology.cc.

References exclusionList_, and i.

Referenced by exclude().

52  {
53  std::vector<HcalZDCDetId>::iterator
54  i=std::lower_bound(exclusionList_.begin(),exclusionList_.end(),id);
55  if (i==exclusionList_.end() || *i!=id) {
56  exclusionList_.insert(i,id);
57  }
58 }
int i
Definition: DBlmapReader.cc:9
std::vector< HcalZDCDetId > exclusionList_
Definition: ZdcTopology.h:56
void ZdcTopology::exclude ( int  zside)

Exclude a side

Definition at line 60 of file ZdcTopology.cc.

References excludeZN_, and excludeZP_.

60  {
61  switch(zside){
62  case( 1): excludeZP_ = true; break;
63  case(-1): excludeZN_ = true; break;
64  default: break;
65  }
66 }
int zside(DetId const &)
bool excludeZN_
Definition: ZdcTopology.h:58
bool excludeZP_
Definition: ZdcTopology.h:58
void ZdcTopology::exclude ( int  zside,
HcalZDCDetId::Section  section 
)

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

Definition at line 68 of file ZdcTopology.cc.

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

68  {
69  switch(zside){
70  case( 1): excludeZP_ = true; break;
71  case(-1): excludeZN_ = true; break;
72  default: break;
73  }
74  switch (section) {
75  case(HcalZDCDetId::EM) : excludeEM_ = true; break;
76  case(HcalZDCDetId::HAD) : excludeHAD_ = true; break;
77  case(HcalZDCDetId::LUM) : excludeLUM_ = true; break;
78  default: break;
79  }
80 }
bool excludeEM_
Definition: ZdcTopology.h:58
bool excludeHAD_
Definition: ZdcTopology.h:58
int zside(DetId const &)
bool excludeZN_
Definition: ZdcTopology.h:58
bool excludeLUM_
Definition: ZdcTopology.h:58
bool excludeZP_
Definition: ZdcTopology.h:58
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 82 of file ZdcTopology.cc.

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

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

Definition at line 241 of file ZdcTopology.cc.

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

Referenced by ZdcHardcodeGeometryLoader::fill().

241  {
242  int firstCell = 0;
243  switch (section) {
244  case(HcalZDCDetId::EM) : firstCell = firstEMModule_ ; break;
245  case(HcalZDCDetId::HAD) : firstCell = firstHADModule_; break;
246  case(HcalZDCDetId::LUM) : firstCell = firstLUMModule_; break;
247  case(HcalZDCDetId::Unknown) : firstCell = 0; break;
248  }
249  return firstCell;
250 }
int firstEMModule_
Definition: ZdcTopology.h:60
int firstHADModule_
Definition: ZdcTopology.h:60
int firstCell(HcalZDCDetId::Section section) const
Definition: ZdcTopology.cc:241
int firstLUMModule_
Definition: ZdcTopology.h:60
int ZdcTopology::firstEMModule ( ) const
inlineprivate

Definition at line 65 of file ZdcTopology.h.

References firstEMModule_.

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

Definition at line 66 of file ZdcTopology.h.

References firstHADModule_.

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

Definition at line 67 of file ZdcTopology.h.

References firstLUMModule_.

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

Definition at line 32 of file ZdcTopology.cc.

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

Referenced by valid().

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

Definition at line 252 of file ZdcTopology.cc.

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

Referenced by ZdcHardcodeGeometryLoader::fill().

252  {
253  int lastCell = 0;
254  switch (section) {
255  case(HcalZDCDetId::EM) : lastCell = lastEMModule_; break;
256  case(HcalZDCDetId::HAD) : lastCell = lastHADModule_; break;
257  case(HcalZDCDetId::LUM) : lastCell = lastLUMModule_; break;
258  case(HcalZDCDetId::Unknown) : lastCell = 0; break;
259  }
260  return lastCell;
261 }
int lastLUMModule_
Definition: ZdcTopology.h:60
int lastCell(HcalZDCDetId::Section section) const
Definition: ZdcTopology.cc:252
int lastEMModule_
Definition: ZdcTopology.h:60
int lastHADModule_
Definition: ZdcTopology.h:60
int ZdcTopology::lastEMModule ( ) const
inlineprivate

Definition at line 68 of file ZdcTopology.h.

References lastEMModule_.

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

Definition at line 69 of file ZdcTopology.h.

References lastHADModule_.

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

Definition at line 70 of file ZdcTopology.h.

References lastLUMModule_.

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

Get the longitudinal neighbors (Z) of the given cell

Definition at line 152 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().

152  {
153  std::vector<DetId> vNeighborsDetId;
154  HcalZDCDetId zdcId = HcalZDCDetId(id);
155  HcalZDCDetId zdcDetId;
156  if(validRaw(zdcId) && zdcId.section()== HcalZDCDetId::HAD){
157  bool isPositive = false;
158  if(zdcId.zside()==1)isPositive = true;
159  if(zdcId.channel()==1){
160  zdcDetId = HcalZDCDetId(zdcId.section(), isPositive, zdcId.channel()+1);
161  vNeighborsDetId.push_back(zdcDetId.rawId());
162  return vNeighborsDetId;
163  }
164  if(zdcId.channel()== ICH_HAD_MAX){
165  zdcDetId = HcalZDCDetId(zdcId.section(), isPositive, zdcId.channel()-1);
166  vNeighborsDetId.push_back(zdcDetId.rawId());
167  return vNeighborsDetId;
168  }
169  zdcDetId = HcalZDCDetId(zdcId.section(), isPositive, zdcId.channel()-1);
170  vNeighborsDetId.push_back(zdcDetId.rawId());
171  zdcDetId = HcalZDCDetId(zdcId.section(), isPositive, zdcId.channel()+1);
172  vNeighborsDetId.push_back(zdcDetId.rawId());
173  }
174  if(validRaw(zdcId) && zdcId.section()== HcalZDCDetId::LUM){
175  bool isPositive = false;
176  if(zdcId.zside()==1)isPositive = true;
177  if(zdcId.channel()==1){
178  zdcDetId = HcalZDCDetId(zdcId.section(), isPositive, zdcId.channel()+1);
179  vNeighborsDetId.push_back(zdcDetId.rawId());
180  return vNeighborsDetId;
181  }
182  if(zdcId.channel()== ICH_LUM_MAX){
183  zdcDetId = HcalZDCDetId(zdcId.section(), isPositive, zdcId.channel()-1);
184  vNeighborsDetId.push_back(zdcDetId.rawId());
185  return vNeighborsDetId;
186  }
187  }
188  return vNeighborsDetId;
189 }
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:34
bool validRaw(const HcalZDCDetId &id) const
Definition: ZdcTopology.cc:111
uint32_t rawId() const
get the raw id
Definition: DetId.h:43
Section section() const
get the section
Definition: HcalZDCDetId.h:36
int channel() const
get the channel
Definition: HcalZDCDetId.h:40
static const int ICH_HAD_MAX
Definition: ZdcTopology.cc:7
int ZdcTopology::ncells ( HcalZDCDetId::Section  section) const

Definition at line 230 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.

230  {
231  int ncells = 0;
232  switch (section) {
233  case(HcalZDCDetId::EM) : ncells = ICH_EM_MAX; break;
234  case(HcalZDCDetId::HAD) : ncells = ICH_HAD_MAX; break;
235  case(HcalZDCDetId::LUM) : ncells = ICH_LUM_MAX; break;
236  case(HcalZDCDetId::Unknown) : ncells =0; break;
237  }
238  return ncells;
239 }
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 205 of file ZdcTopology.cc.

References gather_cfg::cout.

206 {
207  std::cout << "ZdcTopology::north() not yet implemented" << std::endl;
208  std::vector<DetId> vNeighborsDetId;
209  return vNeighborsDetId;
210 }
tuple cout
Definition: gather_cfg.py:145
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 211 of file ZdcTopology.cc.

References gather_cfg::cout.

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

Get the transverse (X) neighbors of the given cell

Definition at line 127 of file ZdcTopology.cc.

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

127  {
128  std::vector<DetId> vNeighborsDetId;
129  HcalZDCDetId zdcId = HcalZDCDetId(id);
130  HcalZDCDetId zdcDetId;
131  if(validRaw(zdcId) && zdcId.section()== HcalZDCDetId::EM){
132  bool isPositive = false;
133  if(zdcId.zside()==1)isPositive = true;
134  if(zdcId.channel()==1){
135  zdcDetId = HcalZDCDetId(zdcId.section(), isPositive, zdcId.channel()+1);
136  vNeighborsDetId.push_back(zdcDetId.rawId());
137  return vNeighborsDetId;
138  }
139  if(zdcId.channel()== ICH_EM_MAX){
140  zdcDetId = HcalZDCDetId(zdcId.section(), isPositive, zdcId.channel()-1);
141  vNeighborsDetId.push_back(zdcDetId.rawId());
142  return vNeighborsDetId;
143  }
144  zdcDetId = HcalZDCDetId(zdcId.section(), isPositive, zdcId.channel()-1);
145  vNeighborsDetId.push_back(zdcDetId.rawId());
146  zdcDetId = HcalZDCDetId(zdcId.section(), isPositive, zdcId.channel()+1);
147  vNeighborsDetId.push_back(zdcDetId.rawId());
148  }
149  return vNeighborsDetId;
150 }
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:34
bool validRaw(const HcalZDCDetId &id) const
Definition: ZdcTopology.cc:111
uint32_t rawId() const
get the raw id
Definition: DetId.h:43
Section section() const
get the section
Definition: HcalZDCDetId.h:36
int channel() const
get the channel
Definition: HcalZDCDetId.h:40
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 217 of file ZdcTopology.cc.

References gather_cfg::cout.

218 {
219  std::cout << "ZdcTopology::up() not yet implemented" << std::endl;
220  std::vector<DetId> vNeighborsDetId;
221  return vNeighborsDetId;
222 }
tuple cout
Definition: gather_cfg.py:145
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:111
bool isExcluded(const HcalZDCDetId &id) const
Definition: ZdcTopology.cc:32
bool ZdcTopology::validRaw ( const HcalZDCDetId id) const
private

Definition at line 111 of file ZdcTopology.cc.

References funct::abs(), HcalZDCDetId::EM, HcalZDCDetId::HAD, ICH_EM_MAX, ICH_HAD_MAX, ICH_LUM_MAX, HcalZDCDetId::LUM, convertSQLiteXML::ok, and ecaldqm::zside().

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

111  {
112  bool ok = true;
113  if(abs(id.zside())!=1)return false;
114  if(id.channel() <= 0)return false;
115  if(!(id.section()== HcalZDCDetId::EM ||
116  id.section()== HcalZDCDetId::HAD ||
117  id.section()== HcalZDCDetId::LUM)) return false;
118  if(id.section()== HcalZDCDetId::EM && id.channel() > ICH_EM_MAX)
119  return false;
120  if(id.section()== HcalZDCDetId::HAD && id.channel() > ICH_HAD_MAX)
121  return false;
122  if(id.section()== HcalZDCDetId::LUM && id.channel() > ICH_LUM_MAX)
123  return false;
124  return ok;
125 }
static const int ICH_LUM_MAX
Definition: ZdcTopology.cc:8
static const int ICH_EM_MAX
Definition: ZdcTopology.cc:6
int zside(DetId const &)
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
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 198 of file ZdcTopology.cc.

References gather_cfg::cout.

199 {
200  std::cout << "ZdcTopology::west() not yet implemented" << std::endl;
201  std::vector<DetId> vNeighborsDetId;
202  return vNeighborsDetId;
203 }
tuple cout
Definition: gather_cfg.py:145

Member Data Documentation

bool ZdcTopology::excludeEM_
private

Definition at line 58 of file ZdcTopology.h.

Referenced by exclude(), and isExcluded().

bool ZdcTopology::excludeHAD_
private

Definition at line 58 of file ZdcTopology.h.

Referenced by exclude(), and isExcluded().

bool ZdcTopology::excludeLUM_
private

Definition at line 58 of file ZdcTopology.h.

Referenced by exclude(), and isExcluded().

bool ZdcTopology::excludeZN_
private

Definition at line 58 of file ZdcTopology.h.

Referenced by exclude().

bool ZdcTopology::excludeZP_
private

Definition at line 58 of file ZdcTopology.h.

Referenced by exclude().

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

Definition at line 56 of file ZdcTopology.h.

Referenced by exclude(), and isExcluded().

int ZdcTopology::firstEMModule_
private

Definition at line 60 of file ZdcTopology.h.

Referenced by firstCell(), and firstEMModule().

int ZdcTopology::firstHADModule_
private

Definition at line 60 of file ZdcTopology.h.

Referenced by firstCell(), and firstHADModule().

int ZdcTopology::firstLUMModule_
private

Definition at line 60 of file ZdcTopology.h.

Referenced by firstCell(), and firstLUMModule().

int ZdcTopology::lastEMModule_
private

Definition at line 60 of file ZdcTopology.h.

Referenced by lastCell(), and lastEMModule().

int ZdcTopology::lastHADModule_
private

Definition at line 60 of file ZdcTopology.h.

Referenced by lastCell(), and lastHADModule().

int ZdcTopology::lastLUMModule_
private

Definition at line 60 of file ZdcTopology.h.

Referenced by lastCell(), and lastLUMModule().