Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

TkrBadStripsSvc Class Reference

#include <TkrBadStripsSvc.h>

Inheritance diagram for TkrBadStripsSvc:

Service ITkrBadStripsSvc TkrAxis IInterface List of all members.

Public Methods

 TkrBadStripsSvc (const std::string& name, ISvcLocator* pSvcLocator)
 Constructor of this form must be provided. More...

virtual ~TkrBadStripsSvc ()
StatusCode initialize ()
StatusCode finalize ()
int getIndex (const int tower, const int layer, const TkrAxis::axis)
v_stripsgetBadStrips (const int tower, const int layer, const TkrAxis::axis)
v_stripsgetBadStrips (const int index)
bool isBadStrip (const int tower, const int layer, const TkrAxis::axis, const int strip)
bool isBadStrip (const v_strips* v, const int strip)
bool isTaggedBad (const int taggedStrip)
int tagBad (const int strip)
int tagGood (const int strip)
int untag (const int strip)
StatusCode queryInterface (const IID& riid, void** ppvUnknown)
 queryInterface - for implementing a Service this is necessary. More...

const IID& type () const
 return the service type. More...


Static Public Methods

const InterfaceID& interfaceID ()
 Constructor of this form must be provided. More...


Private Methods

void readFromFile (std::ifstream* file)
void addStrip (v_strips* v, const int strip)

Private Attributes

ITkrGeometrySvcpTkrGeom
std::string m_badStripsFile
int m_ntowers
int m_nlayers
int m_nviews
v_strips m_stripsCol [576]

Constructor & Destructor Documentation

TkrBadStripsSvc::TkrBadStripsSvc ( const std::string & name,
ISvcLocator * pSvcLocator )
 

Constructor of this form must be provided.

Definition at line 18 of file TkrBadStripsSvc.cxx.

TkrBadStripsSvc::~TkrBadStripsSvc ( ) [inline, virtual]
 

Definition at line 29 of file TkrBadStripsSvc.h.


Member Function Documentation

void TkrBadStripsSvc::addStrip ( v_strips * v,
const int strip ) [private]
 

Definition at line 183 of file TkrBadStripsSvc.cxx.

Referenced by readFromFile().

StatusCode TkrBadStripsSvc::finalize ( )
 

Definition at line 111 of file TkrBadStripsSvc.cxx.

v_strips * TkrBadStripsSvc::getBadStrips ( const int index ) [virtual]
 

Reimplemented from ITkrBadStripsSvc.

Definition at line 200 of file TkrBadStripsSvc.cxx.

v_strips * TkrBadStripsSvc::getBadStrips ( const int tower,
const int layer,
const TkrAxis::axis axis ) [virtual]
 

Reimplemented from ITkrBadStripsSvc.

Definition at line 192 of file TkrBadStripsSvc.cxx.

Referenced by isBadStrip(), and readFromFile().

int TkrBadStripsSvc::getIndex ( const int tower,
const int layer,
const TkrAxis::axis axis ) [virtual]
 

Reimplemented from ITkrBadStripsSvc.

Definition at line 171 of file TkrBadStripsSvc.cxx.

Referenced by getBadStrips().

StatusCode TkrBadStripsSvc::initialize ( )
 

Definition at line 28 of file TkrBadStripsSvc.cxx.

const InterfaceID & TkrBadStripsSvc::interfaceID ( ) [inline, static]
 

Constructor of this form must be provided.

Reimplemented from ITkrBadStripsSvc.

Definition at line 46 of file TkrBadStripsSvc.h.

bool TkrBadStripsSvc::isBadStrip ( const v_strips * v,
const int strip ) [virtual]
 

Reimplemented from ITkrBadStripsSvc.

Definition at line 238 of file TkrBadStripsSvc.cxx.

bool TkrBadStripsSvc::isBadStrip ( const int tower,
const int layer,
const TkrAxis::axis axis,
const int strip ) [virtual]
 

Reimplemented from ITkrBadStripsSvc.

Definition at line 231 of file TkrBadStripsSvc.cxx.

bool TkrBadStripsSvc::isTaggedBad ( const int taggedStrip ) [virtual]
 

Reimplemented from ITkrBadStripsSvc.

Definition at line 226 of file TkrBadStripsSvc.cxx.

StatusCode TkrBadStripsSvc::queryInterface ( const IID & riid,
void ** ppvIF )
 

queryInterface - for implementing a Service this is necessary.

Definition at line 248 of file TkrBadStripsSvc.cxx.

void TkrBadStripsSvc::readFromFile ( std::ifstream * file ) [private]
 

Definition at line 125 of file TkrBadStripsSvc.cxx.

Referenced by initialize().

int TkrBadStripsSvc::tagBad ( const int strip ) [virtual]
 

Reimplemented from ITkrBadStripsSvc.

Definition at line 208 of file TkrBadStripsSvc.cxx.

Referenced by addStrip(), and isBadStrip().

int TkrBadStripsSvc::tagGood ( const int strip ) [virtual]
 

Reimplemented from ITkrBadStripsSvc.

Definition at line 214 of file TkrBadStripsSvc.cxx.

const IID & TkrBadStripsSvc::type ( ) const
 

return the service type.

Definition at line 262 of file TkrBadStripsSvc.cxx.

int TkrBadStripsSvc::untag ( const int strip ) [virtual]
 

Reimplemented from ITkrBadStripsSvc.

Definition at line 220 of file TkrBadStripsSvc.cxx.


Member Data Documentation

std::string TkrBadStripsSvc::m_badStripsFile [private]
 

Definition at line 59 of file TkrBadStripsSvc.h.

int TkrBadStripsSvc::m_nlayers [private]
 

Definition at line 62 of file TkrBadStripsSvc.h.

int TkrBadStripsSvc::m_ntowers [private]
 

Definition at line 61 of file TkrBadStripsSvc.h.

int TkrBadStripsSvc::m_nviews [private]
 

Definition at line 63 of file TkrBadStripsSvc.h.

v_strips TkrBadStripsSvc::m_stripsCol[576] [private]
 

Definition at line 67 of file TkrBadStripsSvc.h.

ITkrGeometrySvc * TkrBadStripsSvc::pTkrGeom [private]
 

Definition at line 57 of file TkrBadStripsSvc.h.


The documentation for this class was generated from the following files:
Generated at Wed Nov 21 12:21:29 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000