Fork me on GitHub

Changeset 110821a in git for display


Ignore:
Timestamp:
Nov 21, 2014, 10:39:38 PM (10 years ago)
Author:
Christophe Delaere <christophe.delaere@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
f185c24
Parents:
cf4a208
Message:

Display the full geometry next to the eventdisplay

Next step would be to display it directly in the eve window.

Location:
display
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • display/Delphes3DGeometry.cc

    rcf4a208 r110821a  
    4242using namespace std;
    4343
    44 Delphes3DGeometry::Delphes3DGeometry(TGeoManager *geom) {
     44Delphes3DGeometry::Delphes3DGeometry(TGeoManager *geom, bool transp) {
    4545
    4646   //--- the geometry manager
     
    5151   TGeoMaterial *matVacuum = new TGeoMaterial("Vacuum", 0,0,0);
    5252   TGeoMaterial *matAl = new TGeoMaterial("Al", 26.98,13,2.7); // placeholder
    53    matVacuum->SetTransparency(85);
    54    matAl->SetTransparency(85);
     53   if(transp) {
     54     matVacuum->SetTransparency(85);
     55     matAl->SetTransparency(85);
     56   }
    5557
    5658   //--- define some media
  • display/Delphes3DGeometry.h

    rcf4a208 r110821a  
    3535class Delphes3DGeometry {
    3636   public:
    37      Delphes3DGeometry(TGeoManager *geom = NULL);
     37     Delphes3DGeometry(TGeoManager *geom = NULL, bool transp = false);
    3838     ~Delphes3DGeometry() {}
    3939
  • display/DelphesEventDisplay.cc

    rcf4a208 r110821a  
    415415   browser->SetTabTitle("Event Control", 0);
    416416
     417   // Geometry tab
     418   // TODO add a tab with the full geometry
     419   
    417420   // the summary tab
    418421   htmlSummary_ = new DelphesHtmlSummary("Delphes Event Display Summary Table");
Note: See TracChangeset for help on using the changeset viewer.