]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - RALICE/AliVertex.cxx
22-dec-2003 NvE Event selection introduced in AliCollider.
[u/mrichter/AliRoot.git] / RALICE / AliVertex.cxx
index e202dc9eb892f6206060b6b0314298a938ff6356..d5fc6cb7b24125cb436cacf33348eb22d4b716f3 100644 (file)
@@ -559,7 +559,12 @@ void AliVertex::AddVertex(AliVertex& v,Int_t connect)
 void AliVertex::Data(TString f)
 {
 // Provide vertex information within the coordinate frame f
- cout << " *AliVertex::Data* Name : " << GetName() << " Title : " << GetTitle() << endl;
+ const char* name=GetName();
+ const char* title=GetTitle();
+ cout << " *AliVertex::Data*";
+ if (strlen(name))  cout << " Name : " << GetName();
+ if (strlen(title)) cout << " Title : " << GetTitle();
+ cout << endl;
  cout << " Id : " << fUserId << " Invmass : " << GetInvmass()
       << " Charge : " << GetCharge() << " Momentum : " << GetMomentum()
       << " Ntracks : " << GetNtracks() << " Nvertices : " << fNvtx