Fork me on GitHub

Ignore:
Timestamp:
Oct 22, 2014, 10:30:47 PM (10 years ago)
Author:
Christophe Delaere <christophe.delaere@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
3f51314
Parents:
8b04b31
Message:

Started to work on the summary plots

Investigated the way to add a tab with summary plots. A new class is in
place (dummy for now) to manage these plots.
Other small changes: use the status bar, clean the maxPt for MET (easier
to change later on), filter GenParticles on status==1.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • display/DelphesBranchElement.h

    r8b04b31 r2ca23b5  
    3434{
    3535  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) {}
    3737    virtual ~DelphesBranchBase() {}
    3838    const char* GetName() const { return (const char*)name_; }
     
    4646  protected:
    4747    TString name_;
     48    Float_t maxPt_;
    4849    TClonesArray* branch_;
    4950    const enum EColor color_;
     
    5657  public:
    5758    // 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) {
    5960      throw std::exception();
    6061    }
     
    8586
    8687// special case for calo towers
    87 template<> DelphesBranchElement<DelphesCaloData>::DelphesBranchElement(const char* name, TClonesArray* branch, const enum EColor color);
     88template<> DelphesBranchElement<DelphesCaloData>::DelphesBranchElement(const char* name, TClonesArray* branch, const enum EColor color, Float_t maxPt);
    8889template<> void DelphesBranchElement<DelphesCaloData>::Reset();
    8990template<> void DelphesBranchElement<DelphesCaloData>::ReadBranch();
    9091
    9192// special case for element lists
    92 template<> DelphesBranchElement<TEveElementList>::DelphesBranchElement(const char* name, TClonesArray* branch, const enum EColor color);
     93template<> DelphesBranchElement<TEveElementList>::DelphesBranchElement(const char* name, TClonesArray* branch, const enum EColor color, Float_t maxPt);
    9394template<> void DelphesBranchElement<TEveElementList>::Reset();
    9495template<> void DelphesBranchElement<TEveElementList>::ReadBranch();
    9596
    9697// special case for track lists
    97 template<> DelphesBranchElement<TEveTrackList>::DelphesBranchElement(const char* name, TClonesArray* branch, const enum EColor color);
     98template<> DelphesBranchElement<TEveTrackList>::DelphesBranchElement(const char* name, TClonesArray* branch, const enum EColor color, Float_t maxPt);
    9899template<> void DelphesBranchElement<TEveTrackList>::SetTrackingVolume(Float_t r, Float_t l, Float_t Bz);
    99100template<> void DelphesBranchElement<TEveTrackList>::Reset();
Note: See TracChangeset for help on using the changeset viewer.