Back to home page

sPhenix code displayed by LXR

 
 

    


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

0001 #ifndef __PACKET_CDEVDVM_H__
0002 #define __PACKET_CDEVDVM_H__
0003 
0004 
0005 #include <packet_w124.h>
0006 
0007 /**

0008    This is the packet which deals with data in CDEVDVM format.

0009    It inherits from Packet\_w4 because the data are 32bit entities.

0010 

0011 

0012 */
0013 /** with the "what" parameter you can decide which aspect of

0014 the data is made available. This class is one of those which have

0015 several different "kinds" of data; we use this to bring up 

0016 the misc. .

0017 

0018 \begin{verbatim}

0019 packet->dValue(i, "beamCurrent") gives you the  beam Current    - double

0020 packet->dValue(i, "beamLifeTime") you get the   beam lifetime   - double

0021 packet->fValue(i, "beamLifeTime") you get the   beam lifetime   - float

0022 

0023 \end{verbatim}

0024 

0025 */
0026 
0027 
0028 
0029 #ifndef __CINT__
0030 class WINDOWSEXPORT Packet_cdevdvm : public Packet_w4 {
0031 #else
0032 class  Packet_cdevdvm : public Packet_w4 {
0033 #endif
0034 
0035 public:
0036   Packet_cdevdvm(PACKET_ptr);
0037   virtual void  dump ( OSTREAM& ) ;
0038   virtual double dValue(const int channel,const char *what);
0039   virtual float  fValue(const int channel,const char *what); // ?? TKH ??

0040   virtual float  rValue(const int channel,const char *what);
0041 
0042 protected:
0043   virtual int *decode (int *);
0044   struct cdevDvmData *ps;
0045   int decoded;
0046 };
0047 
0048 #endif /* __PACKET_CDEVDVM_H__ */