WeightedProng.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file WeightedProng.h
3 // \brief A weighted prong is exactly the same as prong
4 // \author $Author: essmith$
5 ////////////////////////////////////////////////////////////////////////
6 
7 #ifndef RBWEIGHTEDPRONG_H
8 #define RBWEIGHTEDPRONG_H
9 
10 #include "RecoBase/Prong.h"
11 
12 #include <vector>
13 
14 namespace rb
15 {
16  /// \brief A \ref rb::Prong which has energy weighted by shared hits
17  class WeightedProng : public Prong
18  {
19  public:
20  /// \name Constructors
21  ///
22  /// See \ref rb::Prong documentation
24 
25 #ifndef __GCCXML__
26 
27  WeightedProng(const rb::Prong& prong,
28  bool isWeighted=true, int id=0);
29 
31  TVector3 start, TVector3 dir, bool isWeighted=true, int id=0);
32 
33  WeightedProng(const rb::Cluster& clust,
34  TVector3 start, TVector3 dir, bool isWeighted=true, int id=0);
35 
37  geo::View_t view, double v0, double z0, double dv, double dz, bool isWeighted=true, int id=0);
38 
39  WeightedProng(const std::vector< art::Ptr<rb::CellHit> >& cells,
40  geo::View_t view, double v0, double z0, double dv, double dz, bool isWeighted=true, int id=0);
41 
42  WeightedProng(const rb::Cluster& clust,
43  double v0, double z0, double dv, double dz, bool isWeighted=true, int id=0);
44 
45 #endif // __GCCXML__
46 
47  virtual ~WeightedProng();
48 
49 #ifndef __GCCXML__
50 
51 // void SetIsWeighted(bool isWeighted) { fIsWeighted = isWeighted; }
52  bool IsWeighted() { return fIsWeighted; }
53 
54 #endif // __GCCXML__
55 
56  protected:
57 #ifndef __GCCXML__
59 #endif // __GCCXML__
60 
61 
62 
63  };
64 }
65 
66 #endif
enum geo::_plane_proj View_t
Enumerate the possible plane projections.
A collection of associated CellHits.
Definition: Cluster.h:47
virtual ~WeightedProng()
double dz[NP][NC]
Perform a "2 point" Hough transform on a collection of hits.
A Cluster with defined start position and direction.
Definition: Prong.h:19
TDirectory * dir
Definition: macro.C:5
A rb::Prong which has energy weighted by shared hits.
Definition: WeightedProng.h:17