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

recobase::CellHit Class Reference

#include <CellHit.h>

Inheritance diagram for recobase::CellHit:

rawdata::RawDigit clusterss::CellHitGrad recobase::RecoHit List of all members.

Public Member Functions

 CellHit ()
 ~CellHit ()
virtual void Print (const Option_t *) const
unsigned short Status () const
unsigned short Plane () const
unsigned short Cell () const
geo::View_t View () const
float PE () const
float PECorr () const
float TNS () const
void SetStatus (unsigned short status)
void SetStatusBits (unsigned short bits)
void SetCell (unsigned short cell)
void SetPlane (unsigned short plane)
void SetView (geo::View_t view)
void SetPE (float pe)
void SetPECorr (float pecorr)
void SetTNS (float tns)

Public Attributes

unsigned short fStatus
 fStatus used by calibration routines & reconstruction
unsigned short fPlane
 plane number
unsigned short fCell
 cell number
geo::View_t fView
 view (geo::kX or geo::kY)
float fPE
 after ADC-->PE gain applied
float fPECorr
 after channel-to-channel differences removed
float fTNS
 time of hit in ns with channel differences removed

Constructor & Destructor Documentation

CellHit::CellHit  ) 
 

Definition at line 19 of file CellHit.cxx.

00019                  : RawDigit(),fStatus(0),fPlane(0),fCell(0),
00020                      fView(geo::kXorY),fPE(0),fPECorr(0),fTNS(0)
00021 {
00022 }

CellHit::~CellHit  ) 
 

Definition at line 24 of file CellHit.cxx.

00025 {
00026 }


Member Function Documentation

unsigned short recobase::CellHit::Cell  )  const [inline]
 

Definition at line 30 of file CellHit.h.

Referenced by recobase::Cluster::Add(), recobase::ShowerBase::AddCell(), spider::Filament::AddHit(), evd::RecoBaseDrawer::CellHit2D(), cellSort(), fillntup::FillNtup::FillEventInfo(), clusterss::MakeClusterSS::FindAllTransverseWindows(), subshower::RecoSubShower::FormStripList(), evd::RecoBaseDrawer::GetClusterOutlines(), recobase::ShowerBase::GetMiscPlaneInfo(), calib::Calibrator::GetXYZD(), spider::Filament::HasHit(), ctrk::CosmicTrack::MakeClusters(), clusterss::MakeClusterSS::MakePlaneClusters(), clusterss::CompareClusters::MatchCells(), clusterss::MakeClusterSS::PruneCellList(), subshower::RecoSubShower::Reco(), trk::DemoShell::Reco(), cellhitmerge::CellHitMerge::Reco(), calhit::CalHit::RoughReco(), spider::WebWalker::SpinHit(), cluster::Clusterer::UpdateClusterStat(), recobase::Cluster::XCell(), and recobase::Cluster::YCell().

00030 { return fCell;   }

float recobase::CellHit::PE  )  const [inline]
 

Definition at line 32 of file CellHit.h.

Referenced by calib::Calibrator::MakeCellHit(), cluster::HitCluster::MakeClusters(), ctrk::CosmicTrack::MakeClusters(), and cluster::Clusterer::UpdateClusterStat().

00032 { return fPE;     }

float recobase::CellHit::PECorr  )  const [inline]
 

Definition at line 33 of file CellHit.h.

Referenced by recobase::ShowerBase::AddCell(), evd::RecoBaseDrawer::CellHit2D(), calib::Calibrator::GetPEAtt(), cluster::HitClusterFast::MakeCluster(), cluster::HitClusterFast::printmap(), and calhit::CalHit::RoughReco().

00033 { return fPECorr; }

unsigned short recobase::CellHit::Plane  )  const [inline]
 

Definition at line 29 of file CellHit.h.

Referenced by recobase::Cluster::Add(), recobase::ShowerBase::AddCell(), spider::Filament::AddHit(), subshower::RecoSubShower::CalculateEnergyVertexAngle(), evd::RecoBaseDrawer::CellHit2D(), fillntup::FillNtup::FillEventInfo(), clusterss::MakeClusterSS::FindAllTransverseWindows(), subshower::RecoSubShower::FormStripList(), evd::RecoBaseDrawer::GetClusterOutlines(), calib::Calibrator::GetXYZD(), spider::Filament::HasHit(), calib::Calibrator::MakeCellHit(), ctrk::CosmicTrack::MakeClusters(), clusterss::MakeClusterSS::MakePlaneClusters(), clusterss::CompareClusters::MatchCells(), planeSort(), clusterss::MakeClusterSS::PruneCellList(), subshower::RecoSubShower::Reco(), trk::DemoShell::Reco(), cellhitmerge::CellHitMerge::Reco(), calhit::CalHit::RoughReco(), spider::WebWalker::SpinHit(), cluster::Clusterer::UpdateClusterStat(), recobase::Cluster::XCell(), and recobase::Cluster::YCell().

