]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/src/AliLevel3.h
Bugfix from previos ci
[u/mrichter/AliRoot.git] / HLT / src / AliLevel3.h
index 733623d16686efb7c5560d0799c97b1933be1c6c..75a5f1174d8f46e95b597977bbc4a1280ce9ccdb 100644 (file)
@@ -11,15 +11,13 @@ class AliL3SpacePointData;
 class AliL3DigitRowData;
 class AliL3TrackSegmentData;
 class AliL3DigitData;
-class AliL3Transform;
 class AliL3ConfMapper;
 class AliL3Vertex;
 class AliL3VertexFinder;
 class AliL3TrackMerger;
 class AliL3GlobalMerger;
 class TDirectory;
-class AliL3Transform;
-class AliL3ClustFinder;
+class AliL3ClustFinderNew;
 class AliL3Merger;
 class AliL3InterMerger;
 #ifdef use_aliroot
@@ -40,7 +38,7 @@ class AliLevel3 : public TObject {
   AliL3TrackMerger *fTrackMerger; //!
   AliL3GlobalMerger *fGlobalMerger; //!
   AliL3InterMerger *fInterMerger; //!
-  AliL3ClustFinder *fClusterFinder; //! 
+  AliL3ClustFinderNew *fClusterFinder; //! 
   #ifdef use_aliroot
   AliL3FileHandler *fFileHandler; //!
   #else
@@ -48,14 +46,16 @@ class AliLevel3 : public TObject {
   #endif
   AliL3Benchmark *fBenchmark;//!
   Int_t fNPatch;
-  Int_t fRow[5][2];
+  Int_t fRow[6][2];
   Char_t fPath[256];
-  AliL3Transform *fTransformer; //!
+  Char_t fWriteOutPath[256];
   TDirectory *savedir;
   TFile *fInputFile;
-  TFile *fOutputFile;
   Bool_t fFindVertex;
-  void Init();
+  Bool_t fDoNonVertex;
+  Bool_t fClusterDeconv;
+  Int_t fEvent;
+  //void Init(Int_t npatches=6);
   void WriteSpacePoints(UInt_t npoints,AliL3SpacePointData *points,
                                              Int_t slice,Int_t patch);
   void WriteResults();
@@ -67,28 +67,30 @@ class AliLevel3 : public TObject {
   void SetPath(char *p){sprintf(fPath,"%s",p);}
  public:
   AliLevel3 ();
-  AliLevel3(Char_t *infile,Char_t *outfile);
-  AliLevel3(TFile *in, TFile *out);
+  AliLevel3(Char_t *infile);
+  AliLevel3(TFile *in);
   virtual ~AliLevel3();
   
+  void Init(Char_t *path,Bool_t binary=kTRUE,Int_t npatches=6);
   void SetTrackerParam(Int_t phi_segments=50,Int_t eta_segments=100,
                       Int_t trackletlength=3,Int_t tracklength=5,
                       Int_t rowscopetracklet=2,Int_t rowscopetrack=3,
                       Double_t min_pt_fit=0,Double_t maxangle=1.31,
                       Double_t goodDist=5,Double_t hitChi2Cut=10,
                       Double_t goodHitChi2=20,Double_t trackChi2Cut=50,
-                      Int_t maxdist=50);
+                      Int_t maxdist=50,Double_t maxphi=0.1,Double_t maxeta=0.1,Bool_t vertexconstraint=kTRUE);
 
 
-  void ProcessEvent(Int_t first,Int_t last);
+  void ProcessEvent(Int_t first,Int_t last,Int_t event=0);
   void ProcessSlice(Int_t slice);
 
-
-  void UseBinaryInput(char *path){SetPath(path);fUseBinary=kTRUE;}
+  //void UseBinaryInput(char *path){SetPath(path);fUseBinary=kTRUE;}
   void DoMc(char* file="point_mc.dat");
+  void DoNonVertexTracking() {fDoNonVertex=kTRUE;}
+  void FindVertex() {fFindVertex=kTRUE;}
   void DoBench(char* name="benchmark");
   void DoRoi(Float_t e0=0.4,Float_t e1=0.5){fEta[0]=e0;fEta[1]=e1;fDoRoi=kTRUE;}
-  void WriteFiles(){fWriteOut = kTRUE;}
+  void WriteFiles(Char_t *path="./"){fWriteOut = kTRUE; sprintf(fWriteOutPath,"%s",path);}
   ClassDef(AliLevel3,1) //Interface class for Level3-tracking
 };