#include "hspectrometer.h"

HSpectrometer


class description - source file - inheritance tree (.pdf)

class HSpectrometer : public TNamed

Inheritance Chart:
TObject
<-
TNamed
<-
HSpectrometer

    public:
HSpectrometer() HSpectrometer(const HSpectrometer&) ~HSpectrometer() void activateParIo(HParIo* io) void addDetector(HDetector* det) static TClass* Class() HDetector* getDetector(const char* name) TList* getListOfDetectors() HGeomShapes* getShapes() Bool_t hasChanged() Bool_t init() virtual TClass* IsA() const HSpectrometer& operator=(const HSpectrometer&) void print() void setChanged(Bool_t f = kTRUE) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) Bool_t write() Bool_t write(HParIo* io)

Data Members


    protected:
TList* detectors List of detectors Bool_t changed ! flag is kTRUE if the setup changes HGeomShapes* shapes ! shape class containing the different shapes

Class Description

 HSpectrometer

  class for the actual setup of the HADES spectrometer used
  in the analysis.
  It contains the list of defined detectors.



HSpectrometer(void) : TNamed("Hades","The Hades spectrometer")
 constructor creates an empty list of detectors

~HSpectrometer(void)
 destructor

void addDetector(HDetector* det)
 adds a detector to the list of detectors

HDetector* getDetector(const char* name)
 returns a pointer to the detector called by name

Bool_t init(void)
 Calls the init function of each detector in the spectrometer.
 The string level indicates the start level of the analysis
 Each detector (as e.g. MDC) which needs special initialization
 before creating the tasks must have an init(...)-function

void activateParIo(HParIo* io)
 activates the spectrometer I/O
 loops over the list of detectors and activates the
 corresponding detector I/Os

Bool_t write()
 writes the actual setup to the output defined in the
 runtime database

Bool_t write(HParIo* io)
 writes the actual setup to the output

HGeomShapes* getShapes()

void print()
 prints the actual setup

void Streamer(TBuffer &R__b)
 Stream an object of class HSpectrometer



Inline Functions


                Bool_t hasChanged()
                  void setChanged(Bool_t f = kTRUE)
                TList* getListOfDetectors()
               TClass* Class()
               TClass* IsA() const
                  void ShowMembers(TMemberInspector& insp, char* parent)
                  void StreamerNVirtual(TBuffer& b)
         HSpectrometer HSpectrometer(const HSpectrometer&)
        HSpectrometer& operator=(const HSpectrometer&)


Last update: 30/12/02 by Ilse Koenig


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.