NtpCalDetPID Class Reference

#include <NtpCalDetPID.h>

List of all members.

Public Member Functions

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

Public Attributes

Int_t nov
Int_t inct
Int_t pid
Float_t olchi2

Detailed Description

Definition at line 17 of file NtpCalDetPID.h.


Constructor & Destructor Documentation

NtpCalDetPID::NtpCalDetPID (  )  [inline]

Definition at line 21 of file NtpCalDetPID.h.

00021 : nov(0), inct(0), pid(0), olchi2(0.) {}

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

Definition at line 22 of file NtpCalDetPID.h.

00022 {}


Member Function Documentation

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

Definition at line 36 of file NtpCalDetPID.cxx.

References Print().

00036                                                      {
00037   //
00038   //  Purpose:  Print momentum data in form supported by TObject::Print.
00039   //
00040   //  Arguments: option (not used)
00041   //
00042 
00043   Print(std::cout);
00044   return;
00045 
00046 }

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

Definition at line 20 of file NtpCalDetPID.cxx.

References bfld::AsString(), inct, nov, olchi2, and pid.

Referenced by Print().

00020                                                     {
00021   //
00022   //  Purpose:  Print momentum data on ostream.
00023   //
00024 
00025      os << "NtpCalDetPID: ";
00026      if(nov!=0) os<<"no overlap, ";
00027      else os<<"overlap, ";
00028      if(inct!=0) os<<"cer in time, ";
00029      else os<<"cer out of time, ";
00030      os<<CalDetParticleType::AsString(pid)<<endl;
00031      os<<" Overlap Chi2 is "<<olchi2<<endl;
00032   return os;
00033 
00034 }

void NtpCalDetPID::Reset (  ) 

Definition at line 48 of file NtpCalDetPID.cxx.

References inct, nov, olchi2, and pid.

Referenced by UberRecord::ResetEvent(), and UberRecordLite::ResetEvent().

00049 {
00050    nov=0; inct=0; pid=0; olchi2=0.;
00051 }


Member Data Documentation


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

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1