]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ITS/AliITSNoiseSSD.h
Adding some further mother volumes to speed-up the overlap checking and particle...
[u/mrichter/AliRoot.git] / ITS / AliITSNoiseSSD.h
CommitLineData
fb4dfab9 1#ifndef ALIITSNOISESSD_H
2#define ALIITSNOISESSD_H
3
88128115 4#include "TObjArray.h"
5#include "TArrayF.h"
6
fb4dfab9 7//////////////////////////////////////////////
8// Author: Enrico Fragiacomo
9// Date: 23/08/2007
10// //
11//////////////////////////////////////////////
12class AliITSNoiseSSD : public TObject {
13
14 public:
15
16 AliITSNoiseSSD();
17 virtual ~AliITSNoiseSSD();
18 AliITSNoiseSSD(const AliITSNoiseSSD &source); // copy constructor
19 AliITSNoiseSSD& operator=(const AliITSNoiseSSD &source); // ass. op.
20
88128115 21 void SetNNoiseP(Int_t n) { fNoisP.Set(n); }
22 void AddNoiseP(Int_t c, Float_t n) { fNoisP.AddAt(n,c);}
23 TArrayF GetNoiseP() const {return fNoisP; }
24 Float_t GetNoiseP(Int_t n) {return fNoisP.At(n); }
25 void SetNNoiseN(Int_t n) { fNoisN.Set(n); }
26 void AddNoiseN(Int_t c, Float_t n) { fNoisN.AddAt(n,c);}
27 TArrayF GetNoiseN() const {return fNoisN; }
28 Float_t GetNoiseN(Int_t n) {return fNoisN.At(n); }
29
30 void SetMod(UShort_t mod) {fMod = mod;}
31 UShort_t GetMod() { return fMod;}
32
33protected:
34
35 UShort_t fMod; // module number (from 0 to 1535). Needed by the preprocessor to
36 // extract the information from the Detector Algorithm
37
38 TArrayF fNoisP; // Noise for P side channels
39 TArrayF fNoisN; // Noise for N side channels
40
ced4d9bc 41 private:
88128115 42
43 ClassDef(AliITSNoiseSSD,1) // Noise class for SSD
44};
fb4dfab9 45#endif