// $Id: RecoXmax.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: RecoXmax *
* Package: <packagename> *
* Coordinator: <coordinator> *
* *
*****************************************************************************/
//_____________________________________________________________________________
//
// RecoXmax
//
// <extensive class description>
//
// Config file parameters
// ======================
//
// <parameter name>: <parameter description>
// -Valid options: <available options>
//
#include "RecoXmax.hh"
ClassImp(RecoXmax)
//_____________________________________________________________________________
RecoXmax::RecoXmax() {
//
// Constructor
//
Clear();
}
//_____________________________________________________________________________
RecoXmax::~RecoXmax() {
//
// Destructor
//
Clear();
}
//_____________________________________________________________________________
RecoXmax::RecoXmax( const RecoXmax& other) {
//
// Copy constructor
//
other.Copy( *this );
}
//_____________________________________________________________________________
void RecoXmax::Copy( TObject& other ) const {
//
// Copy to anew object
//
TObject::Copy( other );
((RecoXmax&)other).fQuality = fQuality;
((RecoXmax&)other).fXmax = fXmax;
((RecoXmax&)other).fXmaxProton = fXmaxProton;
((RecoXmax&)other).fErrorXmax = fErrorXmax;
((RecoXmax&)other).fErrorXmaxProton = fErrorXmaxProton;
}
//_____________________________________________________________________________
void RecoXmax::Clear() {
fQuality = -1;
fXmax = -1;
fErrorXmax = -1;
fXmaxProton= -1;
fErrorXmaxProton = -1;
}