Fork me on GitHub

Ignore:
Timestamp:
Oct 16, 2014, 10:52:47 AM (10 years ago)
Author:
Christophe Delaere <christophe.delaere@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
fafc433
Parents:
84dd1c8
Message:

Display of automatically selected elements working

The original features are back, but with a much more flexible code that
selects automatically the list of branches from the tcl file. The main
issue left is the GUI (handler not found), and then some more
cleaning. One idea is to further exploit templating to avoid ifs when
leading events.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • display/DelphesBranchElement.cc

    r84dd1c8 ra3b2495  
    4343template<> void DelphesBranchElement<TEveElementList>::Reset() { data_->DestroyElements(); }
    4444
     45//TODO: does the type really make sense?
    4546// special case for track lists
    4647template<> DelphesBranchElement<TEveTrackList>::DelphesBranchElement(const char* name, const char*type, const enum EColor color):DelphesBranchBase(name, type, color) {
     
    5859        data_->SetMarkerSize(0.5);
    5960      } else {
    60         throw std::exception();
     61        data_ = new TEveTrackList(name);
     62        data_->SetMainColor(color_);
     63        data_->SetMarkerColor(color_);
     64        data_->SetMarkerStyle(kCircle);
     65        data_->SetMarkerSize(0.5);
     66        //throw std::exception();
    6167      }
    6268    }
Note: See TracChangeset for help on using the changeset viewer.