PandaRoot
PndTrackingCloneInfo.h
Go to the documentation of this file.
1 #ifndef PNDTRACKINGCLONEINFO_H
2 #define PNDTRACKINGCLONEINFO_H
3 
4 #include <vector>
5 #include <map>
6 #include "FairLink.h"
7 #include <TClonesArray.h>
8 
9 class PndTrackingCloneInfo : public TObject {
10 
11  public:
12  // Constructor, takes the track, MC track and (for the moment) SttHit arrays
14  PndTrackingCloneInfo(std::map<FairLink, Int_t>, TClonesArray *);
15  // std::map<FairLink, FairLink> timeBasedTrackIdMCId is the map between the FairLink of the track (Key) and the FairLink of the MCTrack
16 
18 
19  // Function which finds the number of clones
20  void CalcNumClones(std::map<FairLink, Int_t>, TClonesArray *);
21 
22  int GetNumClones() { return fNumClonesTimeBased; };
23 
24  protected:
25  Int_t fNumClonesTimeBased; // Number of clones which were found
26 
28 };
29 
30 #endif
ClassDef(PndTrackingCloneInfo, 2)
void CalcNumClones(std::map< FairLink, Int_t >, TClonesArray *)