fReconstructor[iDet]->SetRecoParam(NULL);
fReconstructor[iDet]->SetEventInfo(NULL);
}
+ if (fTracker[iDet]) fTracker[iDet]->SetEventInfo(NULL);
}
if (fRunQA || fRunGlobalQA)
AliInfo("running tracking");
-
+ // Set the event info which is used
+ // by the trackers in order to obtain
+ // information about read-out detectors,
+ // trigger etc.
+ AliDebug(1, "Setting event info");
+ for (Int_t iDet = 0; iDet < kNDetectors; iDet++) {
+ if (!fTracker[iDet]) continue;
+ fTracker[iDet]->SetEventInfo(&fEventInfo);
+ }
+
//Fill the ESD with the T0 info (will be used by the TOF)
if (fReconstructor[11] && fLoader[11]) {
fLoader[11]->LoadRecPoints("READ");
fZ(0),
fSigmaX(0.005),
fSigmaY(0.005),
- fSigmaZ(0.010)
+ fSigmaZ(0.010),
+ fEventInfo(NULL)
{
//--------------------------------------------------------------------
// The default constructor.
fZ(atr.fZ),
fSigmaX(atr.fSigmaX),
fSigmaY(atr.fSigmaY),
- fSigmaZ(atr.fSigmaZ)
+ fSigmaZ(atr.fSigmaZ),
+ fEventInfo(atr.fEventInfo)
{
//--------------------------------------------------------------------
// The default constructor.
class AliExternalTrackParam;
class AliTrackPoint;
class AliKalmanTrack;
+class AliEventInfo;
class AliTracker : public TObject {
public:
AliTracker();
static void SetResidualsArray(TObjArray **arr) { fResiduals=arr; }
static TObjArray ** GetResidualsArray() { return fResiduals; }
+ void SetEventInfo(AliEventInfo *evInfo) {fEventInfo = evInfo;}
+ const AliEventInfo* GetEventInfo() const {return fEventInfo;}
+
protected:
AliTracker(const AliTracker &atr);
private:
Double_t fSigmaZ; // error of the primary vertex position in Z
static AliRecoParam::EventSpecie_t fEventSpecie ; //! event specie, see AliRecoParam
+ AliEventInfo* fEventInfo; //! pointer to the event info object
- ClassDef(AliTracker,4) //abstract tracker
+ ClassDef(AliTracker,5) //abstract tracker
};
//__________________________________________________________________________