NtpSRMomentum Class Reference

#include <NtpSRMomentum.h>

List of all members.

Public Member Functions

 NtpSRMomentum ()
virtual ~NtpSRMomentum ()
virtual std::ostream & Print (std::ostream &os) const
virtual void Print (Option_t *option="") const

Public Attributes

Float_t range
Float_t qp
 q/p (1/(GeV/c)) as described above
Float_t eqp
 uncertainty from qp fit
Float_t best
 range-based if contained, curvature if not
Float_t qp_rangebiased
Float_t eqp_rangebiased

Detailed Description

Definition at line 17 of file NtpSRMomentum.h.


Constructor & Destructor Documentation

NtpSRMomentum::NtpSRMomentum (  )  [inline]

Definition at line 21 of file NtpSRMomentum.h.

00021 : range(0),qp(0),eqp(0), best(0), qp_rangebiased(0), eqp_rangebiased(0) {}

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

Definition at line 22 of file NtpSRMomentum.h.

00022 {}


Member Function Documentation

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

Definition at line 30 of file NtpSRMomentum.cxx.

References Print().

00030                                                       {
00031   //
00032   //  Purpose:  Print momentum data in form supported by TObject::Print.
00033   //
00034   //  Arguments: option (not used)
00035   //
00036 
00037   Print(std::cout);
00038   return;
00039 
00040 }

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

Definition at line 19 of file NtpSRMomentum.cxx.

References eqp, qp, and range.

Referenced by Print().

00019                                                      {
00020   //
00021   //  Purpose:  Print momentum data on ostream.
00022   //
00023 
00024   os << "NtpSRMomentum: p(GeV/c) from range " << range 
00025      << " q/p(GeV/c)^-1 " << qp << " eq/p " << eqp << endl;
00026   return os;
00027 
00028 }


Member Data Documentation

Definition at line 41 of file NtpSRMomentum.h.

Referenced by NtpSRModule::FillNtpTrackMomentum().


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

Generated on 25 Sep 2017 for loon by  doxygen 1.6.1