WeightedHit.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file WeightedHit.h
3 // \brief Simple hit+weight pair
4 // \version $Id: WeightedHit.h,v 1.1 2012-10-16 01:45:00 bckhouse Exp $
5 // \author Author: Christopher Backhouse - bckhouse@caltech.edu
6 // \date $Date: 2012-10-16 01:45:00 $
7 ////////////////////////////////////////////////////////////////////////
8 #ifndef RBWEIGHTEDHIT_H
9 #define RBWEIGHTEDHIT_H
10 
11 #include "RecoBase/CellHit.h"
12 
14 
15 namespace rb
16 {
17  /// Simple hit+weight pair, returned from \ref rb::Cluster::WeightedHits
18  struct WeightedHit
19  {
21  : hit(h), weight(w) {}
22 
24  double weight;
25  };
26 }
27 
28 #endif
Perform a "2 point" Hough transform on a collection of hits.
art::Ptr< rb::CellHit > hit
Definition: WeightedHit.h:23
Definition: structs.h:12
Simple hit+weight pair, returned from rb::Cluster::WeightedHits.
Definition: WeightedHit.h:18
WeightedHit(const art::Ptr< rb::CellHit > &h, double w)
Definition: WeightedHit.h:20
Float_t w
Definition: plot.C:20