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]
 number of planks
Int_t adc [3]
 summed adc count
Float_t dx [3]
 spatial res.(m) between proj. track and nearest vs hit
Int_t dxvetostp [3]
 index in vetostp array of nearest shield hit
Float_t dcos
 normal direction cosine to shield at intercept
Float_t projx
 x coordinate of projected track position (m)
Float_t projy
 y coordinate of projected track position (m)
Float_t projz
 z coordinate of projected track position (m)
Int_t exphits
 Number of planks expected to get hit in the shield.
Bool_t ishit
 projection is within boundaries of shield plane
Bool_t found2sect
 were hits found on time in the 2 sections above track vertex?

Detailed Description

Definition at line 17 of file NtpSRShieldSummary.h.


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

summed adc count

Definition at line 42 of file NtpSRShieldSummary.h.

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

normal direction cosine to shield at intercept

Definition at line 45 of file NtpSRShieldSummary.h.

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

spatial res.(m) between proj. track and nearest vs hit

Definition at line 43 of file NtpSRShieldSummary.h.

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

index in vetostp array of nearest shield hit

Definition at line 44 of file NtpSRShieldSummary.h.

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

Number of planks expected to get hit in the shield.

Definition at line 49 of file NtpSRShieldSummary.h.

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

were hits found on time in the 2 sections above track vertex?

Definition at line 51 of file NtpSRShieldSummary.h.

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

< ShieldSummary digits are classified as pretrigger (0), in trigger (1), or post trigger (2). ndigit,nplank,adc,dx,dxvetostp store data for each of these 3 timezones. Time is relative to track vertex, and corrected for time walk and optical fiber propagation delay. number of digits Contiguous scintillator strips in the shield are grouped together and read out by a single PMT pixel. These sets (mostly of 8 strips) are referred to as planks.

Definition at line 37 of file NtpSRShieldSummary.h.

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

number of planks

Definition at line 41 of file NtpSRShieldSummary.h.

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

x coordinate of projected track position (m)

Definition at line 46 of file NtpSRShieldSummary.h.

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

y coordinate of projected track position (m)

Definition at line 47 of file NtpSRShieldSummary.h.

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

z coordinate of projected track position (m)

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 22 Nov 2017 for loon by  doxygen 1.6.1