Back to home page

sPhenix code displayed by LXR

 
 

    


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

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