13#include <TClonesArray.h>
21 std::map<std::string, TVectorD*>& eventMapTVectorD,
22 std::map<std::string, TClonesArray*>& trackMapTVectorD
25 std::map<std::string, TClonesArray*>& trackMapTVectorD
27 void initializeRoot(
const std::string& prefix, TTree** runTree, TTree** eventTree,
28 std::map<std::string, TVectorD*>& runMapTVectorD,
29 std::map<std::string, TVectorD*>& eventMapTVectorD,
30 std::map<std::string, TClonesArray*>& trackMapTVectorD,
31 std::map<std::string, double>& constMapD, std::map<std::string, std::vector<double> >& constMapV,
32 std::map<std::string, double>& eventMapD, std::map<std::string, std::vector<double> >& eventMapV,
33 std::map<std::string, double>& trackMapD, std::map<std::string, std::vector<double> >& trackMapV
35 void initializeRoot(
const std::string& prefix, TTree** runTree, TTree** eventTree,
36 std::map<std::string, TVectorD*>& runMapTVectorD,
37 std::map<std::string, TClonesArray*>& trackMapTVectorD,
38 std::map<std::string, double>& constMapD, std::map<std::string, std::vector<double> >& constMapV,
39 std::map<std::string, double>& trackMapD, std::map<std::string, std::vector<double> >& trackMapV
42 void saveTrackValues(
const std::string& prefix,
43 const std::map<std::string, TClonesArray*>& trackMapTVectorD,
44 std::map<std::string, double>& trackMapD, std::map<std::string, std::vector<double> >& trackMapV
46 void saveEventValues(
const std::string& prefix,
47 std::map<std::string, TVectorD*>& eventMapTVectorD,
48 std::map<std::string, double>& eventMapD, std::map<std::string, std::vector<double> >& eventMapV
50 void writeRoot(TFile* file);
53 void initializeBranches(
const std::string& prefix, TFile* file, TTree** runTree, TTree** eventTree,
54 std::map<std::string, TVectorD*>& runMapTVectorD,
55 std::map<std::string, TVectorD*>& eventMapTVectorD,
56 std::map<std::string, TClonesArray*>& trackMapTVectorD
58 void initializeBranches(
const std::string& prefix, TFile* file, TTree** runTree, TTree** eventTree,
59 std::map<std::string, TVectorD*>& runMapTVectorD,
60 std::map<std::string, TClonesArray*>& trackMapTVectorD
62 void getRunValues(std::string prefix,
63 std::map<std::string, TVectorD*>& runMapTVectorD,
64 std::map<std::string, double>& constMapD, std::map<std::string, std::vector<double> >& constMapV
66 void getEventValues(
const std::string& prefix,
67 std::map<std::string, TVectorD*>& eventMapTVectorD,
68 std::map<std::string, double>& eventMapD, std::map<std::string, std::vector<double> >& eventMapV
70 void getTrackValues(
const std::string& prefix,
int iTrack,
71 std::map<std::string, TClonesArray*>& trackMapTVectorD,
72 std::map<std::string, double>& trackMapD, std::map<std::string, std::vector<double> >& trackMapV
77 std::map<std::string, TVectorD*>& runMapTVectorD,
78 std::map<std::string, TVectorD*>& eventMapTVectorD,
79 std::map<std::string, TClonesArray*>& trackMapTVectorD
82 std::map<std::string, TVectorD*>& runMapTVectorD,
83 std::map<std::string, TClonesArray*>& trackMapTVectorD
87 void convertSignalValuesToMaps(std::vector<std::tuple<std::string, double, int, double, double, int> >
const& inValues,
88 std::map<std::string, double>& trackMapD, std::map<std::string, std::vector<double> >& trackMapV