NtpEMShower Class Reference

#include <NtpEMShower.h>

List of all members.

Public Member Functions

 NtpEMShower ()
 NtpEMShower (Int_t ninit)
virtual ~NtpEMShower ()
virtual std::ostream & Print (std::ostream &os) const
virtual void Print (Option_t *option="") const
void AddStripAt (Int_t stripindex, Int_t ind)
void Clear (Option_t *="")

Public Attributes

UShort_t index
Int_t ndigit
Int_t nstrip
Int_t * stp
Double_t evector [8]
Double_t evalue [4]
Double_t avgdev [4]
Double_t outph [5]
Int_t status
NtpSRStripPulseHeight ph
NtpSRPlane plane
NtpEMVertex vtx
NtpEMFitInfo fitinfo

Detailed Description

Definition at line 23 of file NtpEMShower.h.


Constructor & Destructor Documentation

NtpEMShower::NtpEMShower (  ) 

Definition at line 35 of file NtpEMShower.cxx.

References avgdev, evalue, evector, and outph.

00035                         : index(0),ndigit(0),
00036                             nstrip(0),stp(0),
00037                             status(-1) {
00038 
00039   evector[0] = 0; evector[2] = 0; evector[3] = 0; evector[3] = 0;
00040   evector[4] = 0; evector[5] = 0; evector[6] = 0; evector[7] = 0;
00041   evalue[0] = 0; evalue[1] = 0; evalue[2] = 0; evalue[3] = 0;
00042   avgdev[0] = 0; avgdev[1] = 0; avgdev[2] = 0; avgdev[3] = 0;
00043   outph[0] = 0; outph[1] = 0; outph[2] = 0; outph[3] = 0; outph[4] = 0;
00044   
00045 }

NtpEMShower::NtpEMShower ( Int_t  ninit  ) 

Definition at line 47 of file NtpEMShower.cxx.

References avgdev, evalue, evector, nstrip, outph, and stp.

00047                                    :index(0),ndigit(0),
00048                                       nstrip(ninit),stp(0),
00049                                       status(-1) {
00050 
00051   if ( nstrip ) {
00052     stp = new Int_t[nstrip];
00053     for ( Int_t i = 0; i < nstrip; i++ ) stp[i] = -1;
00054   }
00055 
00056   evector[0] = 0; evector[2] = 0; evector[3] = 0; evector[3] = 0;
00057   evector[4] = 0; evector[5] = 0; evector[6] = 0; evector[7] = 0;
00058   evalue[0] = 0; evalue[1] = 0; evalue[2] = 0; evalue[3] = 0;
00059   avgdev[0] = 0; avgdev[1] = 0; avgdev[2] = 0; avgdev[3] = 0;
00060   outph[0] = 0; outph[1] = 0; outph[2] = 0; outph[3] = 0; outph[4] = 0;
00061    
00062 }

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

Definition at line 28 of file NtpEMShower.h.

References Clear().

00028 { this -> Clear(); }


Member Function Documentation

void NtpEMShower::AddStripAt ( Int_t  stripindex,
Int_t  ind 
)

Definition at line 21 of file NtpEMShower.cxx.

References Msg::kWarning, MSG, nstrip, and stp.

Referenced by NtpEMModule::FillNtpShower().

00021                                                         {
00022 
00023   if ( ind < 0 || ind >= nstrip ) {
00024     MSG("NtpEM",Msg::kWarning) 
00025       << "Attempt to add strip at index " << ind
00026       << " outside of array size " << nstrip << " ignored." << endl;
00027     return;
00028   }
00029     
00030   stp[ind] = stripindex;
00031   return;
00032     
00033 }

void NtpEMShower::Clear ( Option_t *  = ""  )  [inline]

Definition at line 36 of file NtpEMShower.h.

References stp.

Referenced by ~NtpEMShower().

00036                              { 
00037     if(stp) delete [] stp; stp=0; 
00038   }

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

Definition at line 71 of file NtpEMShower.cxx.

References Print().

00071                                                     {
00072  
00073   Print(std::cout);
00074   return;
00075 
00076 }

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

Definition at line 64 of file NtpEMShower.cxx.

Referenced by Print().

00064                                                    {
00065   
00066   os << "NtpEMShower::Print" << endl;
00067   return os;
00068 
00069 }


Member Data Documentation

Double_t NtpEMShower::avgdev[4]

Definition at line 51 of file NtpEMShower.h.

Referenced by NtpEMModule::FillNtpShower(), and NtpEMShower().

Double_t NtpEMShower::evalue[4]

Definition at line 50 of file NtpEMShower.h.

Referenced by NtpEMModule::FillNtpShower(), and NtpEMShower().

Double_t NtpEMShower::evector[8]

Definition at line 49 of file NtpEMShower.h.

Referenced by NtpEMModule::FillNtpShower(), and NtpEMShower().

Definition at line 57 of file NtpEMShower.h.

Referenced by NtpEMModule::FillNtpShower().

Definition at line 45 of file NtpEMShower.h.

Referenced by NtpEMModule::FillNtpShower().

Definition at line 46 of file NtpEMShower.h.

Referenced by NtpEMModule::FillNtpShower().

Double_t NtpEMShower::outph[5]

Definition at line 52 of file NtpEMShower.h.

Referenced by NtpEMModule::FillNtpShower(), and NtpEMShower().

Definition at line 54 of file NtpEMShower.h.

Referenced by NtpEMModule::FillNtpShower(), and MadHandScan::HandScanDisplay().

Definition at line 55 of file NtpEMShower.h.

Referenced by NtpEMModule::FillNtpShower().

Definition at line 53 of file NtpEMShower.h.

Referenced by NtpEMModule::FillNtpShower(), and MadHandScan::HandScanDisplay().

Definition at line 56 of file NtpEMShower.h.

Referenced by NtpEMModule::FillNtpShower(), and MadHandScan::HandScanDisplay().


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

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1