Skip to content

Commit 7fb859c

Browse files
MichaelLettrichshahor02
authored andcommitted
[ALIGN] port AliAlgMPRecord
1 parent bc89184 commit 7fb859c

4 files changed

Lines changed: 9 additions & 8 deletions

File tree

Detectors/Align/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ o2_add_library(Align
1818
#src/AliAlgDetTPC.cxx
1919
#src/AliAlgDetTRD.cxx
2020
src/AliAlgDOFStat.cxx
21-
#src/AliAlgMPRecord.cxx
21+
src/AliAlgMPRecord.cxx
2222
src/AliAlgPoint.cxx
2323
src/AliAlgRes.cxx
2424
src/AliAlgResFast.cxx
@@ -53,7 +53,7 @@ o2_target_root_dictionary(
5353
#include/Align/AliAlgDetTPC.h
5454
#include/Align/AliAlgDetTRD.h
5555
#include/Align/AliAlgDetHMPID.h
56-
#include/Align/AliAlgMPRecord.h
56+
include/Align/AliAlgMPRecord.h
5757
include/Align/AliAlgPoint.h
5858
include/Align/AliAlgSens.h
5959
#include/Align/AliAlgSensITS.h

Detectors/Align/include/Align/AliAlgMPRecord.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,14 @@
1717
#define ALIALGMPRECORD_H
1818

1919
#include <TObject.h>
20-
class AliAlgTrack;
2120

2221
namespace o2
2322
{
2423
namespace align
2524
{
2625

26+
class AliAlgTrack;
27+
2728
class AliAlgMPRecord : public TObject
2829
{
2930
public:

Detectors/Align/src/AliAlgMPRecord.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,16 +87,16 @@ Bool_t AliAlgMPRecord::FillTrack(const AliAlgTrack* trc, const Int_t* id2Lab)
8787
// fill track info, optionally substitutind glopar par ID by label
8888
//
8989
if (!trc->GetDerivDone()) {
90-
AliError("Track derivatives are not yet evaluated");
90+
LOG(ERROR) << "Track derivatives are not yet evaluated";
9191
return kFALSE;
9292
}
9393
fNVarLoc = trc->GetNLocPar(); // number of local degrees of freedom in the track
9494
fNResid = 0;
9595
fNDLocTot = 0;
9696
fNDGloTot = 0;
9797
fChi2Ini = trc->GetChi2Ini();
98-
fQ2Pt = trc->GetSigned1Pt();
99-
fTgl = trc->GetTgl();
98+
fQ2Pt = trc->getQ2Pt();
99+
fTgl = trc->getTgl();
100100
fNMeas = 0;
101101
SetCosmic(trc->IsCosmic());
102102
// 1) check sizes for buffers, expand if needed
@@ -202,7 +202,7 @@ Bool_t AliAlgMPRecord::FillTrack(const AliAlgTrack* trc, const Int_t* id2Lab)
202202
}
203203
//
204204
if (!fNDGloTot) {
205-
AliInfo("Track does not depend on free global parameters, discard");
205+
LOG(INFO) << "Track does not depend on free global parameters, discard";
206206
return kFALSE;
207207
}
208208
return kTRUE;

Detectors/Align/src/AlignLinkDef.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
//#pragma link C++ class o2::align::AliAlgDetTPC + ;
1111
//#pragma link C++ class o2::align::AliAlgDetTRD + ;
1212
//#pragma link C++ class o2::align::AliAlgDetHMPID + ;
13-
//#pragma link C++ class o2::align::AliAlgMPRecord + ;
13+
#pragma link C++ class o2::align::AliAlgMPRecord + ;
1414
#pragma link C++ class o2::align::AliAlgPoint + ;
1515
#pragma link C++ class o2::align::AliAlgSens + ;
1616
//#pragma link C++ class o2::align::AliAlgSensITS + ;

0 commit comments

Comments
 (0)