NtpCandReco Class Reference

#include <NtpCandReco.h>

Inheritance diagram for NtpCandReco:
NtpCandShower NtpCandTrack CandTrackSRNtuple

List of all members.

Public Member Functions

 NtpCandReco ()
 NtpCandReco (const CandRecoHandle &reco)
virtual ~NtpCandReco ()
virtual std::ostream & Print (std::ostream &os) const
virtual void Print (Option_t *option="") const
virtual Double_t GetVtxU () const
virtual Double_t GetVtxV () const
virtual Double_t GetVtxZ () const
virtual Double_t GetVtxT () const
virtual Double_t GetDirCosU () const
virtual Double_t GetDirCosV () const
virtual Double_t GetDirCosZ () const

Protected Attributes

Double_t fVtxU
Double_t fVtxV
Double_t fVtxZ
Double_t fVtxT
Double_t fDirCosU
Double_t fDirCosV
Double_t fDirCosZ

Detailed Description

Definition at line 20 of file NtpCandReco.h.


Constructor & Destructor Documentation

NtpCandReco::NtpCandReco (  )  [inline]

Definition at line 24 of file NtpCandReco.h.

00024                  : fVtxU(-1),fVtxV(-1),fVtxZ(-1),fVtxT(-1),fDirCosU(-1),
00025                        fDirCosV(-1),fDirCosZ(-1) {}  // default constructor

NtpCandReco::NtpCandReco ( const CandRecoHandle reco  ) 

Definition at line 25 of file NtpCandReco.cxx.

References fDirCosU, fDirCosV, fDirCosZ, fVtxT, fVtxU, fVtxV, fVtxZ, CandRecoHandle::GetDirCosU(), CandRecoHandle::GetDirCosV(), CandRecoHandle::GetDirCosZ(), CandRecoHandle::GetVtxT(), CandRecoHandle::GetVtxU(), CandRecoHandle::GetVtxV(), and CandRecoHandle::GetVtxZ().

00025                                                    {
00026   //
00027   //  Purpose:  Constructor creates an ntuple from an existing CandReco.
00028   //
00029   //  Arguments: reference to CandReco (or derived class) object.
00030   //
00031   //  Return:  n/a.
00032   //
00033   //  Contact:   S. Kasahara
00034   // 
00035 
00036   fVtxU = reco.GetVtxU();
00037   fVtxV = reco.GetVtxV();
00038   fVtxZ = reco.GetVtxZ();
00039   fVtxT = reco.GetVtxT();
00040   fDirCosU = reco.GetDirCosU();
00041   fDirCosV = reco.GetDirCosV();
00042   fDirCosZ = reco.GetDirCosZ();
00043 
00044 }

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

Definition at line 28 of file NtpCandReco.h.

00028 {}


Member Function Documentation

virtual Double_t NtpCandReco::GetDirCosU (  )  const [inline, virtual]

Definition at line 38 of file NtpCandReco.h.

References fDirCosU.

00038 { return fDirCosU; }

virtual Double_t NtpCandReco::GetDirCosV (  )  const [inline, virtual]

Definition at line 39 of file NtpCandReco.h.

References fDirCosV.

00039 { return fDirCosV; }

virtual Double_t NtpCandReco::GetDirCosZ (  )  const [inline, virtual]

Definition at line 40 of file NtpCandReco.h.

References fDirCosZ.

00040 { return fDirCosZ; }

virtual Double_t NtpCandReco::GetVtxT (  )  const [inline, virtual]

Definition at line 37 of file NtpCandReco.h.

References fVtxT.

00037 { return fVtxT; }

virtual Double_t NtpCandReco::GetVtxU (  )  const [inline, virtual]

Definition at line 34 of file NtpCandReco.h.

References fVtxU.

00034 { return fVtxU; }

virtual Double_t NtpCandReco::GetVtxV (  )  const [inline, virtual]

Definition at line 35 of file NtpCandReco.h.

References fVtxV.

00035 { return fVtxV; }

virtual Double_t NtpCandReco::GetVtxZ (  )  const [inline, virtual]

Definition at line 36 of file NtpCandReco.h.

References fVtxZ.

00036 { return fVtxZ; }

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

Reimplemented in NtpCandShower, and NtpCandTrack.

Definition at line 66 of file NtpCandReco.cxx.

References Print().

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

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

Reimplemented in NtpCandShower, NtpCandTrack, and CandTrackSRNtuple.

Definition at line 46 of file NtpCandReco.cxx.

References fDirCosU, fDirCosV, fDirCosZ, fVtxT, fVtxU, fVtxV, and fVtxZ.

Referenced by Print().

00046                                                    {
00047   //
00048   //  Purpose:  Print status of ntuple record on ostream.
00049   //
00050   //  Arguments: os ostream to display on.
00051   //
00052   //  Return:  ostream reference.
00053   //
00054   //  Contact:   S. Kasahara
00055   // 
00056 
00057   os << "Vertex " << fVtxU << "(U), " << fVtxV << "(V)," << fVtxZ << "(Z)," 
00058                   << fVtxT << "(T)." << endl;
00059   os << "DirCos " << fDirCosU << "(U)," << fDirCosV << "(V)," 
00060      << fDirCosZ << "(Z)." << endl;
00061 
00062   return os;
00063 
00064 }


Member Data Documentation

Double_t NtpCandReco::fDirCosU [protected]

Definition at line 50 of file NtpCandReco.h.

Referenced by GetDirCosU(), NtpCandReco(), and Print().

Double_t NtpCandReco::fDirCosV [protected]

Definition at line 51 of file NtpCandReco.h.

Referenced by GetDirCosV(), NtpCandReco(), and Print().

Double_t NtpCandReco::fDirCosZ [protected]

Definition at line 52 of file NtpCandReco.h.

Referenced by GetDirCosZ(), NtpCandReco(), and Print().

Double_t NtpCandReco::fVtxT [protected]

Definition at line 49 of file NtpCandReco.h.

Referenced by GetVtxT(), NtpCandReco(), and Print().

Double_t NtpCandReco::fVtxU [protected]

Definition at line 46 of file NtpCandReco.h.

Referenced by GetVtxU(), NtpCandReco(), and Print().

Double_t NtpCandReco::fVtxV [protected]

Definition at line 47 of file NtpCandReco.h.

Referenced by GetVtxV(), NtpCandReco(), and Print().

Double_t NtpCandReco::fVtxZ [protected]

Definition at line 48 of file NtpCandReco.h.

Referenced by GetVtxZ(), NtpCandReco(), 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