All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
BackTrackerMatchingData.h
Go to the documentation of this file.
1 // Author: Andy Furmanski (afurmans@fnal.gov)
2 // Date: August 2017
3 // Purpose: Store information from a reco-truth matching module (which is based on the BackTracker service)
4 // Stores the cleanliness and completeness of a match
5 // Cleanliness = charge in reco object from true object / total charge in reco object
6 // Completeness = charge in reco object from true object / total charge deposited by true object
7 
8 #ifndef ANAB_BACKTRACKERMATCHINGDATA_H
9 #define ANAB_BACKTRACKERMATCHINGDATA_H
10 
11 namespace anab{
12 
14  double cleanliness;
15  double completeness;
16  };
17 
18  //per hit/MCParticle assn...
19  // added by Wes Ketchum (wketchum@fnal.gov) and Yun-Tse Tsai (yuntse@slac.stanford.edu)
21  float ideFraction; //fraction of energy in hit from this particle
22  int isMaxIDE; //is this particle the max contributor to this hit?
23  float ideNFraction; // fraction of number of electrons on the wire in hit from this particle
24  int isMaxIDEN; // is this particle the max contributor to this hit in terms of number of electrons?
25  float numElectrons; // Number of electrons collected at the readout wire
26  float energy; // energy deposited by ionization by this track ID [MeV]
27  };
28 
29 }
30 
31 #endif //BACKTRACKERMATCHINGDATA_FLASHMATCH