Changeset 3f51314 in git for display/DelphesBranchElement.h
- Timestamp:
- Oct 25, 2014, 11:32:13 PM (10 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- ad015db
- Parents:
- 2ca23b5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
display/DelphesBranchElement.h
r2ca23b5 r3f51314 43 43 virtual void SetTrackingVolume(Float_t r, Float_t l, Float_t Bz=0.) { tkRadius_ = r; tkHalfLength_ = l; tk_Bz_ = Bz; } 44 44 virtual void ReadBranch() = 0; 45 virtual std::vector<TLorentzVector> GetVectors() = 0; 45 46 46 47 protected: … … 79 80 virtual void ReadBranch() {} 80 81 82 // return the vector for all elements 83 virtual std::vector<TLorentzVector> GetVectors() { std::vector<TLorentzVector> v; return v; } 84 81 85 private: 82 86 EveContainer* data_; … … 89 93 template<> void DelphesBranchElement<DelphesCaloData>::Reset(); 90 94 template<> void DelphesBranchElement<DelphesCaloData>::ReadBranch(); 95 template<> std::vector<TLorentzVector> DelphesBranchElement<DelphesCaloData>::GetVectors(); 91 96 92 97 // special case for element lists … … 94 99 template<> void DelphesBranchElement<TEveElementList>::Reset(); 95 100 template<> void DelphesBranchElement<TEveElementList>::ReadBranch(); 101 template<> std::vector<TLorentzVector> DelphesBranchElement<TEveElementList>::GetVectors(); 96 102 97 103 // special case for track lists … … 100 106 template<> void DelphesBranchElement<TEveTrackList>::Reset(); 101 107 template<> void DelphesBranchElement<TEveTrackList>::ReadBranch(); 108 template<> std::vector<TLorentzVector> DelphesBranchElement<TEveTrackList>::GetVectors(); 102 109 103 110 #endif // CINT, CLING
Note:
See TracChangeset
for help on using the changeset viewer.