// $Id: RecoTrackDirection2.cc,v 1.1 2005/01/05 13:08:21 pesce Exp $
// Author: R.Pesce 2005/01/04
/*****************************************************************************
* ESAF: Euso Simulation and Analysis Framework *
* *
* Id: RecoTrackDirection2 *
* Package: <packagename> *
* Coordinator: <coordinator> *
* *
*****************************************************************************/
//_____________________________________________________________________________
//
// RecoTrackDirection2
//
// <extensive class description>
//
// Config file parameters
// ======================
//
// <parameter name>: <parameter description>
// -Valid options: <available options>
//
#include "RecoTrackDirection2.hh"
ClassImp(RecoTrackDirection2)
//_____________________________________________________________________________
RecoTrackDirection2::RecoTrackDirection2() {
//
// Constructor
//
Clear();
}
//_____________________________________________________________________________
RecoTrackDirection2::~RecoTrackDirection2() {
//
// Destructor
//
Clear();
}
//_____________________________________________________________________________
RecoTrackDirection2::RecoTrackDirection2( const RecoTrackDirection2& other ) {
//
// Copy constructor
//
other.Copy( *this );
}
//_____________________________________________________________________________
void RecoTrackDirection2::Copy( TObject& other ) const {
//
// Copy to a new object
//
TObject::Copy( other );
((RecoTrackDirection2&)other).fQuality = fQuality;
((RecoTrackDirection2&)other).fTheta = fTheta;
((RecoTrackDirection2&)other).fPhi = fPhi;
((RecoTrackDirection2&)other).fErrorTheta = fErrorTheta;
((RecoTrackDirection2&)other).fErrorPhi = fErrorPhi;
((RecoTrackDirection2&)other).fErrorDirection = fErrorDirection;
((RecoTrackDirection2&)other).fErrorTDP = fErrorTDP;
}
//_____________________________________________________________________________
void RecoTrackDirection2::Clear() {
//
// Clear method
//
fQuality = -1;
fTheta = -1;
fPhi = -1;
fErrorTheta = -1;
fErrorPhi = -1;
fErrorDirection = -1;
fErrorTDP = -1;
}