Changeset 95b4e9f in git for modules/VertexFinder.h
- Timestamp:
- Aug 31, 2016, 4:25:59 PM (8 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 4154bbd
- Parents:
- b195ba1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/VertexFinder.h
rb195ba1 r95b4e9f 12 12 13 13 #include "classes/DelphesModule.h" 14 #include "classes/DelphesClasses.h" 15 #include <utility> 16 #include <algorithm> 17 #include <stdexcept> 18 #include <iostream> 14 15 #include <string> 19 16 #include <vector> 20 #include <unordered_map> 21 22 using namespace std; 17 #include <map> 23 18 24 19 class TObjArray; 25 class Candidate; 26 class TVector3; 20 class TIterator; 27 21 28 22 class VertexFinder: public DelphesModule … … 36 30 void Process(); 37 31 void Finish(); 38 39 static Bool_t secondDescending (pair<UInt_t, Double_t>, pair<UInt_t, Double_t>);40 static Bool_t secondAscending (pair<UInt_t, Double_t>, pair<UInt_t, Double_t>);41 32 42 33 private: … … 61 52 TObjArray *fVertexOutputArray; 62 53 63 map<UInt_t, map<string, Double_t> > trackIDToDouble;64 map<UInt_t, map<string, Int_t> > trackIDToInt;65 map<UInt_t, map<string, Bool_t> > trackIDToBool;54 std::map<UInt_t, std::map<std::string, Double_t> > trackIDToDouble; 55 std::map<UInt_t, std::map<std::string, Int_t> > trackIDToInt; 56 std::map<UInt_t, std::map<std::string, Bool_t> > trackIDToBool; 66 57 67 map<UInt_t, map<string, Double_t> > clusterIDToDouble;68 map<UInt_t, map<string, Int_t> > clusterIDToInt;69 map<UInt_t, map<string, Bool_t> > clusterIDToBool;70 vector<pair<UInt_t, Double_t> > trackPT;71 vector<pair<UInt_t, Double_t> > clusterSumPT2;58 std::map<UInt_t, std::map<std::string, Double_t> > clusterIDToDouble; 59 std::map<UInt_t, std::map<std::string, Int_t> > clusterIDToInt; 60 std::map<UInt_t, std::map<std::string, Bool_t> > clusterIDToBool; 61 std::vector<std::pair<UInt_t, Double_t> > trackPT; 62 std::vector<std::pair<UInt_t, Double_t> > clusterSumPT2; 72 63 73 64 ClassDef(VertexFinder, 1)
Note:
See TracChangeset
for help on using the changeset viewer.