Detector Class Reference

#include <Detector.hh>

Collaboration diagram for Detector:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Detector ()
 ~Detector ()
std::ostream & operator<< (std::ostream &out) const
bool addChamber (Chamber *aChamber)
ChamberMap_t getChambers (void) const
ChambergetChamberById (const i32 id) const
i64 getNumberOfChambers (void) const
unsigned int getNumberOfGaziplex96 () const
void build (const SteerDesc &sd)
void setDescription (std::string aDesc)

Private Attributes

std::string description
ChamberMap_t chambers

Friends

std::ostream & operator<< (std::ostream &out, const Detector &x)


Detailed Description

Class Detector //

Definition at line 21 of file Detector.hh.


Constructor & Destructor Documentation

Detector::Detector (  ) 

Detector::~Detector (  ) 


Member Function Documentation

std::ostream& Detector::operator<< ( std::ostream &  out  )  const

bool Detector::addChamber ( Chamber aChamber  ) 

ChamberMap_t Detector::getChambers ( void   )  const [inline]

Definition at line 32 of file Detector.hh.

Referenced by main().

00032 { return chambers; };

Chamber& Detector::getChamberById ( const i32  id  )  const

Referenced by main().

i64 Detector::getNumberOfChambers ( void   )  const [inline]

Definition at line 34 of file Detector.hh.

Referenced by main().

00034 { return chambers.size() ; };

unsigned int Detector::getNumberOfGaziplex96 (  )  const

void Detector::build ( const SteerDesc sd  ) 

Referenced by main().

void Detector::setDescription ( std::string  aDesc  )  [inline]

Definition at line 39 of file Detector.hh.

00039 { description = aDesc; };


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const Detector x 
) [friend]


Member Data Documentation

std::string Detector::description [private]

Definition at line 39 of file Detector.hh.

Referenced by setDescription().

ChamberMap_t Detector::chambers [private]

Definition at line 45 of file Detector.hh.

Referenced by getChambers(), and getNumberOfChambers().


The documentation for this class was generated from the following file:

Generated on Thu Jul 9 09:49:39 2009 for MicromegasFramework by  doxygen 1.5.8