Reconstruction update to fill two new short AliESDtrack variables with additional...
authordecaro <decaro@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 16 Feb 2010 08:18:16 +0000 (08:18 +0000)
committerdecaro <decaro@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 16 Feb 2010 08:18:16 +0000 (08:18 +0000)
TOF/AliTOFtracker.cxx
TOF/AliTOFtrackerMI.cxx
TOF/AliTOFtrackerV1.cxx

index 3e2e9f3..0ef64f8 100644 (file)
@@ -208,6 +208,8 @@ Int_t AliTOFtracker::PropagateBack(AliESDEvent * const event) {
        t->SetTOFsignalRaw(seed->GetTOFsignalRaw());
        t->SetTOFsignalDz(seed->GetTOFsignalDz());
        t->SetTOFsignalDx(seed->GetTOFsignalDx());
+       t->SetTOFDeltaBC(seed->GetTOFDeltaBC());
+       t->SetTOFL0L1(seed->GetTOFL0L1());
        t->SetTOFCalChannel(seed->GetTOFCalChannel());
        Int_t tlab[3]; seed->GetTOFLabel(tlab);    
        t->SetTOFLabel(tlab);
@@ -720,6 +722,8 @@ void AliTOFtracker::MatchTracks( Bool_t mLastStep){
     t->SetTOFsignalRaw(rawTime);
     t->SetTOFsignalDz(mindistZ);
     t->SetTOFsignalDx(mindistY);
+    t->SetTOFDeltaBC(c->GetDeltaBC());
+    t->SetTOFL0L1(c->GetL0L1Latency());
 
     Float_t info[10] = {mindist,mindistY,mindistZ,
                        0.,0.,0.,0.,0.,0.,0.};
index 50b6095..bd61bd1 100644 (file)
@@ -193,6 +193,8 @@ Int_t AliTOFtrackerMI::PropagateBack(AliESDEvent * const event) {
        t->SetIntegratedLength(seed->GetIntegratedLength());
        t->SetTOFsignalToT(seed->GetTOFsignalToT());
        t->SetTOFCalChannel(seed->GetTOFCalChannel());
+       t->SetTOFDeltaBC(seed->GetTOFDeltaBC());
+       t->SetTOFL0L1(seed->GetTOFL0L1());
        //
        // Make attention, please:
        //      AliESDtrack::fTOFInfo array does not be stored in the AliESDs.root file
@@ -554,6 +556,8 @@ void AliTOFtrackerMI::MatchTracksMI(Bool_t mLastStep){
     t->SetTOFInfo(info);
     t->SetTOFsignal(tof2);
     t->SetTOFcluster(cgold->GetIndex());  
+    t->SetTOFDeltaBC(cgold->GetDeltaBC());
+    t->SetTOFL0L1(cgold->GetL0L1Latency());
 
     AliDebug(2, Form("%7i     %7i     %10i     %10i  %10i  %10i      %7i",
                     i,
index a67cd17..283c232 100644 (file)
@@ -191,6 +191,8 @@ Int_t AliTOFtrackerV1::PropagateBack(AliESDEvent * const event) {
        t->SetTOFsignalRaw(seed->GetTOFsignalRaw());
        t->SetTOFsignalDz(seed->GetTOFsignalDz());
        t->SetTOFsignalDx(seed->GetTOFsignalDx());
+       t->SetTOFDeltaBC(seed->GetTOFDeltaBC());
+       t->SetTOFL0L1(seed->GetTOFL0L1());
        t->SetTOFCalChannel(seed->GetTOFCalChannel());
        Int_t tlab[3]; seed->GetTOFLabel(tlab);
        t->SetTOFLabel(tlab);
@@ -536,6 +538,9 @@ void AliTOFtrackerV1::MatchTracks( ){
     Float_t deltaY = trackTOFin->GetY()-bestCluster->GetY();
     t->SetTOFsignalDx(deltaY);
 
+    t->SetTOFDeltaBC(bestCluster->GetDeltaBC());
+    t->SetTOFL0L1(bestCluster->GetL0L1Latency());
+
     Float_t distR = (trackTOFin->GetX()-bestCluster->GetX())*
       (trackTOFin->GetX()-bestCluster->GetX());
     distR+=deltaY*deltaY;