PandaRoot
PndTrackingEventInfo.h
Go to the documentation of this file.
1 #ifndef PNDTRACKINGEVENTINFO_H_
2 #define PNDTRACKINGEVENTINFO_H_
3 
4 #include "FairMultiLinkedData.h"
5 #include "FairRootManager.h"
6 #include <vector>
7 #include "FairLink.h"
8 #include "PndTrack.h"
9 #include "PndTrackCand.h"
10 #include <TClonesArray.h>
11 #include <map>
12 
13 class PndTrackingEventInfo : public TObject {
14 
15  public:
16  PndTrackingEventInfo(PndTrack *, FairLink);
17 
19 
20  void CalcEventPurity(PndTrack *, FairLink);
21 
22  double GetEventPurity() { return fEventPurity; }
23 
24  std::map<int, int> GetNumTimesHitUsed(PndTrack *);
25 
26  protected:
27  double fEventPurity;
28  std::map<int, int> fMapHitIdTimesUsed;
29 
31 };
32 
33 #endif
ClassDef(PndTrackingEventInfo, 2)
void CalcEventPurity(PndTrack *, FairLink)
std::map< int, int > fMapHitIdTimesUsed
std::map< int, int > GetNumTimesHitUsed(PndTrack *)
PndTrackingEventInfo(PndTrack *, FairLink)