Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

NtpSRShieldSummary Class Reference

#include <NtpSRShieldSummary.h>

List of all members.

Public Member Functions

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

Public Attributes

UInt_t ndigit [3]
UInt_t nplank [3]
Int_t adc [3]
Float_t dx [3]
Int_t dxvetostp [3]
Float_t dcos
Float_t projx
Float_t projy
Float_t projz
Int_t exphits
Bool_t ishit
Bool_t found2sect


Constructor & Destructor Documentation

NtpSRShieldSummary::NtpSRShieldSummary  ) 
 

Definition at line 19 of file NtpSRShieldSummary.cxx.

References adc, dcos, dx, dxvetostp, exphits, found2sect, ishit, ndigit, nplank, projx, projy, and projz.

00019                                        {
00020   //
00021   //  Purpose: Default constructor
00022   //
00023  
00024   for ( int i = 0; i < 3; i++ ) {
00025     ndigit[i] = 0;
00026     nplank[i] = 0;
00027     adc[i]    = 0;
00028     dx[i]     = 999;
00029     dxvetostp[i] = -1;
00030   }
00031   dcos = 0;
00032   projx = 0;
00033   projy = 0;
00034   projz = 0;
00035   exphits = 0;
00036   ishit = 0;
00037   found2sect=0;
00038 
00039 }

virtual NtpSRShieldSummary::~NtpSRShieldSummary  )  [inline, virtual]
 

Definition at line 22 of file NtpSRShieldSummary.h.

00022 {}


Member Function Documentation

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

Definition at line 63 of file NtpSRShieldSummary.cxx.

References Print().

00063                                                            {
00064   //
00065   //  Purpose:  Print shield summary data in form supported by TObject::Print.
00066   //
00067   //  Arguments: option (not used)
00068   //
00069 
00070   Print(std::cout);
00071   return;
00072 
00073 }

std::ostream & NtpSRShieldSummary::Print std::ostream &  os  )  const [virtual]
 

Definition at line 41 of file NtpSRShieldSummary.cxx.

References adc, dcos, dx, dxvetostp, exphits, found2sect, ishit, ndigit, nplank, projx, projy, and projz.

Referenced by Print().

00041                                                           {
00042   //
00043   //  Purpose:  Print shield summary data on ostream.
00044   //
00045 
00046   os << "NtpSRShieldSummary::Print" << endl;
00047   os << "pre-trig: ndigit " << ndigit[0] << " nplank " << nplank[0]
00048      << " summed adc " << adc[0] << " dx(m) " << dx[0] << " dx vetostp index "
00049      << dxvetostp[0] << endl;
00050   os << "in-trig: ndigit " << ndigit[1] << " nplank " << nplank[1]
00051      << " summed adc " << adc[1] << " dx(m) " << dx[1] << " dx vetostp index "
00052      << dxvetostp[1] << endl;
00053   os << "post-trig: ndigit " << ndigit[2] << " nplank " << nplank[2]
00054      << " summed adc " << adc[2] << " dx(m) " << dx[2] << " dx vetostp index "
00055      << dxvetostp[2] << endl;
00056   os << "dcos " << dcos << " proj(x,y,z)(m)(" << projx << "," << projy 
00057      << "," << projz << ")" << " exphits " << exphits << " ishit " << ishit << " found2sect " << found2sect << endl;
00058 
00059   return os;
00060 
00061 }


Member Data Documentation

Int_t NtpSRShieldSummary::adc[3]
 

Definition at line 42 of file NtpSRShieldSummary.h.

Referenced by NtpSRModule::FillNtpShieldStrip(), NtpSRShieldSummary(), and Print().

Float_t NtpSRShieldSummary::dcos
 

Definition at line 45 of file NtpSRShieldSummary.h.

Referenced by NtpSRModule::FillNtpTrackProjectionToShield(), NtpSRShieldSummary(), and Print().

Float_t NtpSRShieldSummary::dx[3]
 

Definition at line 43 of file NtpSRShieldSummary.h.

Referenced by NtpSRModule::FillNtpShieldStrip(), NtpSRShieldSummary(), and Print().

Int_t NtpSRShieldSummary::dxvetostp[3]
 

Definition at line 44 of file NtpSRShieldSummary.h.

Referenced by NtpSRModule::FillNtpShieldStrip(), NtpSRShieldSummary(), and Print().

Int_t NtpSRShieldSummary::exphits
 

Definition at line 49 of file NtpSRShieldSummary.h.

Referenced by NtpSRModule::FillNtpShieldStrip(), NtpSRModule::FillNtpTrackProjectionToShield(), NtpSRShieldSummary(), and Print().

Bool_t NtpSRShieldSummary::found2sect
 

Definition at line 51 of file NtpSRShieldSummary.h.

Referenced by NtpSRModule::FillNtpShieldStrip(), NtpSRShieldSummary(), and Print().

Bool_t NtpSRShieldSummary::ishit
 

Definition at line 50 of file NtpSRShieldSummary.h.

Referenced by MadScanDisplay::Display(), MadEvDisplay::Display(), NtpSRModule::FillNtpTrackProjectionToShield(), SntpHelpers::GetShieldStrip(), NtpSRShieldSummary(), and Print().

UInt_t NtpSRShieldSummary::ndigit[3]
 

Definition at line 37 of file NtpSRShieldSummary.h.

Referenced by NtpSRModule::FillNtpShieldStrip(), SntpHelpers::GetShieldStrip(), NtpSRShieldSummary(), and Print().

UInt_t NtpSRShieldSummary::nplank[3]
 

Definition at line 41 of file NtpSRShieldSummary.h.

Referenced by NtpSRModule::FillNtpShieldStrip(), NtpSRShieldSummary(), and Print().

Float_t NtpSRShieldSummary::projx
 

Definition at line 46 of file NtpSRShieldSummary.h.

Referenced by NtpSRModule::FillNtpTrackProjectionToShield(), NtpSRShieldSummary(), and Print().

Float_t NtpSRShieldSummary::projy
 

Definition at line 47 of file NtpSRShieldSummary.h.

Referenced by NtpSRModule::FillNtpTrackProjectionToShield(), NtpSRShieldSummary(), and Print().

Float_t NtpSRShieldSummary::projz
 

Definition at line 48 of file NtpSRShieldSummary.h.

Referenced by NtpSRModule::FillNtpShieldStrip(), NtpSRModule::FillNtpTrackProjectionToShield(), NtpSRShieldSummary(), and Print().


The documentation for this class was generated from the following files:
Generated on Mon Feb 15 11:09:43 2010 for loon by  doxygen 1.3.9.1