]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSVertexer.h
Fix for coverity (Annalisa De Caro).
[u/mrichter/AliRoot.git] / ITS / AliITSVertexer.h
index 23773f983e06e71586ae4c4fcf9830f748c7cdf5..710df21dc51073cb9e29319c50df18ef5a1c8e14 100644 (file)
@@ -2,17 +2,25 @@
 #define ALIITSVERTEXER_H
 
 #include<AliVertexer.h>
-#include "AliITSDetTypeRec.h"
+//#include "AliITSDetTypeRec.h"
 
 ///////////////////////////////////////////////////////////////////
 //                                                               //
 // Base class for primary vertex reconstruction  for ITS         //
+// Daughter classes:                                             //
+// AliITSVertexer3D                                              //
+// AliITSVertexer3DTapan                                         //
+// AliITSVertexerCosmics                                         //
+// AliITSVertexerFast                                            //
+// AliITSVertexerFixed                                           //
+// AliITSVertexerZ                                               //
 //                                                               //
 ///////////////////////////////////////////////////////////////////
 
 /* $Id$ */
 
 class TString;
+class AliITSDetTypeRec;
 
 class AliITSVertexer : public AliVertexer {
 
@@ -29,9 +37,10 @@ class AliITSVertexer : public AliVertexer {
     void SetLastEvent(Int_t ev){fLastEvent = ev;}
     static Float_t GetPipeRadius() {return fgkPipeRadius;}
     void SetLaddersOnLayer2(Int_t ladwid=4);
+    void SetComputeMultiplicity(Bool_t opt=kTRUE){fComputeMultiplicity=opt;}
     virtual void SetUseModule(Int_t imod, Bool_t optUse){
       if(imod>=0 && imod<kNSPDMod) fUseModule[imod]=optUse;
-    }
+    }    
     virtual Bool_t IsModuleUsed(Int_t imod) const {
       if(imod>=0 && imod<kNSPDMod) return fUseModule[imod];
       else return 0;
@@ -64,6 +73,7 @@ class AliITSVertexer : public AliVertexer {
     UShort_t *fLadders; // array with layer1-layer2 ladders correspondances  
     Int_t fLadOnLay2;   // (2*fLadOnLay2+1)=number of layer2 ladders 
                       // associated to a layer1 ladder
+    Bool_t  fComputeMultiplicity;      // flag to switch on/off tracklet calculation
     Bool_t  fUseModule[kNSPDMod]; // flag for enabling/disabling SPD modules
     AliITSDetTypeRec *fDetTypeRec;  //! pointer to DetTypeRec
     Int_t fMinTrackletsForPilup;  // min. n. of tracklets for pilup definition
@@ -83,7 +93,7 @@ class AliITSVertexer : public AliVertexer {
     Int_t fFirstEvent;          // First event to be processed by FindVertices
     Int_t fLastEvent;           // Last event to be processed by FindVertices
 
-  ClassDef(AliITSVertexer,10);
+  ClassDef(AliITSVertexer,11);
 };
 
 #endif