File indexing completed on 2025-08-03 08:20:41
0001 #ifndef __PACKET_STARSCALER_H__
0002 #define __PACKET_STARSCALER_H__
0003
0004
0005 #include "packet_w124.h"
0006 #if !defined(SunOS) && !defined(OSF1)
0007 #include <map>
0008 #endif
0009
0010
0011
0012
0013
0014 #ifndef __CINT__
0015 class WINDOWSEXPORT Packet_starscaler : public Packet_w4 {
0016 #else
0017 class Packet_starscaler : public Packet_w4 {
0018 #endif
0019
0020
0021 public:
0022 Packet_starscaler(PACKET_ptr);
0023 ~Packet_starscaler();
0024 long long lValue(const int channel);
0025 int iValue(const int channel);
0026 int iValue(const int channel,const char *what);
0027
0028 void dump ( OSTREAM& ) ;
0029
0030 protected:
0031
0032 virtual int *decode (int *);
0033 long long *s_vector;
0034 int s_vectorlength;
0035
0036 #if !defined(SunOS) && !defined(OSF1)
0037 std::map <int, int> smap;
0038 #endif
0039
0040
0041 };
0042
0043 #endif