Fork me on GitHub

Changeset f6b6ee7 in git for display/Delphes3DGeometry.cc


Ignore:
Timestamp:
Dec 8, 2014, 6:12:04 PM (10 years ago)
Author:
Pavel Demin <pavel.demin@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
49234af, e7e90df
Parents:
fcdb8bc (diff), c3c9ac5 (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.
Message:

Merge pull request #3 from delaere/eventdisplay

Eventdisplay

File:
1 edited

Legend:

Unmodified
Added
Removed
  • display/Delphes3DGeometry.cc

    rfcdb8bc rf6b6ee7  
    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
Note: See TracChangeset for help on using the changeset viewer.