]>
Commit | Line | Data |
---|---|---|
3acc14d5 | 1 | #ifndef ALIITSVERTEXERCOSMICS_H |
2 | #define ALIITSVERTEXERCOSMICS_H | |
3 | /* Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | //#include "AliESDVertex.h" | |
7 | #include "AliITSVertexer.h" | |
8 | ||
9 | //----------------------------------------------------------------------- | |
10 | // | |
11 | // Class for constructing a fake primary vertex for cosmics events | |
12 | // | |
13 | // Origin: A.Dainese andrea.dainese@lnl.infn.it | |
14 | //----------------------------------------------------------------------- | |
15 | ||
16 | class AliESDVertex; | |
17 | ||
18 | class AliITSVertexerCosmics : public AliITSVertexer { | |
19 | ||
20 | public: | |
21 | ||
22 | AliITSVertexerCosmics(); | |
23 | virtual ~AliITSVertexerCosmics() {} | |
24 | AliESDVertex* FindVertexForCurrentEvent(Int_t evnumb); | |
25 | void FindVertices(); | |
26 | void PrintStatus() const; | |
27 | void SetSPD1Modules(Int_t m1=0,Int_t m2=79) {fFirstSPD1 = m1; fLastSPD1 = m2;} | |
28 | void SetSPD2Modules(Int_t m1=80, Int_t m2=239) {fFirstSPD2 = m1; fLastSPD2 = m2;} | |
29 | void SetMaxDistOnSPD2(Double_t max=0.1) {fMaxDistOnSPD2=max;} | |
30 | Double_t GetMaxDistOnSPD2() const {return fMaxDistOnSPD2;} | |
31 | void SetMaxVtxRadius(Double_t maxr=3.5) {fMaxVtxRadius=maxr;} | |
32 | Double_t GetMaVtxRadius() const {return fMaxVtxRadius;} | |
33 | void SetMinDist2Vtxs(Double_t mind=0.1) {fMinDist2Vtxs=mind;} | |
34 | Double_t GetMinDist2Vtxs() const {return fMinDist2Vtxs;} | |
35 | ||
36 | private: | |
37 | ||
38 | Int_t fFirstSPD1; // first module of the first pixel layer used | |
39 | Int_t fLastSPD1; // last module of the first pixel layer used | |
40 | Int_t fFirstSPD2; // first module of the second pixel layer used | |
41 | Int_t fLastSPD2; // last module of the second pixel layer used | |
42 | Double_t fMaxDistOnSPD2; // max dca between SPD1 tracklet and SPD2 cls | |
43 | Double_t fMaxVtxRadius; // maximum radial pos of vertex | |
44 | Double_t fMinDist2Vtxs; // minimum distance between two vertices | |
45 | ||
46 | ClassDef(AliITSVertexerCosmics,1); | |
47 | }; | |
48 | ||
49 | #endif |