Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable energy coloring in visualization #102

Merged
merged 1 commit into from
Nov 6, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 9 additions & 10 deletions Visualisation/CLIC_o3_v06_CED/CLIC_o3_v06_CED.xml
Original file line number Diff line number Diff line change
Expand Up @@ -207,16 +207,15 @@


<display>

<vis name="VXDVis" alpha="1.0" r="0.2" g="0.2" b="0.2" showDaughters="true" visible="true"/>
<vis name="ITVis" alpha="1.0" r="0.54" g="0.43" b="0.04" showDaughters="true" visible="true"/>
<vis name="OTVis" alpha="1.0" r="0.8" g="0.8" b="0.4" showDaughters="true" visible="true"/>
<vis name="ECALVis" alpha="1.0" r="0.2" g="0.6" b="0" showDaughters="true" visible="true"/>
<vis name="HCALVis" alpha="1.0" r="0.078" g="0.01176" b="0.588" showDaughters="true" visible="true"/>
<vis name="SOLVis" alpha="1.0" r="0.4" g="0.4" b="0.4" showDaughters="true" visible="true"/>
<vis name="YOKEVis" alpha="1.0" r="0.6" g="0.0" b="0.0" showDaughters="true" visible="true"/>
<vis name="LCALVis" alpha="1.0" r="0.35" g="0.0" b="0.47" showDaughters="true" visible="true"/>
<vis name="BCALVis" alpha="1.0" r="0.0" g="0.4" b="0.4" showDaughters="true" visible="true"/>
<vis name="VXDVis" alpha="1.0" r="0.20" g="0.20" b="0.2" showDaughters="true" visible="true"/>
<vis name="OTVis" alpha="1.0" r="0.90" g="0.80" b="0.0" showDaughters="true" visible="true"/>
<vis name="ECALVis" alpha="1.0" r="0.00" g="0.50" b="0.05" showDaughters="true" visible="true"/>
<vis name="SOLVis" alpha="1.0" r="0.75" g="0.73" b="0.70" showDaughters="true" visible="true"/>
<vis name="SOLVis2" alpha="1.0" r="0.52" g="0.50" b="0.47" showDaughters="true" visible="true"/>
<vis name="HCALVis" alpha="1.0" r="0.85" g="0.85" b="0.85" showDaughters="true" visible="true"/>
<vis name="YOKEVis" alpha="1.0" r="1.00" g="0.00" b="0.0" showDaughters="true" visible="true"/>
<vis name="LCALVis" alpha="1.0" r="1.00" g="0.68" b="0.31" showDaughters="true" visible="true"/>
<vis name="BCALVis" alpha="1.0" r="1.00" g="0.49" b="0.17" showDaughters="true" visible="true"/>
</display>

<include ref="Materials_v01.xml"/>
Expand Down
2 changes: 1 addition & 1 deletion Visualisation/CLIC_o3_v06_CED/InnerTracker_o2_v01_01.xml
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@
</detectors>

<detectors>
<detector id="DetID_IT_Endcap" name="InnerTrackerEndcap" type="TrackerEndcap_o1_v02" readout="InnerTrackerEndcapCollection" reflect="true">
<detector id="DetID_IT_Endcap" name="InnerTrackerEndcap" type="TrackerEndcap_o1_v02" readout="InnerTrackerEndcapCollection" reflect="true" vis="OTVis">
<envelope vis="OTVis">
<shape type="Assembly"/>
</envelope>
Expand Down
16 changes: 16 additions & 0 deletions Visualisation/CLIC_o3_v06_CED/ced2go-template-DD4.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,22 @@
<parameter name="DrawDetectorID" type="int">0 </parameter>
<!--draw a helix for PFO objects (usefull for Si tracker): 0: disabled, 1: enabled-->
<parameter name="DrawHelixForPFOs" type="int">1 </parameter>
<!-- Color recunstructed particle by energy -->
<parameter name="ColorByEnergy" type="bool">true</parameter>
<!-- Minimal value for energy which will be represented as blue -->
<parameter name="ColorByEnergyMin" type="double">0.0</parameter>
<!-- Maximal value for energy which will be represented as red -->
<parameter name="ColorByEnergyMax" type="double">35.0</parameter>
<!-- Hue value that will be used to determine the pallete -->
<parameter name="ColorByEnergySaturation" type="double">1.0</parameter>
<!-- Brigtness value that will be used to determine the pallete -->
<parameter name="ColorByEnergyBrightness" type="double">1.0</parameter>
<!-- Automatically adjust event by event the blue to min energy and red to max energy of event -->
<parameter name="ColorByEnergyAutoColor" type="bool">true</parameter>
<!-- Scale line thickness of drawn helixes, usefull for image dumps -->
<parameter name="ScaleLineThickness" type="double">12</parameter>
<!-- Scale marker size of cluster markers, usefull for image dumps -->
<parameter name="ScaleMarkerSize" type="double">1</parameter>
<!--draw a helix for Track objects: -1: none, 0: default, 1: atIP, 2: atFirstHit, 3: atLastHit, 4: atCalorimeter-->
<parameter name="DrawHelixForTrack" type="int">0 </parameter>
<!--Max R (mm) Extent for drawing Helix if UseTPCForLimitsOfHelix false-->
Expand Down