source: JEM-EUSO/esaf_lal/tags/v1_r0/esaf/packages/reconstruction/root/src/RecoClustering.cc @ 117

Last change on this file since 117 was 117, checked in by moretto, 11 years ago

ESAF version compilable on mac OS

File size: 2.5 KB
Line 
1// $Id: RecoClustering.cc 2736 2006-06-11 16:04:19Z pesce $
2// Author:    2006/06/05
3
4/*****************************************************************************
5 * ESAF: Euso Simulation and Analysis Framework                              *
6 *                                                                           *
7 *  Id: RecoClustering                                                           *
8 *  Package: <packagename>                                                   *
9 *  Coordinator: <coordinator>                                               *
10 *                                                                           *
11 *****************************************************************************/
12
13//_____________________________________________________________________________
14//
15// RecoClustering
16//
17// <extensive class description>
18//
19//   Config file parameters
20//   ======================
21//
22//   <parameter name>: <parameter description>
23//   -Valid options: <available options>
24//
25
26#include "RecoClustering.hh"
27
28ClassImp(RecoClustering)
29
30//_____________________________________________________________________________
31RecoClustering::RecoClustering() {
32    //
33    // Constructor
34    //
35    Clear();
36}
37
38//_____________________________________________________________________________
39RecoClustering::~RecoClustering() {
40    //
41    // Destructor
42    //
43}
44
45//_____________________________________________________________________________
46RecoClustering::RecoClustering( const RecoClustering& other ) {
47    //
48    // Copy constructor
49    //
50    other.Copy( *this );
51}
52
53//_____________________________________________________________________________
54void RecoClustering::Copy( TObject& other ) const {
55    //
56    // Copy to a new object
57    //
58    TObject::Copy( other );
59
60    ((RecoClustering&)other).fNumPoints = fNumPoints;
61    ((RecoClustering&)other).fSignalFraction = fSignalFraction;
62    ((RecoClustering&)other).fSigFracOverThresh = fSigFracOverThresh;
63    ((RecoClustering&)other).fContamination = fContamination;
64    ((RecoClustering&)other).fContaminationInCluster = fContaminationInCluster;
65    ((RecoClustering&)other).fAbsDevMainTheta = fAbsDevMainTheta;
66    ((RecoClustering&)other).fAbsDevMainPhi = fAbsDevMainPhi;
67}
68
69//_____________________________________________________________________________
70void RecoClustering::Clear() {
71    //
72    // Clear
73    //
74
75    fNumPoints = 0;
76    fSignalFraction = 0.;
77    fSigFracOverThresh = 0.;
78    fContamination = 1.;
79    fContaminationInCluster = 1.;
80    fAbsDevMainTheta = 0.;
81    fAbsDevMainPhi = 0.;
82}
Note: See TracBrowser for help on using the repository browser.