00029 { return fPlane;  }

void CellHit::Print const Option_t *   )  const [virtual]
 

Reimplemented in recobase::RecoHit.

Definition at line 28 of file CellHit.cxx.

References fCell, fPE, fPECorr, fPlane, fStatus, fTNS, and fView.

00029 {
00030   std::cout<<"CellHit  Plane: "<<fPlane<<" Cell: "<<fCell<<" Channel: "<<fChannel<<" View "<<fView<<std::endl;
00031   std::cout<<" PulseHeight adc: "<<fADC[0]<<" pe: "<<fPE<<" pe corr: "<<fPECorr<<std::endl;
00032   std::cout<<" Times tdc: "<<fTDC[0]<<" ns: "<<fTNS<<" Status: "<<fStatus<<std::endl;
00033 }

void recobase::CellHit::SetCell unsigned short  cell  )  [inline]
 

Definition at line 39 of file CellHit.h.

Referenced by calib::Calibrator::MakeCellHit().

00039 { fCell    = cell;   }

void recobase::CellHit::SetPE float  pe  )  [inline]
 

Definition at line 42 of file CellHit.h.

Referenced by calib::Calibrator::MakeCellHit().

00042 { fPE      = pe;     }

void recobase::CellHit::SetPECorr float  pecorr  )  [inline]
 

Definition at line 43 of file CellHit.h.

Referenced by calib::Calibrator::MakeCellHit().

00043 { fPECorr  = pecorr; } 

void recobase::CellHit::SetPlane unsigned short  plane  )  [inline]
 

Definition at line 40 of file CellHit.h.

Referenced by calib::Calibrator::MakeCellHit().

00040 { fPlane   = plane;  }

void recobase::CellHit::SetStatus unsigned short  status  )  [inline]
 

Definition at line 37 of file CellHit.h.

Referenced by calib::Calibrator::MakeCellHit().

00037 { fStatus  = status; }

void recobase::CellHit::SetStatusBits unsigned short  bits  )  [inline]
 

Definition at line 38 of file CellHit.h.

00038 { fStatus |= bits;   }

void recobase::CellHit::SetTNS float  tns  )  [inline]
 

Definition at line 44 of file CellHit.h.

Referenced by calib::Calibrator::MakeCellHit().

00044 { fTNS     = tns;    }

void recobase::CellHit::SetView geo::View_t  view  )  [inline]
 

Definition at line 41 of file CellHit.h.

Referenced by calib::Calibrator::MakeCellHit().

00041 { fView    = view;   }

unsigned short recobase::CellHit::Status  )  const [inline]
 

Definition at line 28 of file CellHit.h.

00028 { return fStatus; }

float recobase::CellHit::TNS  )  const [inline]
 

Definition at line 34 of file CellHit.h.

Referenced by evd::RecoBaseDrawer::CellHit2D(), calib::Calibrator::GetT(), ctrk::CosmicTrack::MakeClusters(), and cluster::HitClusterFast::printmap().

00034 { return fTNS;    }

geo::View_t recobase::CellHit::View  )  const [inline]
 

Definition at line 31 of file CellHit.h.

Referenced by recobase::Cluster::Add(), evd::RecoBaseDrawer::CellHit2D(), trk::Circe::DoEval(), fillntup::FillNtup::FillEventInfo(), calib::Calibrator::GetXYZD(), subshower::RecoSubShower::Reco(), trk::DemoShell::Reco(), calhit::CalHit::RoughReco(), subshower::RecoSubShower::SaveCluster(), trk::Circe::SeedProngs(), and clusterss::MakeClusterSS::SplitIntoViews().

00031 { return fView;   }


Member Data Documentation

unsigned short recobase::CellHit::fCell
 

cell number

Definition at line 49 of file CellHit.h.

Referenced by Print().

float recobase::CellHit::fPE
 

after ADC-->PE gain applied

Definition at line 51 of file CellHit.h.

Referenced by Print().

float recobase::CellHit::fPECorr
 

after channel-to-channel differences removed

Definition at line 52 of file CellHit.h.

Referenced by Print().

unsigned short recobase::CellHit::fPlane
 

plane number

Definition at line 48 of file CellHit.h.

Referenced by Print().

unsigned short recobase::CellHit::fStatus
 

fStatus used by calibration routines & reconstruction

Definition at line 47 of file CellHit.h.

Referenced by Print().

float recobase::CellHit::fTNS
 

time of hit in ns with channel differences removed

Definition at line 53 of file CellHit.h.

Referenced by Print().

geo::View_t recobase::CellHit::fView
 

view (geo::kX or geo::kY)

Definition at line 50 of file CellHit.h.

Referenced by Print().


The documentation for this class was generated from the following files:
Generated on Mon Nov 23 04:45:33 2009 for NOvA Offline by  doxygen 1.3.9.1