Back to home page

sPhenix code displayed by LXR

 
 

    


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

0001 #ifndef __PACKET_CDEVBUCKETS_H__
0002 #define __PACKET_CDEVBUCKETS_H__
0003 
0004 
0005 #include <packet_w124.h>
0006 
0007 /**
0008    This is the packet which deals with data in CDEVBUCKETS format.
0009    It inherits from Packet\_w4 because the data are 32bit entities.
0010 
0011 
0012 */
0013 
0014 
0015 
0016 #ifndef __CINT__
0017 class WINDOWSEXPORT Packet_cdevbuckets : public Packet_w4 {
0018 #else
0019 class  Packet_cdevbuckets : public Packet_w4 {
0020 #endif
0021 
0022 public:
0023   Packet_cdevbuckets(PACKET_ptr);
0024   virtual void  dump ( OSTREAM& ) ;
0025   virtual double  dValue(const int channel,const char *what);
0026   virtual int  iValue(const int channel,const char *what);
0027 /** with the "what" parameter you can decide which aspect of
0028 the data is made available. This class is one of those which have
0029 several different "kinds" of data; we use this to bring up 
0030 the misc. .
0031 
0032 
0033 With iValue(i, "measuredFillPattern")     returns the measuredFillPattern, and
0034 iValue(i, "intendedFillPattern")          returns the intendedFillPattern.
0035 With iValue(i, "polarizationFillPattern") returns the polarizationFillPattern,
0036 
0037 
0038 \begin{verbatim}
0039 dValue(i,"bunchLength")                ; gets the bunchLength
0040 dValue(i,"fillPatternThreshold")       ; get  fillPatternThreshold
0041 dValue(i,"bunchOneRelativePhase")      ; gets the bunch one relative phase
0042 \end{verbatim}
0043 
0044 
0045 */
0046 protected:
0047   virtual int *decode (int *);
0048   struct cdevBucketsData *ps;
0049   int decoded;
0050 };
0051 
0052 #endif /* __PACKET_CDEVBUCKETS_H__ */