Skip to content

Commit

Permalink
switch off ALL distortion corrections in AliTPCcalibAlignInterpolation
Browse files Browse the repository at this point in the history
  • Loading branch information
shahor02 committed May 23, 2016
1 parent 54211a5 commit 88c2ec9
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion TPC/TPCcalib/AliTPCcalibAlignInterpolation.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,11 @@ void AliTPCcalibAlignInterpolation::Process(AliESDEvent *esdEvent){
static int evCnt=0;
Bool_t backupUseComposedCorrection = transform->GetCurrentRecoParamNonConst()->GetUseComposedCorrection();
transform->GetCurrentRecoParamNonConst()->SetUseComposedCorrection(kFALSE);

Bool_t backupUseCorrectionMaps = transform->GetCurrentRecoParamNonConst()->GetUseCorrectionMap();
transform->GetCurrentRecoParamNonConst()->SetUseCorrectionMap(kFALSE);
Bool_t backupAccountDistortions = transform->GetCurrentRecoParamNonConst()->GetAccountDistortions();
transform->GetCurrentRecoParamNonConst()->SetAccountDistortions(kFALSE);

for (Int_t iTrack=0;iTrack<nTracks;iTrack++){ // Track loop
// 0.) For each track in each event, get the AliESDfriendTrack
AliESDtrack *esdTrack = esdEvent->GetTrack(iTrack);
Expand Down Expand Up @@ -734,6 +738,9 @@ void AliTPCcalibAlignInterpolation::Process(AliESDEvent *esdEvent){
ip->SetBit(kAlignmentBugFixedBit,saveBit);
}
transform->GetCurrentRecoParamNonConst()->SetUseComposedCorrection( backupUseComposedCorrection);
transform->GetCurrentRecoParamNonConst()->SetUseCorrectionMap(backupUseCorrectionMaps);
transform->GetCurrentRecoParamNonConst()->SetAccountDistortions(backupAccountDistortions);

//
// end of track loop
}
Expand Down

0 comments on commit 88c2ec9

Please sign in to comment.