Changeset 2ca23b5 in git for display/DelphesBranchElement.h
- Timestamp:
- Oct 22, 2014, 10:30:47 PM (10 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 3f51314
- Parents:
- 8b04b31
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
display/DelphesBranchElement.h
r8b04b31 r2ca23b5 34 34 { 35 35 public: 36 DelphesBranchBase(const char* name="", TClonesArray* branch=NULL, const enum EColor color=kBlack ):name_(name),branch_(branch),color_(color) {}36 DelphesBranchBase(const char* name="", TClonesArray* branch=NULL, const enum EColor color=kBlack, Float_t maxPt=50.):name_(name),branch_(branch),color_(color) {} 37 37 virtual ~DelphesBranchBase() {} 38 38 const char* GetName() const { return (const char*)name_; } … … 46 46 protected: 47 47 TString name_; 48 Float_t maxPt_; 48 49 TClonesArray* branch_; 49 50 const enum EColor color_; … … 56 57 public: 57 58 // constructor 58 DelphesBranchElement(const char* name="", TClonesArray* branch=NULL, const enum EColor color=kBlack ):DelphesBranchBase(name, branch, color) {59 DelphesBranchElement(const char* name="", TClonesArray* branch=NULL, const enum EColor color=kBlack, Float_t maxPt=50.):DelphesBranchBase(name, branch, color, maxPt) { 59 60 throw std::exception(); 60 61 } … … 85 86 86 87 // special case for calo towers 87 template<> DelphesBranchElement<DelphesCaloData>::DelphesBranchElement(const char* name, TClonesArray* branch, const enum EColor color );88 template<> DelphesBranchElement<DelphesCaloData>::DelphesBranchElement(const char* name, TClonesArray* branch, const enum EColor color, Float_t maxPt); 88 89 template<> void DelphesBranchElement<DelphesCaloData>::Reset(); 89 90 template<> void DelphesBranchElement<DelphesCaloData>::ReadBranch(); 90 91 91 92 // special case for element lists 92 template<> DelphesBranchElement<TEveElementList>::DelphesBranchElement(const char* name, TClonesArray* branch, const enum EColor color );93 template<> DelphesBranchElement<TEveElementList>::DelphesBranchElement(const char* name, TClonesArray* branch, const enum EColor color, Float_t maxPt); 93 94 template<> void DelphesBranchElement<TEveElementList>::Reset(); 94 95 template<> void DelphesBranchElement<TEveElementList>::ReadBranch(); 95 96 96 97 // special case for track lists 97 template<> DelphesBranchElement<TEveTrackList>::DelphesBranchElement(const char* name, TClonesArray* branch, const enum EColor color );98 template<> DelphesBranchElement<TEveTrackList>::DelphesBranchElement(const char* name, TClonesArray* branch, const enum EColor color, Float_t maxPt); 98 99 template<> void DelphesBranchElement<TEveTrackList>::SetTrackingVolume(Float_t r, Float_t l, Float_t Bz); 99 100 template<> void DelphesBranchElement<TEveTrackList>::Reset();
Note:
See TracChangeset
for help on using the changeset viewer.