Changeset bdf9e2e in git
- Timestamp:
- Jun 4, 2017, 3:03:55 PM (8 years ago)
- Parents:
- 4339a7d (diff), e5ea42e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Joschka Lingemann <jlingema@…> (06/04/17 15:03:55)
- git-committer:
- GitHub <noreply@…> (06/04/17 15:03:55)
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
external/ExRootAnalysis/ExRootTreeBranch.cc
r4339a7d rbdf9e2e 82 82 //------------------------------------------------------------------------------ 83 83 84 void ExRootTreeBranch::Clear( )84 void ExRootTreeBranch::Clear(Option_t *option) 85 85 { 86 86 fSize = 0; 87 if(fData) fData->Clear( );87 if(fData) fData->Clear(option); 88 88 } 89 89 -
external/ExRootAnalysis/ExRootTreeBranch.h
r4339a7d rbdf9e2e 24 24 25 25 TObject *NewEntry(); 26 v oid Clear();26 virtual void Clear(Option_t *option=""); 27 27 28 28 private: -
external/ExRootAnalysis/ExRootTreeWriter.cc
r4339a7d rbdf9e2e 59 59 //------------------------------------------------------------------------------ 60 60 61 void ExRootTreeWriter::Write() 61 Int_t ExRootTreeWriter::Write(const char *name, Int_t option, Int_t bufsize) const 62 62 { 63 fFile = fTree ? fTree->GetCurrentFile() : 0; 64 if(fFile) fFile->Write(); 63 if (fTree != 0) { 64 return fTree->GetCurrentFile()->Write(name, option, bufsize); 65 } 66 return 0; 65 67 } 66 68 67 69 //------------------------------------------------------------------------------ 68 70 69 void ExRootTreeWriter::Clear() 71 Int_t ExRootTreeWriter::Write(const char *name, Int_t option, Int_t bufsize) 72 { 73 // forward call to const version of this function 74 return static_cast<const ExRootTreeWriter*>(this)->Write(name, option, bufsize); 75 } 76 77 //------------------------------------------------------------------------------ 78 79 void ExRootTreeWriter::Clear(Option_t *option) 70 80 { 71 81 set<ExRootTreeBranch*>::iterator itBranches; 72 82 for(itBranches = fBranches.begin(); itBranches != fBranches.end(); ++itBranches) 73 83 { 74 (*itBranches)->Clear( );84 (*itBranches)->Clear(option); 75 85 } 76 86 } -
external/ExRootAnalysis/ExRootTreeWriter.h
r4339a7d rbdf9e2e 31 31 ExRootTreeBranch *NewBranch(const char *name, TClass *cl); 32 32 33 v oid Clear();33 virtual void Clear(Option_t *option = ""); 34 34 void Fill(); 35 void Write(); 35 virtual Int_t Write(const char *name=0, Int_t option=0, Int_t bufsize=0) const; 36 virtual Int_t Write(const char *name=0, Int_t option=0, Int_t bufsize=0); 36 37 37 38 private: -
modules/Delphes.cc
r4339a7d rbdf9e2e 89 89 //------------------------------------------------------------------------------ 90 90 91 void Delphes::Clear( )91 void Delphes::Clear(Option_t* option) 92 92 { 93 if(fFactory) fFactory->Clear( );93 if(fFactory) fFactory->Clear(option); 94 94 } 95 95 -
modules/Delphes.h
r4339a7d rbdf9e2e 49 49 DelphesFactory *GetFactory() const { return fFactory; } 50 50 51 v oid Clear();51 virtual void Clear(Option_t* option = ""); 52 52 53 53 virtual void Init();
Note:
See TracChangeset
for help on using the changeset viewer.