Difference: VirtualPoint1 (1 vs. 3)

Revision 315 Oct 2008 - FZU.MartinZeman

Line: 1 to 1
 
META TOPICPARENT name="AtlasSoftware"

Virtual Point 1

Line: 74 to 74
 

0.1 Colour scheme modification

Changed:
<
<
The change the colouring of pixel modules, modify the contents of /graphics/VP1/VP1Systems/VP1GeometrySystems/src/VisAttributes.cxx file as follows:
>
>
To change the colouring of pixel modules, modify the contents of /graphics/VP1/VP1Systems/VP1GeometrySystems/src/VisAttributes.cxx file as follows:
 
{
   SoMaterial *m = new SoMaterial;

Revision 205 Oct 2008 - FZU.MartinZeman

Line: 1 to 1
 
META TOPICPARENT name="AtlasSoftware"

Virtual Point 1

Added:
>
>

Notation Throughout the TWiki

Text type Example Meaning
Brown verbatim text > source script.sh Type the command into the shell prompt
Purple verbatim text > TBrowser t Type the command into the Athena/Python/ROOT prompt
Standard verbatim text script.sh Code snippets and file names
Green verbatim text Output="Hello" Run/job/script output
Blue verbatim text Package-01-02-03 Package names
Italics Terminus Technicus Any term
Bold important Anything important within the text
Red bold text VERY IMPORTANT Anything deadly important
< Text within tags > <Example> Substitute for your concrete instance


 Atlas VP1 is a 3D (Qt) event display for point 1: http://cern.ch/atlas-vp1
Changed:
<
<
You need to run the Virtual Point 1 on a ESD file like this:
>
>
In order to run Virtual Point 1, you must have your Athena sourced (https://twiki.cern.ch/twiki/bin/view/Atlas/WorkBookSetAccount) and then just run
> vp1

VP1 can also be run directly on an ESD file like this, which loads all hits and tracks directly into geometry:

 
> vp1 <YOUR ESD.pool.root FILE>


Deleted:
<
<

 

1 Setup

Changed:
<
<
In order to run the program remotely, you need to use SSH connection with enabled X11 forwarding and have your X server running. The other option is to deploy your local Athena distro.

Installation instructions: https://atlas-vp1.web.cern.ch/atlas-vp1/prerequisites.php

>
>
Official Installation instructions: https://atlas-vp1.web.cern.ch/atlas-vp1/prerequisites.php
 
Changed:
<
<
Windows users look here: http://www-hep2.fzu.cz/twiki/bin/view/ATLAS/WindowsRelated
>
>
You can run VP1 in two ways:
  1. Remotely: In order to run the program remotely, you need to use SSH connection with enabled X11 forwarding and have your X server running. Windows users use this procedure to run VP1: http://www-hep2.fzu.cz/twiki/bin/view/ATLAS/WindowsRelated
  2. Locally: The other option is to deploy your local Athena distribution and run from it. It is well suggested, since 3D visualisation is very slow while running remotely.
 
Changed:
<
<
Since VP1 is under constant development, you will want to keep your version up to date. The patch script can be found here: https://atlas-vp1.web.cern.ch/atlas-vp1/vp1patches/vp1-install-patch. You can run it from any directory on your AFS assuming you also have put there the patch file from the bottom of this page: https://atlas-vp1.web.cern.ch/atlas-vp1/vp1patches.php
>
>
Since VP1 is under constant development, you will want to keep your version up to date. The patch script can be found here: https://atlas-vp1.web.cern.ch/atlas-vp1/vp1patches/vp1-install-patch. You can run it from any directory on your AFS assuming you have provided the patch file from the bottom of this page: https://atlas-vp1.web.cern.ch/atlas-vp1/vp1patches.php
 
Changed:
<
<
Run the vp1 on new geometry:
>
>

0.1 Running VP1 on new geometry

1) Execute:
 
> vp1 -detdescr=ATLAS-GEO-00-01-00 -nomuon -nocalo
Changed:
<
<
Run tracking studies
>
>
2) Run tracking studies
 
Changed:
<
<
Enter the Geo tab and turn on Pixel in Sub systems
>
>
3) Enter the Geo tab and turn on Pixel in Sub systems
 
Changed:
<
<
Look into the Display Options and some red circles in the Hide Sectors to see inside the detector
>
>
4) Look into the Display Options and turn off some red circles in the Hide Sectors to see inside the detector
 
