42 float PE ()
const {
return fPE; }
47 const int ID ()
const {
return fID; }
119 #endif // RBCELLHIT_H ::xsd::cxx::tree::id< char, ncname > id
void SetTNS(float tns, bool good)
bool operator==(const CellHit &other) const
Returns true if the two cellhits have the same plane, cell, PE and TDC values.
enum geo::_plane_proj View_t
Enumerate the possible plane projections.
friend std::ostream & operator<<(std::ostream &o, const CellHit &c)
unsigned short Plane() const
bool operator<(const CellHit &other) const
geo::View_t fView
view (geo::kX or geo::kY)
bool CompareByCell(const art::Ptr< rb::CellHit > &a, const art::Ptr< rb::CellHit > &b)
Helper for SortByCell. Is a on a lower cell number than b?
void SortByTime(std::vector< art::Ptr< rb::CellHit > > &c)
Sort c in time order (earliest to latest).
geo::OfflineChan OfflineChan() const
bool CompareByPlane(const art::Ptr< rb::CellHit > &a, const art::Ptr< rb::CellHit > &b)
Helper for SortByPlane. Is a on a lower number plane than b?
bool CompareByTime(const art::Ptr< rb::CellHit > &a, const art::Ptr< rb::CellHit > &b)
Helper for SortByTime. Is a earlier than b?
void SetView(geo::View_t view)
void SetPlane(unsigned short plane)
float fPE
after ADC–>PE gain applied
unsigned short fCell
cell number
unsigned short Cell() const
void SetCell(unsigned short cell)
void SetID(int id)
Compares hits by plane, then cell, then time.
Perform a "2 point" Hough transform on a collection of hits.
A rawdata::RawDigit with channel information decoded.
bool CompareByPlaneAndCell(const art::Ptr< rb::CellHit > &a, const art::Ptr< rb::CellHit > &b)
bool fCoarseTiming
Was the timing fit bad?
void SortByCell(std::vector< art::Ptr< rb::CellHit > > &c)
Sort c in cell order (low to high)
float fTNS
time of hit in ns with channel differences removed
unsigned short fPlane
plane number
Simple object representing a (plane, cell) pair.
void SortByPlane(std::vector< art::Ptr< rb::CellHit > > &c)
Sort c in plane order (low to high).
void SortByPlaneAndCell(std::vector< art::Ptr< rb::CellHit > > &c)