StripHolder Class Reference

#include <StripHolder.h>

List of all members.

Public Member Functions

 StripHolder ()
 ~StripHolder ()
void Reset ()
void AddStrip (int myplane, int mystrip, double myenergy, double st, double sz, int view)

Public Attributes

double maxz
double minz
double maxu
double minu
double maxv
double minv
std::vector< StripHithits

Detailed Description

Definition at line 13 of file StripHolder.h.


Constructor & Destructor Documentation

StripHolder::StripHolder (  ) 

Definition at line 14 of file StripHolder.cxx.

00014                         :maxz(-10000),minz(10000),maxu(-10000),minu(10000),maxv(-10000),minv(10000)
00015 {
00016                 hits.clear();
00017 }

StripHolder::~StripHolder (  ) 

Definition at line 24 of file StripHolder.cxx.

00025 {
00026 }


Member Function Documentation

void StripHolder::AddStrip ( int  myplane,
int  mystrip,
double  myenergy,
double  st,
double  sz,
int  view 
)

Definition at line 29 of file StripHolder.cxx.

References StripHit::e, hits, maxu, maxv, maxz, minu, minv, minz, StripHit::plane, StripHit::strip, StripHit::t, StripHit::view, and StripHit::z.

Referenced by Finder::AddStrip().

00030 {
00031         StripHit h;
00032         h.plane=myplane;
00033         h.strip=mystrip;
00034         h.e=myenergy;
00035         h.t=st;
00036         h.z=sz;
00037         h.view=view;
00038         
00039         hits.push_back(h);
00040         
00041         minz=minz<sz?minz:sz;
00042         maxz=maxz>sz?maxz:sz;
00043         
00044         if(view==2)
00045         {
00046                 minu=minu<st?minu:st;
00047                 maxu=maxu>st?maxu:st;   
00048         }else if(view==3)
00049         {
00050                 minv=minv<st?minv:st;
00051                 maxv=maxv>st?maxv:st;           
00052         }
00053         
00054                 
00055 }

void StripHolder::Reset (  ) 

Definition at line 59 of file StripHolder.cxx.

References hits.

00060 {
00061                 hits.clear();
00062 }


Member Data Documentation

Definition at line 30 of file StripHolder.h.

Referenced by AddStrip(), HitView::DrawClusters(), and Reset().

Definition at line 26 of file StripHolder.h.

Referenced by AddStrip(), FitView::DrawEvent(), and HitView::DrawEvent().

Definition at line 28 of file StripHolder.h.

Referenced by AddStrip(), FitView::DrawEvent(), and HitView::DrawEvent().

Definition at line 24 of file StripHolder.h.

Referenced by AddStrip(), FitView::DrawEvent(), and HitView::DrawEvent().

Definition at line 27 of file StripHolder.h.

Referenced by AddStrip(), FitView::DrawEvent(), and HitView::DrawEvent().

Definition at line 29 of file StripHolder.h.

Referenced by AddStrip(), FitView::DrawEvent(), and HitView::DrawEvent().

Definition at line 25 of file StripHolder.h.

Referenced by AddStrip(), FitView::DrawEvent(), and HitView::DrawEvent().


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

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1