source: JEM-EUSO/esaf_lal/tags/v1_r0/esaf/packages/common/root/src/EChipTrackSegment.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.6 KB
Line 
1// $Id: EChipTrackSegment.cc 1488 2005-02-15 13:51:18Z pesce $
2// Author: R.Pesce   2005/02/15
3
4/*****************************************************************************
5 * ESAF: Euso Simulation and Analysis Framework                              *
6 *                                                                           *
7 *  Id: EChipTrackSegment                                                           *
8 *  Package: <packagename>                                                   *
9 *  Coordinator: <coordinator>                                               *
10 *                                                                           *
11 *****************************************************************************/
12
13//_____________________________________________________________________________
14//
15// EChipTrackSegment
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 "EChipTrackSegment.hh"
27
28ClassImp(EChipTrackSegment)
29
30//_____________________________________________________________________________
31EChipTrackSegment::EChipTrackSegment() {
32    //
33    // Constructor
34    //
35}
36
37//_____________________________________________________________________________
38EChipTrackSegment::~EChipTrackSegment() {
39    //
40    // Destructor
41    //
42}
43
44//_____________________________________________________________________________
45EChipTrackSegment::EChipTrackSegment( const EChipTrackSegment& other ) : TObject() {
46    //
47    // Copy Constructor
48    //
49    other.Copy(*this);
50}
51
52//_____________________________________________________________________________
53void EChipTrackSegment::Copy( TObject& other ) const {
54    //
55    // Copy method
56    //
57    TObject::Copy(other);
58
59    ((EChipTrackSegment&)other).fCellId = fCellId;
60    ((EChipTrackSegment&)other).fChipUid = fChipUid;
61    ((EChipTrackSegment&)other).fGtuStart = fGtuStart;
62    ((EChipTrackSegment&)other).fGtuEnd = fGtuEnd;
63    ((EChipTrackSegment&)other).fCrossBorder = fCrossBorder;
64    ((EChipTrackSegment&)other).fTrackLength = fTrackLength;
65    ((EChipTrackSegment&)other).fHasHole = fHasHole;
66    ((EChipTrackSegment&)other).fTriggered = fTriggered;
67}
68
69//_____________________________________________________________________________
70void EChipTrackSegment::Clear( Option_t* opt ) {
71    //
72    // Clear method
73    //
74    fCellId = -1;
75    fChipUid = -1;
76    fGtuStart = -1;
77    fGtuEnd = -1;
78    fCrossBorder = kFALSE;
79    fTrackLength = 0;
80    fHasHole = kFALSE;
81    fTriggered = kFALSE;
82}
Note: See TracBrowser for help on using the repository browser.