X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=ITS%2FAliITSClusterFinderSPD.h;h=8a50682531145ba8c5f8d2734251d74b4675e07c;hb=c96050be3291702e98777868d74c3c1204a03e8b;hp=90715795abcf6f421f44fb8f198e1b252bfc6dec;hpb=04366a5787706a4063d7da0328e7e5547b4959e8;p=u%2Fmrichter%2FAliRoot.git diff --git a/ITS/AliITSClusterFinderSPD.h b/ITS/AliITSClusterFinderSPD.h index 90715795abc..8a506825311 100644 --- a/ITS/AliITSClusterFinderSPD.h +++ b/ITS/AliITSClusterFinderSPD.h @@ -6,6 +6,7 @@ //////////////////////////////////////////////// #include "AliITSClusterFinder.h" +#include "AliITSDetTypeRec.h" class AliITSMapA1; class AliITSsegmentation; @@ -14,20 +15,17 @@ class AliITSresponse; class AliITSresponseSPD; class TClonesArray; + class AliITSClusterFinderSPD : public AliITSClusterFinder{ public: AliITSClusterFinderSPD(); - AliITSClusterFinderSPD(AliITSsegmentation *segmentation, - AliITSresponse *res); - AliITSClusterFinderSPD(AliITSsegmentation *segmentation, + AliITSClusterFinderSPD(AliITSDetTypeRec* dettyp); + AliITSClusterFinderSPD(AliITSDetTypeRec* dettyp, TClonesArray *digits,TClonesArray *recpoints); virtual ~AliITSClusterFinderSPD(){}// destructor - - virtual AliITSresponseSPD* GetResp()const{ - return (AliITSresponseSPD*) GetResponse();}//Return Response //Returns fSegmentation virtual AliITSsegmentationSPD* GetSeg()const{ - return (AliITSsegmentationSPD*)GetSegmentation();} + return (AliITSsegmentationSPD*)fDetTypeRec->GetSegmentationModel(0);} virtual void SetDx(Double_t dx=1.) {fDx=dx;}// set dx virtual void SetDz(Double_t dz=0.) {fDz=dz;}// set dz // Search for clusters