git://git.uio.no
/
u
/
mrichter
/
AliRoot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Switch for filtering out tracks reconstructed ITS stand alone
[u/mrichter/AliRoot.git]
/
HBTAN
/
AliHBTReaderESD.cxx
diff --git
a/HBTAN/AliHBTReaderESD.cxx
b/HBTAN/AliHBTReaderESD.cxx
index 1d798756268c5d2edf8da917acd0d9b69a4c7d59..717a5426093d257bf4c416d6e0cc1a10b6292231 100644
(file)
--- a/
HBTAN/AliHBTReaderESD.cxx
+++ b/
HBTAN/AliHBTReaderESD.cxx
@@
-45,6
+45,7
@@
AliHBTReaderESD::AliHBTReaderESD(const Char_t* esdfilename, const Char_t* galfil
fNTrackPoints(0),
fdR(0.0),
fClusterMap(kFALSE),
fNTrackPoints(0),
fdR(0.0),
fClusterMap(kFALSE),
+ fMustTPC(kFALSE),
fNTPCClustMin(0),
fNTPCClustMax(150),
fTPCChi2PerClustMin(0.0),
fNTPCClustMin(0),
fNTPCClustMax(150),
fTPCChi2PerClustMin(0.0),
@@
-91,6
+92,7
@@
AliHBTReaderESD::AliHBTReaderESD(TObjArray* dirs,const Char_t* esdfilename, cons
fNTrackPoints(0),
fdR(0.0),
fClusterMap(kFALSE),
fNTrackPoints(0),
fdR(0.0),
fClusterMap(kFALSE),
+ fMustTPC(kFALSE),
fNTPCClustMin(0),
fNTPCClustMax(150),
fTPCChi2PerClustMin(0.0),
fNTPCClustMin(0),
fNTPCClustMax(150),
fTPCChi2PerClustMin(0.0),
@@
-307,6
+309,15
@@
Int_t AliHBTReaderESD::ReadESD(AliESD* esd)
continue;
}
continue;
}
+ if (fMustTPC)
+ {
+ if ((esdtrack->GetStatus() & AliESDtrack::kTPCin) == kFALSE)
+ {
+ if (AliHBTParticle::GetDebug() > 2)
+ Info("ReadNext","Particle skipped: Was not reconstructed in TPC.");
+ continue;
+ }
+ }
if ((esdtrack->GetStatus() & AliESDtrack::kESDpid) == kFALSE)
{
if (AliHBTParticle::GetDebug() > 2)
if ((esdtrack->GetStatus() & AliESDtrack::kESDpid) == kFALSE)
{
if (AliHBTParticle::GetDebug() > 2)