![]() |
|
|||
File indexing completed on 2025-08-03 08:20:40
0001 #ifndef __PACKET_CDEVRING_H__ 0002 #define __PACKET_CDEVRING_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_cdevring : public Packet_w4 { 0018 #else 0019 class Packet_cdevring : public Packet_w4 { 0020 #endif 0021 0022 public: 0023 Packet_cdevring(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 iValue(i, "fillNumber") returns the fillNumber 0037 0038 \begin{verbatim} 0039 dValue(i,"beamEnergy") ; gets the beamEnergy 0040 dValue(i,"gamma") ; get gamma 0041 dValue(i,"bunchOneRelativePhase") ; gets the bunch one relative phase 0042 \end{verbatim} 0043 0044 In addition, there is 0045 \begin{verbatim} 0046 packet->iValue(0,"stoneType") The stoneType 0047 packet->iValue(0,"timeOfFillStart") The fill Start Time 0048 packet->iValue(0,"timeOfLuminosityStart") The luminosity start time 0049 0050 \end{verbatim} 0051 */ 0052 protected: 0053 virtual int *decode (int *); 0054 struct cdevRingData *ps; 0055 int haspoldata; 0056 int hasfilldata; 0057 int decoded; 0058 }; 0059 0060 #endif /* __PACKET_CDEVIR_H__ */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |