#include <SEAviewer.h>
Definition at line 133 of file SEAviewer.h.
seaview::cluster::cluster |
( |
int |
ID, |
|
|
int |
plane, |
|
|
std::vector< std::vector< double >> & |
pts, |
|
|
std::vector< art::Ptr< recob::Hit >> & |
hits |
|
) |
| |
|
inline |
Definition at line 138 of file SEAviewer.h.
141 if(pts.size() != hits.size()){
142 std::cerr<<
"seaviewer::cluster, input hits and pts not alligned"<<std::endl;
144 std::vector<double> wires(
f_npts);
150 TGraph af_graph(f_npts, &wires[0], &
ticks[0]);
BEGIN_PROLOG could also be cerr
std::vector< art::Ptr< recob::Hit > > f_hits
tick ticks
Alias for common language habits.
std::vector< std::vector< double > > f_pts
TH1D* seaview::cluster::getADCHist |
( |
| ) |
|
|
inline |
double seaview::cluster::getADCrms |
( |
| ) |
const |
|
inline |
double seaview::cluster::getAngleWRTShower |
( |
| ) |
const |
|
inline |
double seaview::cluster::getFitCons |
( |
| ) |
const |
|
inline |
double seaview::cluster::getFitSlope |
( |
| ) |
const |
|
inline |
TGraph* seaview::cluster::getGraph |
( |
| ) |
|
|
inline |
const TGraph* seaview::cluster::getGraph |
( |
| ) |
const |
|
inline |
const std::vector<art::Ptr<recob::Hit> >& seaview::cluster::getHits |
( |
| ) |
|
|
inline |
Definition at line 170 of file SEAviewer.h.
std::vector< art::Ptr< recob::Hit > > f_hits
int seaview::cluster::getID |
( |
| ) |
const |
|
inline |
double seaview::cluster::getImpactParam |
( |
| ) |
const |
|
inline |
double seaview::cluster::getIOCbasedLength |
( |
| ) |
const |
|
inline |
const std::string& seaview::cluster::getLegend |
( |
| ) |
const |
|
inline |
double seaview::cluster::getLinearChi |
( |
| ) |
const |
|
inline |
double seaview::cluster::getMeanADC |
( |
| ) |
const |
|
inline |
double seaview::cluster::getMeanADCFirstHalf |
( |
| ) |
const |
|
inline |
Definition at line 199 of file SEAviewer.h.
double f_mean_ADC_first_half
double seaview::cluster::getMeanADCRatio |
( |
| ) |
const |
|
inline |
Definition at line 201 of file SEAviewer.h.
double f_mean_ADC_first_to_second_ratio
double seaview::cluster::getMeanADCSecondHalf |
( |
| ) |
const |
|
inline |
Definition at line 200 of file SEAviewer.h.
double f_mean_ADC_second_half
double seaview::cluster::getMinHitConvDist |
( |
| ) |
const |
|
inline |
Definition at line 194 of file SEAviewer.h.
double f_min_conversion_dist_to_shower_start
double seaview::cluster::getMinHitImpactParam |
( |
| ) |
const |
|
inline |
Definition at line 193 of file SEAviewer.h.
double f_min_impact_parameter_to_shower
double seaview::cluster::getMinHitIOC |
( |
| ) |
const |
|
inline |
Definition at line 195 of file SEAviewer.h.
double f_min_ioc_to_shower_start
int seaview::cluster::getPlane |
( |
| ) |
const |
|
inline |
std::vector<std::vector<double> > seaview::cluster::getPTS |
( |
| ) |
const |
|
inline |
Definition at line 165 of file SEAviewer.h.
std::vector< std::vector< double > > f_pts
int seaview::cluster::getShowerRemerge |
( |
| ) |
const |
|
inline |
double seaview::cluster::getTrackAngleToShowerDirection |
( |
| ) |
const |
|
inline |
Definition at line 202 of file SEAviewer.h.
double f_angle_wrt_shower_direction
size_t seaview::cluster::getTrackEndIdx |
( |
| ) |
const |
|
inline |
size_t seaview::cluster::getTrackStartIdx |
( |
| ) |
const |
|
inline |
double seaview::cluster::getWireTickBasedLength |
( |
| ) |
const |
|
inline |
Definition at line 160 of file SEAviewer.h.
double f_wire_tick_based_length
int seaview::cluster::InNuSlice |
( |
const std::map< int, std::vector< art::Ptr< recob::Hit >> > & |
sliceIDToHitsMap, |
|
|
int |
nuSliceID |
|
) |
| |
Definition at line 7 of file SEAviewer.cxx.
9 const std::vector<art::Ptr<recob::Hit>>& slice_hits = sliceIDToHitsMap.at(nuSliceID);
10 bool found_hit_in_slice =
false, found_hit_not_in_slice =
false;
12 auto iter = std::find(slice_hits.begin(), slice_hits.end(),
hit);
13 if( iter == slice_hits.end())
14 found_hit_not_in_slice =
true;
16 found_hit_in_slice =
true;
19 if(found_hit_in_slice && found_hit_not_in_slice)
return 0;
22 return found_hit_in_slice ? 1 : -1;
std::vector< art::Ptr< recob::Hit > > f_hits
bool seaview::cluster::InRange |
( |
double |
tick_max, |
|
|
double |
tick_min, |
|
|
double |
wire_max, |
|
|
double |
wire_min |
|
) |
| const |
|
inline |
bool seaview::cluster::isTrackAnalyzed |
( |
| ) |
const |
|
inline |
void seaview::cluster::setAngleWRTShower |
( |
double |
d | ) |
|
|
inline |
void seaview::cluster::setFitCons |
( |
double |
d | ) |
|
|
inline |
void seaview::cluster::setFitSlope |
( |
double |
d | ) |
|
|
inline |
void seaview::cluster::setImpactParam |
( |
double |
d | ) |
|
|
inline |
void seaview::cluster::setLegend |
( |
const std::string & |
in_leg | ) |
|
|
inline |
int seaview::cluster::setShowerRemerge |
( |
int |
remerge_in | ) |
|
|
inline |
void seaview::cluster::setWireTickBasedLength |
( |
double |
d | ) |
|
|
inline |
Definition at line 159 of file SEAviewer.h.
double f_wire_tick_based_length
size_t seaview::cluster::end_hit_idx = SIZE_MAX |
|
private |
TH1D seaview::cluster::f_ADC_hist |
|
private |
double seaview::cluster::f_ADC_RMS = -1.0 |
|
private |
double seaview::cluster::f_angle_wrt_shower_direction = -1.0 |
|
private |
double seaview::cluster::f_AngleWRTShower = -1.0 |
|
private |
double seaview::cluster::f_fit_chi2 = 0.0 |
|
private |
double seaview::cluster::f_FitCons = 0.0 |
|
private |
double seaview::cluster::f_FitSlope = 0.0 |
|
private |
TGraph seaview::cluster::f_graph |
|
private |
std::vector<int> seaview::cluster::f_hit_group |
|
private |
std::vector<art::Ptr<recob::Hit> > seaview::cluster::f_hits |
|
private |
int seaview::cluster::f_ID |
|
private |
double seaview::cluster::f_ImpactParameter = -1.0 |
|
private |
double seaview::cluster::f_ioc_based_length = -1.0 |
|
private |
std::string seaview::cluster::f_legend |
|
private |
double seaview::cluster::f_mean_ADC_first_half = 0.0 |
|
private |
double seaview::cluster::f_mean_ADC_first_to_second_ratio = 0.0 |
|
private |
double seaview::cluster::f_mean_ADC_second_half = 0.0 |
|
private |
double seaview::cluster::f_meanADC = -1.0 |
|
private |
double seaview::cluster::f_min_conversion_dist_to_shower_start = 1e10 |
|
private |
double seaview::cluster::f_min_impact_parameter_to_shower = 1e10 |
|
private |
double seaview::cluster::f_min_ioc_to_shower_start = 1e10 |
|
private |
int seaview::cluster::f_npts |
|
private |
int seaview::cluster::f_plane |
|
private |
std::vector<std::vector<double> > seaview::cluster::f_pts |
|
private |
int seaview::cluster::f_shower_remerge = -1 |
|
private |
bool seaview::cluster::f_track_treated = false |
|
private |
double seaview::cluster::f_wire_tick_based_length = -1.0 |
|
private |
size_t seaview::cluster::start_hit_idx = SIZE_MAX |
|
private |
The documentation for this class was generated from the following files: