NtpSRShieldExpected Class Reference

#include <NtpSRShieldExpected.h>

List of all members.

Public Member Functions

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

Public Attributes

Int_t plane
 Plane expected to get hit.
Int_t plank
 strip number of first PlexStripEndId in plank expected to get hit
Int_t stripinplank [2]
 plane and strip number (0-19) of hit strip
Float_t projx
 x-projection in this plank (m)
Float_t projy
 y-projection in this plank (m)
Float_t projz
 z-projection in this plank (m)
Float_t centerdis
 distance from projection to plank's central line
Int_t isfound
 hit found or not
Int_t stripdigit
 digit of NtpSRShieldStrip where hit is found
Int_t index
 index in TClonesArray

Detailed Description

Definition at line 17 of file NtpSRShieldExpected.h.


Constructor & Destructor Documentation

NtpSRShieldExpected::NtpSRShieldExpected (  ) 

Definition at line 20 of file NtpSRShieldExpected.cxx.

References centerdis, index, isfound, plane, plank, projx, projy, projz, stripdigit, and stripinplank.

00020                                          {
00021   //
00022   //  Purpose: Default constructor
00023   //
00024  
00025   for ( int i = 0; i < 2; i++ ) {
00026     plane=-1;
00027     plank=-1;
00028     stripinplank[0]=-1;
00029     stripinplank[1]=-1;
00030     projx=-100;
00031     projy=-100;
00032     projz=-100;
00033     centerdis=-1;
00034     isfound=-1;
00035     stripdigit=-1;
00036     index=0;
00037   }
00038 
00039 
00040 }

NtpSRShieldExpected::NtpSRShieldExpected ( const NtpSRShieldExpected other  ) 

Definition at line 42 of file NtpSRShieldExpected.cxx.

References centerdis, index, isfound, plane, plank, projx, projy, projz, stripdigit, and stripinplank.

00042                                                                          : TObject() {
00043   //
00044   //  Purpose: Copy constructor
00045   //
00046  
00047   plane=other.plane;
00048   plank=other.plank;
00049   stripinplank[0]=other.stripinplank[0];
00050   stripinplank[1]=other.stripinplank[1];
00051   projx=other.projx;
00052   projy=other.projy;
00053   projz=other.projz;
00054   centerdis=other.centerdis;
00055   isfound=other.isfound;
00056   stripdigit=other.stripdigit;
00057   index=other.index;
00058 
00059 }

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

Definition at line 23 of file NtpSRShieldExpected.h.

00023 {}


Member Function Documentation

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

Definition at line 77 of file NtpSRShieldExpected.cxx.

References Print().

00077                                                             {
00078   //
00079   //  Purpose:  Print shield strip data in form supported by TObject::Print.
00080   //
00081   //  Arguments: option (not used)
00082   //
00083 
00084   Print(std::cout);
00085   return;
00086 
00087 }

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

Definition at line 61 of file NtpSRShieldExpected.cxx.

References centerdis, index, isfound, plane, plank, projx, projy, projz, stripdigit, and stripinplank.

Referenced by Print().

00061                                                            {
00062   //
00063   //  Purpose:  Print shield strip data on ostream.
00064   //
00065 
00066   os << "NtpSRShieldExpected::Print" << endl;
00067   os << "plane " << plane << " plank " << plank << " stripinplank " << stripinplank[0] << "," << stripinplank[1] << endl;
00068   os << " projx " << projx 
00069      << " projy " << projy << " projz " << projz 
00070      << " centerdis " << centerdis << " IsFound " << isfound  
00071      << " stripdigit " << stripdigit << " index " << index << endl;
00072   
00073   return os;
00074 
00075 }


Member Data Documentation

distance from projection to plank's central line

Definition at line 46 of file NtpSRShieldExpected.h.

Referenced by NtpSRModule::FillNtpShieldExpected(), NtpSRShieldExpected(), and Print().

index in TClonesArray

Definition at line 49 of file NtpSRShieldExpected.h.

Referenced by NtpSRModule::FillNtpShieldExpected(), NtpSRShieldExpected(), and Print().

Plane expected to get hit.

< 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 40 of file NtpSRShieldExpected.h.

Referenced by NtpSRModule::FillNtpShieldExpected(), NtpSRModule::FillNtpShieldStrip(), NtpSRShieldExpected(), and Print().

strip number of first PlexStripEndId in plank expected to get hit

Definition at line 41 of file NtpSRShieldExpected.h.

Referenced by NtpSRModule::FillNtpShieldExpected(), NtpSRModule::FillNtpShieldStrip(), NtpSRShieldExpected(), and Print().

x-projection in this plank (m)

Definition at line 43 of file NtpSRShieldExpected.h.

Referenced by NtpSRModule::FillNtpShieldExpected(), NtpSRShieldExpected(), and Print().

y-projection in this plank (m)

Definition at line 44 of file NtpSRShieldExpected.h.

Referenced by NtpSRModule::FillNtpShieldExpected(), NtpSRShieldExpected(), and Print().

z-projection in this plank (m)

Definition at line 45 of file NtpSRShieldExpected.h.

Referenced by NtpSRModule::FillNtpShieldExpected(), NtpSRModule::FillNtpShieldStrip(), NtpSRShieldExpected(), and Print().

plane and strip number (0-19) of hit strip

Definition at line 42 of file NtpSRShieldExpected.h.

Referenced by NtpSRModule::FillNtpShieldExpected(), NtpSRModule::FillNtpShieldStrip(), NtpSRShieldExpected(), 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