NtpCandStrip Class Reference

#include <NtpCandStrip.h>

List of all members.

Public Member Functions

 NtpCandStrip ()
 NtpCandStrip (const CandStripHandle &strip)
virtual ~NtpCandStrip ()
virtual std::ostream & Print (std::ostream &os) const
virtual void Print (Option_t *option="") const
virtual Double_t GetTPos () const
virtual Double_t GetZPos () const

Protected Attributes

Double_t fTPos
Double_t fZPos

Detailed Description

Definition at line 21 of file NtpCandStrip.h.


Constructor & Destructor Documentation

NtpCandStrip::NtpCandStrip (  )  [inline]

Definition at line 25 of file NtpCandStrip.h.

00025 : fTPos(-1),fZPos(-1) {}  // default constructor

NtpCandStrip::NtpCandStrip ( const CandStripHandle strip  ) 

Definition at line 27 of file NtpCandStrip.cxx.

References fTPos, fZPos, CandStripHandle::GetTPos(), and CandStripHandle::GetZPos().

00027                                                       :fTPos(-1),fZPos(-1){
00028   //
00029   //  Purpose:  Constructor creates an ntuple from an existing CandStrip.
00030   //
00031   //  Arguments: reference to CandStrip (or derived class) object.
00032   //
00033   //  Return:  n/a.
00034   //
00035   //  Contact:   S. Kasahara
00036   // 
00037 
00038   fTPos = strip.GetTPos();
00039   fZPos = strip.GetZPos();
00040 
00041 }

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

Definition at line 27 of file NtpCandStrip.h.

00027 {}


Member Function Documentation

virtual Double_t NtpCandStrip::GetTPos (  )  const [inline, virtual]

Definition at line 32 of file NtpCandStrip.h.

References fTPos.

00032 { return fTPos; }

virtual Double_t NtpCandStrip::GetZPos (  )  const [inline, virtual]

Definition at line 33 of file NtpCandStrip.h.

References fZPos.

00033 { return fZPos; }

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

Definition at line 61 of file NtpCandStrip.cxx.

References Print().

00061                                                      {
00062   //
00063   //  Purpose:  Print slice in form supported by TObject::Print.
00064   //
00065   //  Arguments: option (not used).
00066   //
00067   //  Return:  none.
00068   //
00069   //  Contact:   S. Kasahara
00070   // 
00071 
00072   Print(std::cout);
00073   return;
00074 
00075 }

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

Definition at line 43 of file NtpCandStrip.cxx.

References fTPos, and fZPos.

Referenced by Print().

00043                                                     {
00044   //
00045   //  Purpose:  Print status of ntuple record on ostream.
00046   //
00047   //  Arguments: os ostream to display on.
00048   //
00049   //  Return:  ostream reference.
00050   //
00051   //  Contact:   S. Kasahara
00052   // 
00053 
00054   os << "TPos " << fTPos << ", ZPos " << fZPos << endl;
00055 
00056   return os;
00057 
00058 }


Member Data Documentation

Double_t NtpCandStrip::fTPos [protected]

Definition at line 39 of file NtpCandStrip.h.

Referenced by GetTPos(), NtpCandStrip(), and Print().

Double_t NtpCandStrip::fZPos [protected]

Definition at line 40 of file NtpCandStrip.h.

Referenced by GetZPos(), NtpCandStrip(), 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