]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSMultReconstructor.h
- AliITSInitGeometry.cxx (updated): fgkOldSSDcone changed from kTRUE to
[u/mrichter/AliRoot.git] / ITS / AliITSMultReconstructor.h
index ea2b1f313e24e9460e531366fb9b967783538190..c0e69e65cae4d6e388858115df0ca0c0aee75482 100644 (file)
 
 class TTree;
 class TH1F;
-class TH2F;
+class TH2F; 
+
 class AliITSgeom;
 
 class AliITSMultReconstructor : public TObject 
 {
 public:
   AliITSMultReconstructor();
-
-  void SetGeometry(AliITSgeom* geo) {fGeometry = geo;}
+  virtual ~AliITSMultReconstructor();
 
   void Reconstruct(TTree* tree, Float_t* vtx, Float_t* vtxRes);
 
   void SetPhiWindow(Float_t w=0.08) {fPhiWindow=w;}
-  void SetZetaWindow(Float_t w=0.1) {fZetaWindow=w;}
-  void SetOnlyOneTrackletPerC2(Float_t b = kFALSE) {fOnlyOneTrackletPerC2 = b;}
+  void SetZetaWindow(Float_t w=1.) {fZetaWindow=w;}
+  void SetOnlyOneTrackletPerC2(Bool_t b = kTRUE) {fOnlyOneTrackletPerC2 = b;}
   
   Int_t GetNClustersLayer1() const {return fNClustersLay1;}
   Int_t GetNClustersLayer2() const {return fNClustersLay2;}
   Int_t GetNTracklets() const {return fNTracklets;}
+  Int_t GetNSingleClusters() const {return fNSingleCluster;}
 
   Float_t* GetClusterLayer1(Int_t n) {return fClustersLay1[n];}
   Float_t* GetClusterLayer2(Int_t n) {return fClustersLay2[n];}
   Float_t* GetTracklet(Int_t n) {return fTracklets[n];}
+  Float_t* GetCluster(Int_t n) {return fSClusters[n];}
 
   void SetHistOn(Bool_t b=kFALSE) {fHistOn=b;}
   void SaveHists();
+
 protected:
+  AliITSMultReconstructor(const AliITSMultReconstructor& mr);
+  AliITSMultReconstructor& operator=(const AliITSMultReconstructor& mr);
 
-  AliITSgeom*   fGeometry;            // ITS geometry
   
   Float_t**     fClustersLay1;        // clusters in the 1st layer of ITS 
   Float_t**     fClustersLay2;        // clusters in the 2nd layer of ITS 
   Float_t**     fTracklets;           // tracklets 
+  Float_t**     fSClusters;           // single clusters (unassociated)
   Bool_t*       fAssociationFlag;     // flag for the associations 
   
   Int_t         fNClustersLay1; // Number of clusters (Layer1)
   Int_t         fNClustersLay2; // Number of clusters (Layer2)
   Int_t         fNTracklets;    // Number of tracklets
+  Int_t         fNSingleCluster;    // Number of unassociated clusters
 
   Float_t       fPhiWindow;     // Search window in phi
   Float_t       fZetaWindow;    // SEarch window in eta
 
-  Bool_t        fOnlyOneTrackletPerC2; // only one tracklet per cluster in layer 2?
+  Bool_t        fOnlyOneTrackletPerC2; // only one tracklet per cluster in L. 2
   
-  Bool_t        fHistOn;
+  Bool_t        fHistOn; // Option to define and fill the histograms 
 
-  TH1F*         fhClustersDPhi;
-  TH1F*         fhClustersDTheta;
-  TH1F*         fhClustersDZeta;
+
+  TH1F*         fhClustersDPhiAcc;   // Phi2 - Phi1 for tracklets 
+  TH1F*         fhClustersDThetaAcc; // Theta2 - Theta1 for tracklets 
+  TH1F*         fhClustersDZetaAcc;  // z2 - z1projected for tracklets 
+  TH1F*         fhClustersDPhiAll;   // Phi2 - Phi1 all the combinations 
+  TH1F*         fhClustersDThetaAll; // Theta2 - Theta1 all the combinations
+  TH1F*         fhClustersDZetaAll;  // z2 - z1projected all the combinations
+  TH2F*         fhDPhiVsDThetaAll; // 2D plot for all the combinations  
+  TH2F*         fhDPhiVsDThetaAcc; // same plot for tracklets 
+  TH2F*         fhDPhiVsDZetaAll;  // 2d plot for all the combination 
+  TH2F*         fhDPhiVsDZetaAcc;  // same plot for tracklets 
+
+  TH1F*         fhetaTracklets;    // Pseudorapidity distr. for tracklets 
+  TH1F*         fhphiTracklets;    // Azimuthal (Phi) distr. for tracklets  
+  TH1F*         fhetaClustersLay1; // Pseudorapidity distr. for Clusters L. 1
+  TH1F*         fhphiClustersLay1; // Azimuthal (Phi) distr. for Clusters L. 1 
  
-  TH2F*         fhDPhiVsDThetaAll;
-  TH2F*         fhDPhiVsDThetaAcc;
 
   void LoadClusterArrays(TTree* tree);
 
-  ClassDef(AliITSMultReconstructor,0)
+  ClassDef(AliITSMultReconstructor,3)
 };
 
 #endif