CandTrackSRNtuple Class Reference

#include <CandTrackSRNtuple.h>

Inheritance diagram for CandTrackSRNtuple:
NtpCandTrack NtpCandReco

List of all members.

Public Member Functions

 CandTrackSRNtuple ()
 CandTrackSRNtuple (const CandTrackSRHandle &track)
virtual ~CandTrackSRNtuple ()
virtual std::ostream & Print (std::ostream &os) const
virtual void Print (const Option_t *option="") const
virtual void Clear (Option_t *option="")

Private Attributes

Int_t fNTimeFitDigit

Detailed Description

Definition at line 24 of file CandTrackSRNtuple.h.


Constructor & Destructor Documentation

CandTrackSRNtuple::CandTrackSRNtuple (  )  [inline]

Definition at line 28 of file CandTrackSRNtuple.h.

00028 : fNTimeFitDigit(-1) {}  // def const'r

CandTrackSRNtuple::CandTrackSRNtuple ( const CandTrackSRHandle track  ) 

Definition at line 30 of file CandTrackSRNtuple.cxx.

References fNTimeFitDigit, and CandTrackSRHandle::GetNTimeFitDigit().

00030                                                                    : 
00031               NtpCandTrack(track),fNTimeFitDigit(-1) {
00032   //
00033   //  Purpose:  Constructor creates an ntuple from an existing 
00034   //            CandTrackSRHandle.
00035   //
00036   //  Arguments: reference to CandTrackSRHandle (or derived class) object.
00037   //
00038   //  Return:  n/a.
00039   //
00040   //  Contact:   S. Kasahara
00041   // 
00042 
00043   fNTimeFitDigit = track.GetNTimeFitDigit();
00044 
00045 }

virtual CandTrackSRNtuple::~CandTrackSRNtuple (  )  [inline, virtual]

Definition at line 31 of file CandTrackSRNtuple.h.

00031 {}


Member Function Documentation

virtual void CandTrackSRNtuple::Clear ( Option_t *  option = ""  )  [inline, virtual]

Reimplemented from NtpCandTrack.

Definition at line 38 of file CandTrackSRNtuple.h.

References option.

void CandTrackSRNtuple::Print ( const Option_t *  option = ""  )  const [virtual]

Definition at line 65 of file CandTrackSRNtuple.cxx.

References Print().

00065                                                                 {
00066   //
00067   //  Purpose:  Print track in form supported by TObject::Print.
00068   //
00069   //  Arguments: option (not used).
00070   //
00071   //  Return:  none.
00072   //
00073   //  Contact:   S. Kasahara
00074   // 
00075 
00076   Print(std::cout);
00077   return;
00078 
00079 }

std::ostream & CandTrackSRNtuple::Print ( std::ostream &  os  )  const [virtual]

Reimplemented from NtpCandTrack.

Definition at line 47 of file CandTrackSRNtuple.cxx.

References fNTimeFitDigit.

Referenced by Print().

00047                                                          {
00048   //
00049   //  Purpose:  Print status of ntuple record on ostream.
00050   //
00051   //  Arguments: os ostream to display on.
00052   //
00053   //  Return:  ostream reference.
00054   //
00055   //  Contact:   S. Kasahara
00056   // 
00057 
00058   NtpCandTrack::Print(os);
00059   os << "NTimeFitDigit " << fNTimeFitDigit << "." << endl;
00060   
00061   return os;
00062 
00063 }


Member Data Documentation

Definition at line 44 of file CandTrackSRNtuple.h.

Referenced by CandTrackSRNtuple(), and Print().


The documentation for this class was generated from the following files:

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1