13#ifndef TMDCLayer_FLAG_
14#define TMDCLayer_FLAG_
16#ifdef TRKRECO_DEBUG_DETAIL
24#define HEP_SHORT_NAMES
25#include "CLHEP/Alist/AList.h"
43 unsigned id(
void)
const;
55 unsigned nWires(
void)
const;
61 bool axial(
void)
const;
76 void dump(
const std::string & message = std::string(
""),
77 const std::string & prefix = std::string(
""))
const;
87 unsigned _superLayerId;
88 unsigned _localLayerId;
89 unsigned _axialStereoLayerId;
98#ifdef TMDCLayer_NO_INLINE
102#define TMDCLayer_INLINE_DEFINE_HERE
105#ifdef TMDCLayer_INLINE_DEFINE_HERE
116 return _superLayerId;
122 return _localLayerId;
148 if (_type==1)
return false;
157 if (_type==1)
return true;
164 return _axialStereoLayerId;
A class to represent a wire layer.
unsigned id(void) const
returns id.
unsigned superLayerId(void) const
returns super layer id.
void dump(const std::string &message=std::string(""), const std::string &prefix=std::string("")) const
dumps debug information.
float offset(void) const
returns offset.
float cellSize(void) const
returns cell size.
bool stereo(void) const
returns true if this is a stereo layer.
virtual ~TMDCLayer()
Destructor.
unsigned localLayerId(void) const
returns local layer id in a super layer.
unsigned axialStereoLayerId(void) const
returns id of axial or stereo id.
const TMDCWire *const wire(int id) const
returns a pointer to a wire. 'id' can be negative or 'id' can be greater than 'nWires()'.
bool axial(void) const
returns true if this is an axial layer.
const MdcGeoLayer * geocdc(void) const
returns a pointer to GEOMDC_WIR.
unsigned nWires(void) const
returns # of wires.
A class to represent a wire in MDC.