BmnRoot
Loading...
Searching...
No Matches
BmnStripDigit.h
Go to the documentation of this file.
1
6#ifndef BMNSTRIPDIGIT_H
7#define BMNSTRIPDIGIT_H
8
9#include "TNamed.h"
10
11#include <iostream>
12
13class BmnStripDigit : public TNamed
14{
15 public:
18 BmnStripDigit(Int_t iStation,
19 Int_t iModule,
20 Int_t iStripLayer,
21 Int_t iStripNumber,
22 Double_t iStripSignal,
23 Double_t iStripNoise = -1);
24 virtual ~BmnStripDigit();
25
26 Int_t GetStation() { return fStation; }
27 Int_t GetModule() { return fModule; }
28 Int_t GetStripLayer() { return fStripLayer; }
29 Int_t GetStripNumber() { return fStripNumber; }
30 Double_t GetStripSignal() { return fStripSignal; }
31 Double_t GetStripNoise() { return fStripNoise; }
32 Bool_t IsGoodDigit() { return fIsGoodDigit; }
33
34 void SetStation(Int_t station) { fStation = station; }
35 void SetModule(Int_t module) { fModule = module; }
36 void SetStripLayer(Int_t layer) { fStripLayer = layer; }
37 void SetStripNumber(Int_t num) { fStripNumber = num; }
38 void SetStripSignal(Double_t signal) { fStripSignal = signal; }
39 void SetStripNoise(Double_t noise) { fStripNoise = noise; }
40 void SetIsGoodDigit(Bool_t tmp) { fIsGoodDigit = tmp; }
41
42 void Print()
43 {
44 std::cout << "Digi info# " << std::endl;
45 std::cout << "Stat# " << std::dec << fStation << std::endl;
46 std::cout << "Mod# " << std::dec << fModule << std::endl;
47 std::cout << "Layer# " << std::dec << fStripLayer << std::endl;
48 std::cout << "Strip# " << std::dec << fStripNumber << std::endl;
49 std::cout << "Signal# " << std::dec << fStripSignal << std::endl;
50 std::cout << "Noise# " << std::dec << fStripNoise << std::endl;
51 }
52
53 protected:
54 Int_t fStation;
55 Int_t fModule;
58 Double_t fStripSignal;
59 Double_t fStripNoise;
61
63};
64
65#endif /* BMNSTRIPDIGIT_H */
Bool_t fIsGoodDigit
Double_t GetStripNoise()
Bool_t IsGoodDigit()
void SetIsGoodDigit(Bool_t tmp)
Int_t GetStripNumber()
void SetStation(Int_t station)
void SetStripNumber(Int_t num)
void SetStripLayer(Int_t layer)
Int_t GetStripLayer()
Int_t GetStation()
void SetStripSignal(Double_t signal)
Double_t fStripSignal
ClassDef(BmnStripDigit, 2)
Double_t fStripNoise
Double_t GetStripSignal()
void SetStripNoise(Double_t noise)
Int_t GetModule()
virtual ~BmnStripDigit()
void SetModule(Int_t module)