ROOT logo
#ifndef HWALLONEHIT_H
#define HWALLONEHIT_H

#include "TObject.h"

class HWallOneHit : public TObject {
protected:
    Float_t timeHit;    // tdc time
    Float_t chargeHit;  // adc charge  
    Int_t cell;      // paddle number
public:
    HWallOneHit(void);
    ~HWallOneHit(void) {;}

    void setTime(const Float_t v)   { timeHit=v; }
    void setCharge(const Float_t v) { chargeHit=v; }
    void setCell(const Int_t n)     { cell=n; }
    void setAddress(const Int_t c);

    void clear(void);
    void fill(const Float_t t, const Float_t a, const Int_t c);

    Float_t getTime(void) const { return timeHit; }
    Float_t getCharge(void) const { return chargeHit; }
    Int_t getCell(void) const { return cell; }
    void getAddress(Int_t& c);

    ClassDef(HWallOneHit,1)  // WALL detector calibrated data
};

#endif /* ! HWALLONEHIT_H */
 hwallonehit.h:1
 hwallonehit.h:2
 hwallonehit.h:3
 hwallonehit.h:4
 hwallonehit.h:5
 hwallonehit.h:6
 hwallonehit.h:7
 hwallonehit.h:8
 hwallonehit.h:9
 hwallonehit.h:10
 hwallonehit.h:11
 hwallonehit.h:12
 hwallonehit.h:13
 hwallonehit.h:14
 hwallonehit.h:15
 hwallonehit.h:16
 hwallonehit.h:17
 hwallonehit.h:18
 hwallonehit.h:19
 hwallonehit.h:20
 hwallonehit.h:21
 hwallonehit.h:22
 hwallonehit.h:23
 hwallonehit.h:24
 hwallonehit.h:25
 hwallonehit.h:26
 hwallonehit.h:27
 hwallonehit.h:28
 hwallonehit.h:29
 hwallonehit.h:30
 hwallonehit.h:31