Back to home page

sPhenix code displayed by LXR

 
 

    


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

0001 #ifndef __PACKET_CDEVRINGNOPOL_H__
0002 #define __PACKET_CDEVRINGNOPOL_H__
0003 
0004 
0005 #include <packet_w124.h>
0006 
0007 /**
0008    This is the packet which deals with data in CDEVRING 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_cdevringnopol : public Packet_w4 {
0018 #else
0019 class  Packet_cdevringnopol : public Packet_w4 {
0020 #endif
0021 
0022 public:
0023   Packet_cdevringnopol(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 
0034 iValue(i, "fillNumber")  returns the fillNumber
0035 
0036 \begin{verbatim}
0037 dValue(i,"beamEnergy")  ; gets the beamEnergy
0038 dValue(i,"gamma")       ; get  gamma
0039 dValue(i,"betaPMHorizontal");
0040 dValue(i,"betaPMVertical");
0041 dValule(i,"chromaticityVertical");
0042 dValue(i,"chromaticityHorizontal");
0043 \end{verbatim}
0044 
0045 In addition, there is 
0046 \begin{verbatim}
0047  packet->iValue(0,"stoneType")    The stoneType
0048  packet->iValue(0,"timeOfFillStart")   The fill Start Time
0049  packet->iValue(0,"timeOfLuminosityStart")     The luminosity start time
0050  
0051 
0052 \end{verbatim}
0053 */
0054 protected:
0055   virtual int *decode (int *);
0056   struct cdevRingNoPolData *ps;
0057   int hasfilldata;
0058   int decoded;
0059 };
0060 
0061 #endif /* __PACKET_CDEVIR_H__ */