CMCServerSetup.h
//-----------------------------------------------------------------------------
// $Header: /asis/offline/ceres/cool/project/RCS/CMCServerSetup.h,v 2.3 1997/06/30 16:24:28 lenkeit Exp $
//
// COOL Program Library
// Copyright (C) CERES collaboration, 1996
//
// Declaration of class CMCServerSetup.
//
//-----------------------------------------------------------------------------
#ifndef CMCSERVERSETUP_H
#define CMCSERVERSETUP_H
#include "cool.h"
#include "CSetup.h"
class CMCServerSetup : public CSetup {
public:
CMCServerSetup();
public:
void _read(const char*);
void _list(ostream& = cout);
void read(const char* file);
void list(ostream& ost = cout);
public:
inline int getGeantTrackLabel () const { return geantTrackLabel; }
inline int getRich1HitLabel () const { return rich1HitLabel; }
inline int getRich2HitLabel () const { return rich2HitLabel; }
inline int getSidc1HitLabel () const { return sidc1HitLabel; }
inline int getSidc2HitLabel () const { return sidc2HitLabel; }
inline int getPadChamberHitLabel () const { return padChamberHitLabel; }
inline int getUserLabel () const { return userLabel; }
inline double getCloseVertexDz () const { return closeVertexDz; }
inline double getCloseVertexOffset() const { return closeVertexOffset; }
inline double getTargetZInNewCoords() const { return targetZInNewCoords; }
inline void getCloseVertexDz (double val) { closeVertexDz = val; }
inline void getCloseVertexOffset (double val) { closeVertexOffset = val; }
inline void getTargetZInNewCoords(double val) { targetZInNewCoords = val; }
protected:
int geantTrackLabel;
int rich1HitLabel;
int rich2HitLabel;
int sidc1HitLabel;
int sidc2HitLabel;
int padChamberHitLabel;
int userLabel;
double closeVertexDz;
double closeVertexOffset;
double targetZInNewCoords;
};
#endif /* CMCSERVERSETUP_H */