if (v[2] && rxy2)
{
dtheta2+=rxy2*pow(v[2],2)*(pow((v[0]*fDx),2)+pow((v[1]*fDy),2)) /
- pow(((pow(v[3],2)*rxy2)+pow(rxy2,2)),2);
+ pow(((pow(v[2],2)*rxy2)+pow(rxy2,2)),2);
}
}
else
fDaytime.Set();
fRun=0;
fEvent=0;
- AliVertex::AliVertex();
}
///////////////////////////////////////////////////////////////////////////
-AliEvent::AliEvent(Int_t n)
+AliEvent::AliEvent(Int_t n): AliVertex(n)
{
// Create an event to hold initially a maximum of n tracks
// All variables initialised to default values
fDaytime.Set();
fRun=0;
fEvent=0;
- if (n > 0)
- {
- AliVertex::AliVertex(n);
- }
- else
- {
- cout << endl;
- cout << " *AliEvent* Initial max. number of tracks entered : " << n << endl;
- cout << " This is invalid. Default initial maximum will be used." << endl;
- cout << endl;
- AliVertex::AliVertex();
- }
}
///////////////////////////////////////////////////////////////////////////
AliEvent::~AliEvent()