Back to index

See source file

PHRawDataNode.h

 
//----------------------------------------------------------------------------- 
//  $Header: /afs/rhic/phenix/cvsroot/offline/framework/phool/PHRawDataNode.h,v 1.2 2001/06/01 18:56:53 dave Exp $ 
// 
//  The PHOOL's Software 
//  Copyright (C) PHENIX collaboration, 1999 
// 
//  Declaration of class PHRawDataNode 
// 
//  Purpose: Node digested by the PHRawOManager 
// 
//  Description: 
// 
//  Author: Matthias Messer 
//----------------------------------------------------------------------------- 
#ifndef PHRAWDATANODE_H 
#define PHRAWDATANODE_H 
 
#include "PHDataNode.h" 
#include "phenixTypes.h" 
 
class PHRawDataNode : public PHDataNode<DWORD> {  
 
public:  
   PHRawDataNode(); 
   PHRawDataNode(DWORD *, const PHString&, int, int, int, int); 
   ~PHRawDataNode(); 
 
public: 
   virtual PHBoolean write(PHIOManager *, const PHString& = ""); 
 
   int getLength()     const { return length; } 
   int getID()         const { return ID; } 
   int getWordLength() const { return wordLength; } 
   int getHitFormat()  const { return hitFormat; } 
 
   void setLength(int val)     { length = val; } 
   void setID(int val)         { ID = val; } 
   void setWordLength(int val) { wordLength = val; } 
   void setHitFormat(int val)  { hitFormat = val; } 
 
private:  
   int length; 
   int ID; 
   int wordLength; 
   int hitFormat; 
};  
 
#endif /* PHRAWDATANODE_H */  

Back to index

See source file