X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=HLT%2Fhough%2FAliL3HoughEval.cxx;h=3a64d62be8060b99e11f3ffb5db4aafaf7154623;hb=95a00d93ac223c4b86b864899ed9e2b3eae26bc9;hp=bf4fa08949a02d783ef130156c55d93ae1585544;hpb=1f5a3cb8e920c85591b8b712cf102b3f93620255;p=u%2Fmrichter%2FAliRoot.git diff --git a/HLT/hough/AliL3HoughEval.cxx b/HLT/hough/AliL3HoughEval.cxx index bf4fa08949a..3a64d62be80 100644 --- a/HLT/hough/AliL3HoughEval.cxx +++ b/HLT/hough/AliL3HoughEval.cxx @@ -1,10 +1,14 @@ +//$Id$ + // Author: Anders Vestbo //*-- Copyright © ASV #include +#include +#ifdef use_root #include #include - +#endif #include "AliL3MemHandler.h" #include "GetGoodParticles.h" #include "AliL3TrackArray.h" @@ -94,7 +98,9 @@ Bool_t AliL3HoughEval::LookInsideRoad(AliL3HoughTrack *track,Int_t eta_index,Boo Int_t total_charge=0;//total charge along the road Double_t etaslice = (fEtaMax - fEtaMin)/fNEtaSegments; - + + + //Check if the track is leaving the sector at some point Float_t maxrow=300; Double_t angle=Pi/18; track->CalculateEdgePoint(angle); @@ -122,6 +128,7 @@ Bool_t AliL3HoughEval::LookInsideRoad(AliL3HoughTrack *track,Int_t eta_index,Boo fTransform->Local2Raw(xyz,sector,row); npixs=0; + //Get the timebins for this pad AliL3DigitRowData *tempPt = fRowPointers[prow]; if(!tempPt) @@ -312,9 +319,10 @@ void AliL3HoughEval::DisplayEtaSlice(Int_t eta_index,AliL3Histogram *hist) } +#ifdef use_root void AliL3HoughEval::CompareMC(AliL3TrackArray *tracks,Char_t *trackfile,Int_t threshold) { - + /* struct GoodTrack goodtracks[15000]; Int_t nt=0; ifstream in(trackfile); @@ -408,6 +416,7 @@ void AliL3HoughEval::CompareMC(AliL3TrackArray *tracks,Char_t *trackfile,Int_t t delete [] particles; delete [] ftracks; - + */ } +#endif