Back to index

See source file

PdbParameter.hh

 
//----------------------------------------------------------------------------- 
// 
//  The pdbcal package 
//  Copyright (C) PHENIX collaboration, 1999 
// 
//  Declaration of class PdbParameter 
// 
//  Purpose: single parameter storage class  
// 
//  Description: 
// 
//  Author: federica 
//----------------------------------------------------------------------------- 
#ifndef __PDBPARAMETER_DDL__ 
#define __PDBPARAMETER_DDL__ 
 
#include "PdbCalChan.hh" 
 
class PdbParameter : public PdbCalChan { 
public: 
  PdbParameter(); 
  PdbParameter(float); 
  PdbParameter(float, char* name);  
  virtual ~PdbParameter(); 
 
  PdbParameter(const PdbParameter &);  
  PdbParameter & operator = (const PdbParameter &);  
 
  float getParameter()          { return thePar;  } 
  char* getName()               { return theName; } 
   
  void  setParameter(float val) { thePar = val; } 
  void  setName(char* name); 
   
  virtual void print() const; 
 
private: 
 
  float thePar; 
  char  theName[20]; 
}; 
 
#endif /* __PDBPARAMETER_DDL__ */ 

Back to index

See source file