fCovXZ(0),
fCovYZ(0),
fCovZZ(5.3*5.3),
- fChi2(0)
+ fChi2(0),
+ fID(-1) // ID=-1 means the vertex with the biggest number of contributors
{
//
// Default Constructor, set everything to 0
fCovXZ(0),
fCovYZ(0),
fCovZZ(sigmaZ*sigmaZ),
- fChi2(0)
+ fChi2(0),
+ fID(-1) // ID=-1 means the vertex with the biggest number of contributors
{
//
// Constructor for vertex Z from pixels
fCovXZ(covmatrix[3]),
fCovYZ(covmatrix[4]),
fCovZZ(covmatrix[5]),
- fChi2(chi2)
+ fChi2(chi2),
+ fID(-1) // ID=-1 means the vertex with the biggest number of contributors
{
//
// Constructor for vertex in 3D from tracks
fCovXZ(0),
fCovYZ(0),
fCovZZ(sigma[2]*sigma[2]),
- fChi2(0)
+ fChi2(0),
+ fID(-1) // ID=-1 means the vertex with the biggest number of contributors
{
//
// Constructor for smearing of true position
fCovXZ(0),
fCovYZ(0),
fCovZZ(sigma[2]*sigma[2]),
- fChi2(0)
+ fChi2(0),
+ fID(-1) // ID=-1 means the vertex with the biggest number of contributors
{
//
// Constructor for Pb-Pb
fCovXZ(source.fCovXZ),
fCovYZ(source.fCovYZ),
fCovZZ(source.fCovZZ),
- fChi2(source.fChi2)
+ fChi2(source.fChi2),
+ fID(source.fID)
{
//
// Copy constructor
fCovYZ = source.fCovYZ;
fCovZZ = source.fCovZZ;
fChi2 = source.fChi2;
+ fID = source.fID;
}
return *this;
}
-
+//--------------------------------------------------------------------------
void AliESDVertex::Copy(TObject &obj) const {
// this overwrites the virtual TOBject::Copy()
*robj = *this;
}
-
-
//--------------------------------------------------------------------------
void AliESDVertex::SetToZero() {
//