PandaRoot
PndTrackingCloneInfo.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 #ifndef PNDTRACKINGCLONEINFO_H
14 #define PNDTRACKINGCLONEINFO_H
15 
16 #include <vector>
17 #include <map>
18 #include "FairLink.h"
19 #include <TClonesArray.h>
20 
21 class PndTrackingCloneInfo : public TObject {
22 
23  public:
24  // Constructor, takes the track, MC track and (for the moment) SttHit arrays
26  PndTrackingCloneInfo(std::map<FairLink, Int_t>, TClonesArray *);
27  // std::map<FairLink, FairLink> timeBasedTrackIdMCId is the map between the FairLink of the track (Key) and the FairLink of the MCTrack
28 
30 
31  // Function which finds the number of clones
32  void CalcNumClones(std::map<FairLink, Int_t>, TClonesArray *);
33 
34  int GetNumClones() { return fNumClonesTimeBased; };
35 
36  protected:
37  Int_t fNumClonesTimeBased; // Number of clones which were found
38 
40 };
41 
42 #endif
ClassDef(PndTrackingCloneInfo, 2)
void CalcNumClones(std::map< FairLink, Int_t >, TClonesArray *)