Fork me on GitHub

Ignore:
Timestamp:
Oct 25, 2014, 11:32:13 PM (10 years ago)
Author:
Christophe Delaere <christophe.delaere@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
ad015db
Parents:
2ca23b5
Message:

First incomplete version with summary plots

Most of the functionalities are there, but it is not yet properly
integrated in the GUI.
Known issues:

  • size of the event markers
  • all markers appear the same (missing index?)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • display/DelphesBranchElement.h

    r2ca23b5 r3f51314  
    4343    virtual void SetTrackingVolume(Float_t r, Float_t l, Float_t Bz=0.) { tkRadius_ = r; tkHalfLength_ = l; tk_Bz_ = Bz; }
    4444    virtual void ReadBranch() = 0;
     45    virtual std::vector<TLorentzVector> GetVectors() = 0;
    4546
    4647  protected:
     
    7980    virtual void ReadBranch() {}
    8081
     82    // return the vector for all elements
     83    virtual std::vector<TLorentzVector> GetVectors() { std::vector<TLorentzVector> v; return v; }
     84
    8185  private:
    8286    EveContainer* data_;
     
    8993template<> void DelphesBranchElement<DelphesCaloData>::Reset();
    9094template<> void DelphesBranchElement<DelphesCaloData>::ReadBranch();
     95template<> std::vector<TLorentzVector> DelphesBranchElement<DelphesCaloData>::GetVectors();
    9196
    9297// special case for element lists
     
    9499template<> void DelphesBranchElement<TEveElementList>::Reset();
    95100template<> void DelphesBranchElement<TEveElementList>::ReadBranch();
     101template<> std::vector<TLorentzVector> DelphesBranchElement<TEveElementList>::GetVectors();
    96102
    97103// special case for track lists
     
    100106template<> void DelphesBranchElement<TEveTrackList>::Reset();
    101107template<> void DelphesBranchElement<TEveTrackList>::ReadBranch();
     108template<> std::vector<TLorentzVector> DelphesBranchElement<TEveTrackList>::GetVectors();
    102109
    103110#endif // CINT, CLING
Note: See TracChangeset for help on using the changeset viewer.