Changed:
<
<
In Actions on visible volumes write to the Vols. with mat box: Air and click Expand a few times.
>
>
5) Write Air to the Vols. with mat, under Actions on visible volumes
 
Changed:
<
<
Watch in awe.
>
>
6) Click Expand a few times and watch in awe.
 

1 Modification

Added:
>
>

0.1 Download and setup of necessary packages

 To be able to modify the VP1, you need download all vp1 up to date packages. The instructions are here: https://atlas-vp1.web.cern.ch/atlas-vp1/usingpatchscript.php. But to keep it simple:

Changed:
<
<
Get this file: https://atlas-vp1.web.cern.ch/atlas-vp1/vp1patches/vp1patch_cvshead_checkoutandbuildall.x and run it:
>
>
Get this file and run it: https://atlas-vp1.web.cern.ch/atlas-vp1/vp1patches/vp1patch_cvshead_checkoutandbuildall.x
 
>
  wget http://atlas-vp1.web.cern.ch/atlas-vp1/vp1patches/vp1patch_cvshead_checkoutandbuildall.x
Line: 50 to 73
 >
Added:
>
>

0.1 Colour scheme modification

 The change the colouring of pixel modules, modify the contents of /graphics/VP1/VP1Systems/VP1GeometrySystems/src/VisAttributes.cxx file as follows:
{
Line: 62 to 86
 }
Changed:
<
<
Run the vp1:
>
>
Run VP1 on new geometry to see the change:
 
> vp1 -detdescr=ATLAS-GEO-00-01-00 -nomuon -nocalo

Revision 113 Aug 2008 - FZU.MartinZeman

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="AtlasSoftware"

Virtual Point 1

Atlas VP1 is a 3D (Qt) event display for point 1: http://cern.ch/atlas-vp1

You need to run the Virtual Point 1 on a ESD file like this:

> vp1 <YOUR ESD.pool.root FILE>



1 Setup

In order to run the program remotely, you need to use SSH connection with enabled X11 forwarding and have your X server running. The other option is to deploy your local Athena distro.

Installation instructions: https://atlas-vp1.web.cern.ch/atlas-vp1/prerequisites.php

Windows users look here: http://www-hep2.fzu.cz/twiki/bin/view/ATLAS/WindowsRelated

Since VP1 is under constant development, you will want to keep your version up to date. The patch script can be found here: https://atlas-vp1.web.cern.ch/atlas-vp1/vp1patches/vp1-install-patch. You can run it from any directory on your AFS assuming you also have put there the patch file from the bottom of this page: https://atlas-vp1.web.cern.ch/atlas-vp1/vp1patches.php

Run the vp1 on new geometry:

> vp1 -detdescr=ATLAS-GEO-00-01-00 -nomuon -nocalo

Run tracking studies

Enter the Geo tab and turn on Pixel in Sub systems

Look into the Display Options and some red circles in the Hide Sectors to see inside the detector

In Actions on visible volumes write to the Vols. with mat box: Air and click Expand a few times.

Watch in awe.



2 Modification

To be able to modify the VP1, you need download all vp1 up to date packages. The instructions are here: https://atlas-vp1.web.cern.ch/atlas-vp1/usingpatchscript.php. But to keep it simple:

Get this file: https://atlas-vp1.web.cern.ch/atlas-vp1/vp1patches/vp1patch_cvshead_checkoutandbuildall.x and run it:

>
  wget http://atlas-vp1.web.cern.ch/atlas-vp1/vp1patches/vp1patch_cvshead_checkoutandbuildall.x
  chmod +x vp1patch_cvshead_checkoutandbuildall.x
  ./vp1patch_cvshead_checkoutandbuildall.x
>

The change the colouring of pixel modules, modify the contents of /graphics/VP1/VP1Systems/VP1GeometrySystems/src/VisAttributes.cxx file as follows:

{
   SoMaterial *m = new SoMaterial;
   m->diffuseColor.setValue (1, 0, 0);
   m->specularColor.setValue (1, 0, 0);
   m->emissiveColor.setValue (1, 0, 0);
   m->shininess.setValue(.60);
   add("pix::Hybrid",m);
}

Run the vp1:

> vp1 -detdescr=ATLAS-GEO-00-01-00 -nomuon -nocalo



-- MartinZeman - 13 Aug 2008

 
This site is powered by the TWiki collaboration platformCopyright &Š by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback