Channel.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file Channel.h
3 // \version $Id: Channel.h,v 1.5 2012-05-22 02:47:11 bckhouse Exp $
4 // \author Christopher Backhouse - bckhouse@caltech.edu
5 ////////////////////////////////////////////////////////////////////////
6 
7 #ifndef DTCHANNEL_H
8 #define DTCHANNEL_H
9 
11 
13 
14 namespace rb{class CellHit;}
15 
16 namespace dt
17 {
18  /// Representation of the state of a single detector channel
19  class Channel : public geo::OfflineChan
20  {
21  public:
22  Channel(int plane, int cell); // Unhit by default
23  void SetDead();
24  void SetHit(art::Ptr<rb::CellHit> chit);
25  void MarkHitFound();
26  bool EverHit() const;
27  enum Type_t{kHit, kUnhit, kDead, kFound};
28  Type_t Type() const;
29  art::Ptr<rb::CellHit> GetHit() const;
30  protected:
33  };
34 
35 } // namespace
36 
37 #endif
art::Ptr< rb::CellHit > fHit
Definition: Channel.h:32
Representation of the state of a single detector channel.
Definition: Channel.h:19
Definition: Cand.cxx:23
Perform a "2 point" Hough transform on a collection of hits.
A (plane, cell) pair.
Definition: OfflineChan.h:17
Simple object representing a (plane, cell) pair.
Type_t fType
Definition: Channel.h:31