ROOT logo
// File: htboxchan.h
//
// Author: Rainer Schicker
// created: 2/3/00
// Modified: 21/11/2001 D.Zovinec
// Modified: 03/09/2004 T.Wojcik
//
#ifndef HTBOXCHAN_H
#define HTBOXCHAN_H

#include "TObject.h"

class HTBoxChan : public TObject {

private:

   Int_t fChannel;     // channel number
   UInt_t fScaler;      // scalers data

public:
   HTBoxChan(void) : fChannel(-1), fScaler(0) {}
   ~HTBoxChan(void) {}
   void setScalerData(const Int_t s, const UInt_t i);
   void getScalerData(Int_t& ch, UInt_t& s);
   Int_t getChannel(void)   { return fChannel; }

   ClassDef(HTBoxChan, 1) // Trigger Box data
};


inline void HTBoxChan::setScalerData(const Int_t ch, const UInt_t s)
{
   fChannel = ch;
   fScaler = s;
}
inline void HTBoxChan::getScalerData(Int_t& ch, UInt_t& s)
{
   ch = fChannel;
   s  = fScaler;
}

#endif /* ! HTBoxChan_H */






 htboxchan.h:1
 htboxchan.h:2
 htboxchan.h:3
 htboxchan.h:4
 htboxchan.h:5
 htboxchan.h:6
 htboxchan.h:7
 htboxchan.h:8
 htboxchan.h:9
 htboxchan.h:10
 htboxchan.h:11
 htboxchan.h:12
 htboxchan.h:13
 htboxchan.h:14
 htboxchan.h:15
 htboxchan.h:16
 htboxchan.h:17
 htboxchan.h:18
 htboxchan.h:19
 htboxchan.h:20
 htboxchan.h:21
 htboxchan.h:22
 htboxchan.h:23
 htboxchan.h:24
 htboxchan.h:25
 htboxchan.h:26
 htboxchan.h:27
 htboxchan.h:28
 htboxchan.h:29
 htboxchan.h:30
 htboxchan.h:31
 htboxchan.h:32
 htboxchan.h:33
 htboxchan.h:34
 htboxchan.h:35
 htboxchan.h:36
 htboxchan.h:37
 htboxchan.h:38
 htboxchan.h:39
 htboxchan.h:40
 htboxchan.h:41
 htboxchan.h:42
 htboxchan.h:43
 htboxchan.h:44
 htboxchan.h:45
 htboxchan.h:46
 htboxchan.h:47
 htboxchan.h:48