ClusteringValidation::ClusterCounter::ClusterCounter |
( |
unsigned int & |
tpc, |
|
|
unsigned int & |
plane |
|
) |
| |
|
explicit |
void ClusteringValidation::ClusterCounter::AddHitPreClustering |
( |
TrackID |
id | ) |
|
void ClusteringValidation::ClusterCounter::AddNoiseHitPostClustering |
( |
ClusterID |
id | ) |
|
void ClusteringValidation::ClusterCounter::AddSignalHitPostClustering |
( |
ClusterID |
id | ) |
|
void ClusteringValidation::ClusterCounter::AssociateClusterAndTrack |
( |
ClusterID |
clusID, |
|
|
TrackID |
trackID |
|
) |
| |
double ClusteringValidation::ClusterCounter::GetCleanliness |
( |
ClusterID |
id | ) |
|
double ClusteringValidation::ClusterCounter::GetCompleteness |
( |
ClusterID |
id | ) |
|
Definition at line 131 of file ClusteringValidation_module.cc.
std::map< TrackID, int > numHitsPreClustering
std::map< ClusterID, int > numSignalHitsPostClustering
std::map< ClusterID, TrackID > clusterToTrackID
double ClusteringValidation::ClusterCounter::GetEfficiency |
( |
TrackID |
id | ) |
|
ClusterIDs ClusteringValidation::ClusterCounter::GetListOfClusterIDs |
( |
| ) |
|
Definition at line 171 of file ClusteringValidation_module.cc.
177 v.push_back(i->first);
std::vector< ClusterID > ClusterIDs
std::map< ClusterID, TrackID > clusterToTrackID
TrackIDs ClusteringValidation::ClusterCounter::GetListOfTrackIDs |
( |
| ) |
|
Definition at line 182 of file ClusteringValidation_module.cc.
188 v.push_back(i->first);
std::vector< TrackID > TrackIDs
std::map< TrackID, ClusterIDs > trackToClusterIDs
int ClusteringValidation::ClusterCounter::GetNumberHitsFromTrack |
( |
TrackID |
id | ) |
|
int ClusteringValidation::ClusterCounter::GetNumberHitsInCluster |
( |
ClusterID |
id | ) |
|
Definition at line 156 of file ClusteringValidation_module.cc.
std::map< ClusterID, int > numNoiseHitsPostClustering
std::map< ClusterID, int > numSignalHitsPostClustering
int ClusteringValidation::ClusterCounter::GetNumberHitsInPlane |
( |
| ) |
|
std::vector< std::pair< TrackID, ClusterIDs > > ClusteringValidation::ClusterCounter::GetPhotons |
( |
| ) |
|
Definition at line 193 of file ClusteringValidation_module.cc.
195 std::vector<std::pair<TrackID, ClusterIDs>> photonVector;
199 photonVector.push_back(std::pair<TrackID, ClusterIDs>(
bool IsNoise(ClusterID id)
process_name use argoneut_mc_hitfinder track
std::map< TrackID, ClusterIDs > trackToClusterIDs
TrackIDs GetListOfTrackIDs()
art::ServiceHandle< cheat::ParticleInventoryService > pi_serv
bool ClusteringValidation::ClusterCounter::IsNoise |
( |
ClusterID |
id | ) |
|
bool ClusteringValidation::ClusterCounter::IsNoise |
( |
TrackID |
id | ) |
|
bool ClusteringValidation::ClusterCounter::PassesCut |
( |
| ) |
|
Definition at line 223 of file ClusteringValidation_module.cc.
232 (
GetPhotons().size() == 1 && goodPhotons.size() > 1))
233 std::cout <<
"More than 2 with >50%?!" << std::endl;
234 bool pass = ((
GetPhotons().size() == 2 && goodPhotons.size() == 2) ||
235 (
GetPhotons().size() == 1 && goodPhotons.size() == 1));
process_name can override from command line with o or output photon
double GetCompleteness(ClusterID id)
std::vector< TrackID > TrackIDs
std::size_t size(FixedBins< T, C > const &) noexcept
std::vector< std::pair< TrackID, ClusterIDs > > GetPhotons()
BEGIN_PROLOG could also be cout
std::map<ClusterID, TrackID> ClusteringValidation::ClusterCounter::clusterToTrackID |
|
private |
art::ServiceHandle<geo::Geometry const> ClusteringValidation::ClusterCounter::geometry |
|
private |
std::map<TrackID, int> ClusteringValidation::ClusterCounter::numHitsPreClustering |
|
private |
std::map<ClusterID, int> ClusteringValidation::ClusterCounter::numNoiseHitsPostClustering |
|
private |
std::map<ClusterID, int> ClusteringValidation::ClusterCounter::numSignalHitsPostClustering |
|
private |
std::map<TrackID, std::map<std::string, double> > ClusteringValidation::ClusterCounter::particleProperties |
|
private |
unsigned int ClusteringValidation::ClusterCounter::plane |
|
private |
unsigned int ClusteringValidation::ClusterCounter::tpc |
|
private |
std::map<TrackID, ClusterIDs> ClusteringValidation::ClusterCounter::trackToClusterIDs |
|
private |
std::map<TrackID, simb::MCParticle> ClusteringValidation::ClusterCounter::trueParticles |
|
private |
The documentation for this class was generated from the following file: