Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-03 08:20:50

0001 #ifndef __PACKET_CDEVMADCH_H__
0002 #define __PACKET_CDEVMADCH_H__
0003 
0004 #include <packet_w124.h>
0005 
0006 /**
0007    This is the packet decoding the CDEV MADCH data.
0008    It inherits from Packet\_w4 because the data are 32bit entities.
0009 */
0010 #ifndef __CINT__
0011 class WINDOWSEXPORT Packet_cdevmadch : public Packet_w4 {
0012 #else
0013 class  Packet_cdevmadch : public Packet_w4 {
0014 #endif
0015 
0016 public:
0017   Packet_cdevmadch(PACKET_ptr);
0018 
0019   /**
0020 
0021   
0022    long   m_avgOrbTimeStamp;
0023   float  m_avgOrbPosition;
0024   float  m_avgOrbVariance;
0025   float  m_avgOrbStat;
0026   */
0027 
0028   int    iValue(const int channel,const char *what);
0029   double    dValue(const int channel,const char *what);
0030   //  float    rValue(const int channel,const int y);
0031 
0032 
0033   void  dump ( OSTREAM& ) ;
0034   
0035 protected:
0036   virtual int *decode (int *);
0037   struct cdevMadchData  *ps;
0038   int no_structures;
0039 
0040 };
0041 
0042 #endif /* __PACKET_CDEVMADCH_H__ */