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< ClusterID, int > numSignalHitsPostClustering
std::map< TrackID, int > numHitsPreClustering
std::map< ClusterID, TrackID > clusterToTrackID
double ClusteringValidation::ClusterCounter::GetEfficiency |
( |
TrackID |
id | ) |
|
ClusterIDs ClusteringValidation::ClusterCounter::GetListOfClusterIDs |
( |
| ) |
|
TrackIDs ClusteringValidation::ClusterCounter::GetListOfTrackIDs |
( |
| ) |
|
int ClusteringValidation::ClusterCounter::GetNumberHitsFromTrack |
( |
TrackID |
id | ) |
|
int ClusteringValidation::ClusterCounter::GetNumberHitsInCluster |
( |
ClusterID |
id | ) |
|
Definition at line 139 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 147 of file ClusteringValidation_module.cc.
References track.
148 std::vector<std::pair<TrackID,ClusterIDs> > photonVector;
const simb::MCParticle * TrackIdToParticle_P(int const &id)
bool IsNoise(ClusterID id)
TrackIDs GetListOfTrackIDs()
std::map< TrackID, ClusterIDs > trackToClusterIDs
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 161 of file ClusteringValidation_module.cc.
164 for (
unsigned int photon = 0; photon <
GetPhotons().size(); ++photon)
167 if ( (
GetPhotons().size() == 2 && goodPhotons.size() > 2) || (
GetPhotons().size() == 1 && goodPhotons.size() > 1) ) std::cout <<
"More than 2 with >50%?!" << std::endl;
168 bool pass = ( (
GetPhotons().size() == 2 && goodPhotons.size() == 2) || (
GetPhotons().size() == 1 && goodPhotons.size() == 1) );
double GetCompleteness(ClusterID id)
std::vector< TrackID > TrackIDs
Cluster finding and building.
std::vector< std::pair< TrackID, ClusterIDs > > GetPhotons()
std::map<ClusterID,TrackID> ClusteringValidation::ClusterCounter::clusterToTrackID |
|
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 |
The documentation for this class was generated from the following file: