/[PAMELA software]/PamVMC_update/nd/include/PamVMCNDDig.h
ViewVC logotype

Contents of /PamVMC_update/nd/include/PamVMCNDDig.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (show annotations) (download) (vendor branch)
Tue Oct 15 15:51:45 2013 UTC (11 years, 1 month ago) by formato
Branch: MAIN, rel
CVS Tags: reltag, HEAD
Changes since 1.1: +0 -0 lines
File MIME type: text/plain
PamVMC update

1 #ifndef PAMVMC_ND_DIG_H
2 #define PAMVMC_ND_DIG_H
3
4 #include "PamVMCDigitizer.h"
5
6 #define NTUBES 36
7
8
9 typedef vector <PamVMCDetectorHit*> pHits;
10
11 using std::cout;
12 using std::endl;
13
14 class PamVMCNDDig : public PamVMCDigitizer {
15
16 pHits fpHits; //hits, sorted by time
17 vector <Double_t> tauHits [NTUBES]; //array of vectors, conains tau for hits
18 pHits tubeHits [NTUBES]; //hits, sorted by time and by tubes
19
20
21 Bool_t IsInsideVector(PamVMCDetectorHit* phit){
22 pHits::const_iterator p = fpHits.begin();
23 while( p!=fpHits.end() )
24 {
25 if (phit==(*p)) return kTRUE;
26 p++;
27 }
28 return kFALSE;
29 }
30
31
32 public:
33
34 PamVMCNDDig():PamVMCDigitizer("ND"){; }
35
36
37 virtual ~PamVMCNDDig(){ ;}
38
39
40 void Digitize();
41
42
43 ClassDef(PamVMCNDDig,1)
44 };
45
46
47
48
49 #endif //PAMVMC_ND_DIG_H

  ViewVC Help
Powered by ViewVC 1.1.23