Difference: PanoRamixWiki (1 vs. 21)

Revision 212007-06-04 - ThomasRuf

Line: 1 to 1
 
META TOPICPARENT name="Sandbox.WebHome"
Deleted:
<
<
 

Panoramix : F.A.Q. and First Manual

Welcome to the first Panoramix Wiki page. This page is to be used as a F.A.Q. where everybody can add any question or answer he has. The goal is to create some kind of documentation for this software.

Line: 10 to 8
 
Changed:
<
<

Useful links

>
>

Useful links

  http://lhcb-comp.web.cern.ch/lhcb%2Dcomp/Frameworks/Visualization/

As many scripts are written in Python, here is the link to Python main page : http://www.python.org/

Changed:
<
<

Contact persons at CERN

>
>

Contact persons at CERN

  Thomas Ruf : Mail
Deleted:
<
<
Florence Ranjard : Mail
 

General features

Line: 33 to 29
 It was on October 2001, by Guy Barrand : Mail

How to start ?

Changed:
<
<
It is strongly recommended to install the LHCb software locally when using Windows. There is a help page on this : http://lhcb-reconstruction.web.cern.ch/lhcb-reconstruction/Panoramix/local_installation.htm

When you will have finished following these instructions, you will have all the necessary packages installed in your local area. But, in order to avoid bugs, it is recommended to have in a separate directory the package you are working on, for instance Panoramix. For this, just follow the following instructions.

Go to your working directory and choose the Panoramix version you want to work with:

> cd $HOME/cmtuser
> PanoramixEnv <Pversion>
> getpack Vis/Panoramix  <Pversion>
> cd Vis/Panoramix/<Pversion>/cmt
>
>
It is strongly recommended to install the LHCb software locally, see http://lhcb-comp.web.cern.ch/lhcb-comp/Support/html/NEW_Install.htm .
 
Changed:
<
<
Before compiling, check that all packages are present:
> cmt show uses | grep Warn (on Linux) or | findstr Warn (on WIN32)
and check the version and path of used packages.

If a package has been moved or the version number has been modified:

> cd <package>/<version>/cmt
> cmt config
>
>
Speciall installation instructions when using Windows can be found here: http://lhcb-reconstruction.web.cern.ch/lhcb-reconstruction/Panoramix/local_installation.htm
 
Changed:
<
<
Then if no more Warnings
> source setup.(c)sh (on Linux) or setup.bat (on WIN32)
> make
>
>
Starting from version v15r4, a python script will help you to configure Panoramix for your use case. You only need to do:
SetupProject Panoramix v15r4
python $myPanoramix -h : will give you some help
python $myPanoramix -f input.dst -x none : most common use case 
for windows, replace $myPanoramix with %myPanoramix% 
 
Changed:
<
<
Normally, after those steps, you should have a correctly working Panoramix.

-- SposS - 16 Aug 2005 -- FlorenceRanjard - 25 Aug 2005

>
>
-- ThomasRuf - 4 June 2007
 

Technical problems for Panoramix v*

Changed:
<
<

Why is the Panoramix.opts file necessary ?

It loads a lot a things necessary to Panoramix, and therefore it is necessary. -- SposS - 16 Aug 2005

What are the most important instruction in an option file ?

How to retrieve something in TES ?

>
>

How to retrieve something in TES ?

  First thing to know is that the containers has only addresses to the particles. It's some kind of array of addresses.
Line: 88 to 55
  if your container is there... -- SposS - 16 Aug 2005
Changed:
<
<

How do we know what can be done or what information can we get from something in TES ?

>
>

How do we know what can be done or what information can we get from something in TES ?

  It is possible to get this information typing :
Line: 315 to 282
  Yes it is possible, and some examples are in the $PANORAMIXROOT/examples/Python : truf_velo3dview_setup.py
Deleted:
<
<

Technical problems for Panoramix v9r* (DC04 data)

How do we use Panoramix in Python mode ?

Set the Panoramix environnement to the version you use, do the setup.csh (linux) or setup (windows), and launch python. Then you launch Panoramix with the command :

>>> from truf_Panoramix import *
When it finishes to load, to have access to the Panoramix window, type :
>>> runable.run()
Then you should have the Panoramix window available.

This last instruction is only necessary for Panoramix v9r6 (and v11r4) and before. It will be done automaticaly for the next releases.

 -- SposS - 16 Aug 2005 and 26 Aug 2005

Is it possible to visualize Flavour Tagging information with Panoramix ?

Revision 202006-11-17 - unknown

Line: 1 to 1
 
META TOPICPARENT name="Sandbox.WebHome"
Added:
>
>
 

Panoramix : F.A.Q. and First Manual

Welcome to the first Panoramix Wiki page. This page is to be used as a F.A.Q. where everybody can add any question or answer he has. The goal is to create some kind of documentation for this software.

Line: 352 to 354
 

My general option file used in Panoramix v9r5 doesn't work anymore in Panoramix v11r1, why ?

Changed:
<
<
It's because there was some major modification in the GAUDI software architecture (arrival of the RTTC data), and some package changed their name, and Panoramix does not depend anymore on DaVinci. For few details about the modification in the architecture, see : P.Koppenburg transparencies
>
>
It's because there was some major modification in the GAUDI software architecture (arrival of the RTTC data), and some package changed their name, and Panoramix does not depend anymore on DaVinci. For few details about the modification in the architecture, see : P.Koppenburg transparencies
 -- SposS - 16 Aug 2005

How do we use Panoramix in Python mode ?

Revision 192005-11-03 - StephanePoss

Line: 1 to 1
 
META TOPICPARENT name="Sandbox.WebHome"

Panoramix : F.A.Q. and First Manual

Line: 17 to 17
 

Contact persons at CERN

Changed:
<
<
Thomas Ruf : Mail
>
>
Thomas Ruf : Mail
 
Changed:
<
<
Florence Ranjard : Mail
>
>
Florence Ranjard : Mail
 

Revision 182005-09-13 - StephanePoss

Line: 1 to 1
 
META TOPICPARENT name="Sandbox.WebHome"

Panoramix : F.A.Q. and First Manual

Revision 172005-08-30 - unknown

Line: 1 to 1
 
META TOPICPARENT name="Sandbox.WebHome"

Panoramix : F.A.Q. and First Manual

Line: 338 to 338
  -- SposS - 16 Aug 2005
Added:
>
>

How do we select the first event to be run from a file?

The following piece of code needs to be added in Panoramix.opts just before the event file name:

EventSelector.FirstEvent = 'number'
The number is the position of the event in the particular file and NOT the event number.

-- JamieTattersall - 30 Aug 2005

 

Technical problems for Panoramix v11r* (RTTC data)

My general option file used in Panoramix v9r5 doesn't work anymore in Panoramix v11r1, why ?

Line: 349 to 359
 It's same as in Panoramix v9r*. -- SposS - 16 Aug 2005
Changed:
<
<

How to get specific Run and Event numbers from a RAW file ?

>
>

How do I find the digi file that contains an event seen in a RAW file ?

This information is obtainable from the individual event number and the run number. The digi files come in the format 0.....'run'_0....'evt'_8.digi' with each of the number sections containing 8 digits. To find the run is simply the first three numbers of the run number. e.g. 84702 -> 847 For the evt it is a bit more complicated: Digi files contain either 500 or 1000 events (to my knowledge) and by applying this formula to the event number (('eventNo'-1)/containedNo)+1 the file evt can be found (rounding down to the integer). E.g 4111104 -> 4112 (when the digi files contained 1000 events). So in my example, the digi file would be: 00000847_00004112_8.digi

-- JamieTattersall - 30 Aug 2005

Printouts available in Panoramix

How do we print the trigger properties of an event (greater than v11r4)?

Under the menu 'Examples', go to 'Trigger' and then 'Trigger Properties'. This will print all the different trigger decisions and the important properties that were used to make the decision. If the HLT is exclusive it will also show the general algorithm used and its particular properties.

How do we print the vertex information of different reconstructed vertices and the associated MC vertex (greater than v11r4)?

Under the menu 'Examples', go to 'Vertex' and then 'Vertex Information'. This will print the position and error of the various reconstructed vertices. In addition it will also print the position of the actual MC vertex and the kind of collision that created the vertex.

How do we print a list of the algorithms in use by Panoramix and their properties?

Under the menu 'Examples', go to 'Dump' and then 'Dump Settings of Algorithms' This dumps all the algorithm information into a text file called 'alg_propeties.txt' in $PANORAMIXROOT/examples/python

-- JamieTattersall - 30 Aug 2005

What does the dump raw buffer mean?

Altering and adding items in Panoramix

How do I add new item into the Panoramix menu bar?

The easiest way to add a new option is alter or add a feature in the 'Examples' section. These files can be found at $PANORAMIXROOT/examples/python, e.g 'Examples_detviews.onx'. The best way is to copy and paste an existing menu item and change the name and file it refers to. Please note that the file must be saved and Panoramix reloaded before the changes will take effect.

How can I add a new feature to Panoramix?

Anything that can be written in Python script can be easily added into Panoramix. Simply refer to the script from the menu bar as shown above and the script will run. For working example scripts look in $PANORAMIXROOT/examples/python. A nice feature of the python script is that changes can be made and tested without needing Panoramix to reload. This makes debugging very quick and easy.

-- JamieTattersall - 30 Aug 2005

 
Deleted:
<
<

How to use J.Tattersall trigger info menu item ?

 
META TOPICMOVED by="sposs" date="1124110722" from="Sandbox.PanoRamixWiki" to="LHCb.PanoRamixWiki"

Revision 162005-08-29 - StephanePoss

Line: 1 to 1
 
META TOPICPARENT name="Sandbox.WebHome"

Panoramix : F.A.Q. and First Manual

Line: 284 to 284
 

What is the modeling.opened used for ?

Added:
>
>
This parameter is a boolean (true or false) used when displaying detector elements : if set to true, the volume will be opened, that means that we will be able to see what is inside the element. For example, we could see the beam pipe through the ECAL...
 

What is the modeling.showCurve used for ?

What is the modeling.useExtrapolator used for ?

Line: 326 to 328
  Then you should have the Panoramix window available.
Changed:
<
<
This last instruction is only necessary for Panoramix v9r6 (and v11r4) and before. It will be done automaticaly for the neext releases.
>
>
This last instruction is only necessary for Panoramix v9r6 (and v11r4) and before. It will be done automaticaly for the next releases.
  -- SposS - 16 Aug 2005 and 26 Aug 2005

Revision 152005-08-26 - StephanePoss

Line: 1 to 1
 
META TOPICPARENT name="Sandbox.WebHome"

Panoramix : F.A.Q. and First Manual

Line: 298 to 298
 The height defines the radius of a sphere which is centered on position, and the 3 first parameters of the orientation define a vector in the initial frame, and the last parameter is an angle of rotation around this vector. For example, this combination :
height 10 position 0 0 0 orientation 0 1 0 3.1415
Changed:
<
<
<\verbatim>
>
>
 sets the position of the camera on a cercle of radius 10 (height) centered on 0 0 0 (position) and on a line in a plane perpendicular to the vector (here coordinates are 0 1 0 (y axis)) going in the direction defined by the angle, here 3.1415. The origin for the angle depends on the orientation of the initial frame. For this case, as the vector points to y, the rotation is on the x z plane. The rotation 0 would put the camera on the +z axis looking toward the point defined by position, and in our case, it's on the -z axis as we are turning around the vector with an angle of approximatly pi.

-- SposS - 15 Aug 2005 and 25 Aug 2005

Line: 315 to 315
 

How do we use Panoramix in Python mode ?

Changed:
<
<
You need to launch Python from the $PANORAMIXROOT/Examples/Python directory. Then you launch Panoramix with the command :
>
>
Set the Panoramix environnement to the version you use, do the setup.csh (linux) or setup (windows), and launch python. Then you launch Panoramix with the command :
 
>>> from truf_Panoramix import *
Line: 325 to 326
  Then you should have the Panoramix window available.
Changed:
<
<
-- SposS - 16 Aug 2005
>
>
This last instruction is only necessary for Panoramix v9r6 (and v11r4) and before. It will be done automaticaly for the neext releases.

-- SposS - 16 Aug 2005 and 26 Aug 2005

 

Is it possible to visualize Flavour Tagging information with Panoramix ?

Changed:
<
<
Yes it is possible, but the files have not yet been added in the releases. You can ask me for the files to be added in the examples folder and in the SoEvent folder. See also FlavourTagging
>
>
Yes it is possible, but the files have not yet been added in the releases. You can ask Thomas Ruf for the files to be added in the examples folder and in the SoEvent folder. See also FlavourTagging
  -- SposS - 16 Aug 2005

Revision 142005-08-26 - StephanePoss

Line: 1 to 1
 
META TOPICPARENT name="Sandbox.WebHome"

Panoramix : F.A.Q. and First Manual

Revision 132005-08-25 - StephanePoss

Line: 1 to 1
 
META TOPICPARENT name="Sandbox.WebHome"

Panoramix : F.A.Q. and First Manual

Line: 294 to 294
 
region.setParameter('camera','height 10 position 0 0 90 orientation -0.513 0.688 0.513 1.936')
Deleted:
<
<
But I don't understand the parameters of the orientation. Does any one have an idea ?
 
Changed:
<
<
The height defines the radius of a sphere which is centered on position, and the 3 first parameters of the orientation define a vector in the initial frame, and the last parameter is an angle of rotation, but it still is uncertain, because as far as I have seen the effect of this rotation, it's just like the vector defines the angle 0 and the rotation is done from this point around a perpendicular ligne to the vector. Now, the problem is how is defined this rotation axis, it could be any vector perpendicular to the one defined in the first three parameters...
>
>
The height defines the radius of a sphere which is centered on position, and the 3 first parameters of the orientation define a vector in the initial frame, and the last parameter is an angle of rotation around this vector. For example, this combination :
height 10 position 0 0 0 orientation 0 1 0 3.1415
<\verbatim>
sets the position of the camera on a cercle of radius 10 (height) centered on 0 0 0 (position) and on a line in a plane perpendicular to the vector (here coordinates are 0 1 0 (y axis)) going in the direction defined by the angle, here 3.1415. The origin for the angle depends on the orientation of the initial frame. For this case, as the vector points to y, the rotation is on the x z plane. The rotation 0 would put the camera on the +z axis looking toward the point defined by position, and in our case, it's on the -z axis as we are turning around the vector with an angle of approximatly pi.
 
Deleted:
<
<
For the moment, we can say that the position sets a new origin, the height defines a radius around this new origin, and the intersection between the direction of the orientation vector and the sphere defined by height sets the point where the camera is. The camera always looks toward the point defined by position. The rotation by itself is not clear yet.
 -- SposS - 15 Aug 2005 and 25 Aug 2005

Problem between rotate and move

Revision 122005-08-25 - StephanePoss

Line: 1 to 1
 
META TOPICPARENT name="Sandbox.WebHome"

Panoramix : F.A.Q. and First Manual

Line: 296 to 296
  But I don't understand the parameters of the orientation. Does any one have an idea ?
Changed:
<
<
The height defines the radius of a sphere which is centered on position, and the 3 first parameters of the orientation define a vector in the initial frame, and the last parameter is an angle of rotation around the direction defined by the vector. In fact, we can say that the position sets a new origin, the height defines a radius around this new origin, and the intesection between the direction of the orientation vector and the sphere defined by height sets the point where the camera is. The camera always looks toward the point defined by position.
>
>
The height defines the radius of a sphere which is centered on position, and the 3 first parameters of the orientation define a vector in the initial frame, and the last parameter is an angle of rotation, but it still is uncertain, because as far as I have seen the effect of this rotation, it's just like the vector defines the angle 0 and the rotation is done from this point around a perpendicular ligne to the vector. Now, the problem is how is defined this rotation axis, it could be any vector perpendicular to the one defined in the first three parameters...

For the moment, we can say that the position sets a new origin, the height defines a radius around this new origin, and the intersection between the direction of the orientation vector and the sphere defined by height sets the point where the camera is. The camera always looks toward the point defined by position. The rotation by itself is not clear yet.

 -- SposS - 15 Aug 2005 and 25 Aug 2005

Problem between rotate and move

Revision 112005-08-25 - StephanePoss

Line: 1 to 1
 
META TOPICPARENT name="Sandbox.WebHome"

Panoramix : F.A.Q. and First Manual

Line: 296 to 296
  But I don't understand the parameters of the orientation. Does any one have an idea ?
Changed:
<
<
The height defines the radius of a sphere which is centered on position, but how does the orientation work ? -- SposS - 15 Aug 2005
>
>
The height defines the radius of a sphere which is centered on position, and the 3 first parameters of the orientation define a vector in the initial frame, and the last parameter is an angle of rotation around the direction defined by the vector. In fact, we can say that the position sets a new origin, the height defines a radius around this new origin, and the intesection between the direction of the orientation vector and the sphere defined by height sets the point where the camera is. The camera always looks toward the point defined by position. -- SposS - 15 Aug 2005 and 25 Aug 2005
 

Problem between rotate and move

Revision 102005-08-25 - unknown

Line: 1 to 1
 
META TOPICPARENT name="Sandbox.WebHome"

Panoramix : F.A.Q. and First Manual

Line: 36 to 36
  When you will have finished following these instructions, you will have all the necessary packages installed in your local area. But, in order to avoid bugs, it is recommended to have in a separate directory the package you are working on, for instance Panoramix. For this, just follow the following instructions.
Changed:
<
<
In your $HOME/cmtuser directory, you can do
>
>
Go to your working directory and choose the Panoramix version you want to work with:
 
Changed:
<
<
PanoramixEnv v*
>
>
> cd $HOME/cmtuser
> PanoramixEnv
> getpack Vis/Panoramix
> cd Vis/Panoramix//cmt
 
Deleted:
<
<
Where the * corresponds to the Panoramix version number you want to install, then do :
getpack Vis/Panoramix
You will be proposed a list of available versions in the release area, choose the one you want. When it's finished, you can go to Vis/Panoramix/v*/cmt. There you type
source setup.csh  (or .sh)
if you are in Linux, or
setup
if you work on Windows.
 
Changed:
<
<
Then you can compile it, by typing :
>
>
Before compiling, check that all packages are present:
 
Changed:
<
<
make
>
>
> cmt show uses | grep Warn (on Linux) or | findstr Warn (on WIN32)
 
Changed:
<
<
If it doesn't work, check if you have all requested packages defined in the requirement file, for this you can do
>
>
and check the version and path of used packages.

If a package has been moved or the version number has been modified:

 
Changed:
<
<
cmt sho uses
>
>
> cd //cmt
> cmt config
 
Deleted:
<
<
And check for warning messages.
 
Changed:
<
<
It is also possible that the links to the packages have not been set correcly during the getpack, or that something has been moved for some reason. In that case, to restore the links, just type :
>
>
Then if no more Warnings
 
Changed:
<
<
cmt config
>
>
> source setup.(c)sh (on Linux) or setup.bat (on WIN32)
> make
 
Deleted:
<
<
Those two last instructions work as well on Linux as on Windows.
 Normally, after those steps, you should have a correctly working Panoramix.

-- SposS - 16 Aug 2005

Changed:
<
<
>
>
-- FlorenceRanjard - 25 Aug 2005
 

Technical problems for Panoramix v*

Revision 92005-08-23 - StephanePoss

Line: 1 to 1
 
META TOPICPARENT name="Sandbox.WebHome"

Panoramix : F.A.Q. and First Manual

Line: 214 to 214
 orange, maroon, red,
Added:
>
>
indianred,
 darkred, orangered,
Added:
>
>
firebrick,
 salmon,
Added:
>
>
sienna,
 pink, magenta, violetred,
Added:
>
>
mediumvioletred,
 thistle, orchid,
Added:
>
>
mediumorchid,
 darkorchid, purple, plum,
Line: 229 to 234
 blueviolet, cadetblue, cornflowerblue,
Added:
>
>
darkslateblue, mediumslateblue, slateblue,
 midnightblue, darkblue, navyblue,
Added:
>
>
navy,
 blue,
Added:
>
>
coral,
 cyan, skyblue, lightblue,
Added:
>
>
steelblue, lightsteelblue,
 turquoise,
Added:
>
>
mediumturquoise, darkturquoise, mediumaquamarine,
 aquamarine, seagreen, mediumseagreen,
Line: 244 to 259
 green, darkgreen, forestgreen,
Added:
>
>
mediumspringgreen, springgreen, palegreen,
 limegreen, yellowgreen,
Added:
>
>
darkolivegreen,
 olivegreen,
Added:
>
>
khaki,
 brown, tan, white,
Added:
>
>
wheat,
 black,
Added:
>
>
darkslategrey, lightgrey,
 grey,
Added:
>
>
dimgrey,
 ...

-- SposS - 18 Aug 2005

Line: 288 to 312
  Sometimes when using rotate/move mode, when pressing the control button and clicking on the mouse button, we still keep the rotation function and not the move mode. To avoid this, a solution is to press control, click once without moving, and press the mouse button again. Then the move mode should be fine.
Added:
>
>

Is it possible to display different regions on the same page ?

Yes it is possible, and some examples are in the $PANORAMIXROOT/examples/Python : truf_velo3dview_setup.py

 

Technical problems for Panoramix v9r* (DC04 data)

Changed:
<
<

How do we use Thomas Ruf's scripts ?

>
>

How do we use Panoramix in Python mode ?

  You need to launch Python from the $PANORAMIXROOT/Examples/Python directory. Then you launch Panoramix with the command :
Line: 306 to 334
 

Is it possible to visualize Flavour Tagging information with Panoramix ?

Changed:
<
<
Yes it is possible, but the files have not yet been added in the releases. You can ask me for the files to be added in the examples folder and for the extra code to be added in the tagging tool. See also FlavourTagging
>
>
Yes it is possible, but the files have not yet been added in the releases. You can ask me for the files to be added in the examples folder and in the SoEvent folder. See also FlavourTagging
  -- SposS - 16 Aug 2005
Line: 314 to 342
 

My general option file used in Panoramix v9r5 doesn't work anymore in Panoramix v11r1, why ?

Changed:
<
<
It's because there was some major modification in the GAUDI software architecture (arrival of the RTTC data), and some package changed their name, and Panoramix does not depend anymore on DaVinci. For few details about the modification in thee achitecture, see : P.Koppenburg transparencies
>
>
It's because there was some major modification in the GAUDI software architecture (arrival of the RTTC data), and some package changed their name, and Panoramix does not depend anymore on DaVinci. For few details about the modification in the architecture, see : P.Koppenburg transparencies
 -- SposS - 16 Aug 2005
Changed:
<
<

How do we use Thomas Ruf's scripts ?

>
>

How do we use Panoramix in Python mode ?

 It's same as in Panoramix v9r*. -- SposS - 16 Aug 2005

Revision 82005-08-18 - StephanePoss

Line: 1 to 1
 
META TOPICPARENT name="Sandbox.WebHome"

Panoramix : F.A.Q. and First Manual

Line: 85 to 85
 

What are the most important instruction in an option file ?

Deleted:
<
<
The lines used to launch DaVinci... -- SposS - 16 Aug 2005
 

How to retrieve something in TES ?

First thing to know is that the containers has only addresses to the particles. It's some kind of array of addresses.

Line: 134 to 131
 data_visualize() -- SposS - 16 Aug 2005
Added:
>
>
It is also possible to make cuts on the selection of the particles we want to display :
data_collect('Particle','(mass>1000)')
Or for another example :
data_collect('MCParticle','(particle==\'pi+\'||particle==\'pi-\'||particle==\'K-\'||particle==\'K+\')&&(bcflag>9)')
-- SposS - 18 Aug 2005
 

What about the vertices ?

It is the same :

Line: 143 to 150
 data_visualize() -- SposS - 16 Aug 2005
Added:
>
>

What is the code to be used to get the real name of the particles and not their ID number when printing info on the tracks ?

Just add this line in your script :

part = appMgr.partSvc()
part.findByStdHepID(cond.containedObject(m).particleID().pid()).particle()
Where you chang cond for your container, for example evt['Phys/Wiki/Particles'].

-- SposS - 18 Aug 2005

 

How to change the color of a track ?

Just use this line :

Revision 72005-08-18 - StephanePoss

Line: 1 to 1
 
META TOPICPARENT name="Sandbox.WebHome"

Panoramix : F.A.Q. and First Manual

Line: 188 to 188
 

What are the possible options for the modeling.color ?

The available colors are :
Changed:
<
<
blue, skyblue, lightblue, darkblue,
>
>
greenyellow, yellow, goldenrod, gold, orange, maroon,
 red, darkred,
Added:
>
>
orangered, salmon,
 pink,
Added:
>
>
magenta, violetred, thistle, orchid, darkorchid,
 purple,
Deleted:
<
<
violet,
 plum,
Changed:
<
<
white, black, grey,
>
>
violet, blueviolet, cadetblue, cornflowerblue, midnightblue, darkblue, navyblue, blue,
 cyan,
Changed:
<
<
green, yellow, orange, gold, greenyellow, olivegreen,
>
>
skyblue, lightblue, turquoise, aquamarine,
 seagreen,
Deleted:
<
<
darkseagreen,
 mediumseagreen,
Changed:
<
<
limegreen,
>
>
darkseagreen, green,
 darkgreen, forestgreen,
Changed:
<
<
magenta,
>
>
limegreen, yellowgreen, olivegreen,
 brown,
Added:
>
>
tan, white, black, grey,
 ...
Changed:
<
<
-- SposS - 16 Aug 2005
>
>
-- SposS - 18 Aug 2005
 

What are the possible options for the modeling.transparency ?

Revision 62005-08-17 - StephanePoss

Line: 1 to 1
 
META TOPICPARENT name="Sandbox.WebHome"

Panoramix : F.A.Q. and First Manual

Line: 119 to 119
  And if we want to have access to a specific particle, it is done by this command :
Changed:
<
<
>>> evt['Phys/Wiki/Particles'].containedObjects(0)
>
>
>>> evt['Phys/Wiki/Particles'].containedObjects(m)
 
Changed:
<
<
for the first particle in the list. It is also possible to make a loop on the container, and the syntax is not different from a normal loop in python.
>
>
for the m+1 particle in the list. It is also possible to make a loop on the container, and the syntax is not different from a normal loop in python.
  -- SposS - 16 Aug 2005

Revision 52005-08-17 - StephanePoss

Line: 1 to 1
 
META TOPICPARENT name="Sandbox.WebHome"

Panoramix : F.A.Q. and First Manual

Line: 154 to 154
 session.setParameter('modeling.color','R G B') You have to define the three arguments R G B with a number between 0 and 1.
Deleted:
<
<
See a little further down for more info about colors. By the way, is there any color tables ?
 -- SposS - 15 Aug 2005

See question about modeling.color.

Line: 249 to 247
 The height defines the radius of a sphere which is centered on position, but how does the orientation work ? -- SposS - 15 Aug 2005
Added:
>
>

Problem between rotate and move

Sometimes when using rotate/move mode, when pressing the control button and clicking on the mouse button, we still keep the rotation function and not the move mode. To avoid this, a solution is to press control, click once without moving, and press the mouse button again. Then the move mode should be fine.

 

Technical problems for Panoramix v9r* (DC04 data)

How do we use Thomas Ruf's scripts ?

Revision 42005-08-17 - StephanePoss

Line: 1 to 1
 
META TOPICPARENT name="Sandbox.WebHome"

Panoramix : F.A.Q. and First Manual

Line: 158 to 158
 By the way, is there any color tables ? -- SposS - 15 Aug 2005
Added:
>
>
See question about modeling.color. -- SposS - 17 Aug 2005
 

What is the difference between session_setColor('yellow') and session.setParameter('modeling.color','yellow') ?

Is it possible to change the style of the line ?

Line: 272 to 275
 

My general option file used in Panoramix v9r5 doesn't work anymore in Panoramix v11r1, why ?

Changed:
<
<
It's because there was some major modification in the GAUDI software architecture (arrival of the RTTC data), and some package changed their name, and Panoramix does not depend anymore on DaVinci. For more details about the modification in thee achitecture, see : P.Koppenburg transparencies
>
>
It's because there was some major modification in the GAUDI software architecture (arrival of the RTTC data), and some package changed their name, and Panoramix does not depend anymore on DaVinci. For few details about the modification in thee achitecture, see : P.Koppenburg transparencies
 -- SposS - 16 Aug 2005

How do we use Thomas Ruf's scripts ?

Revision 32005-08-16 - StephanePoss

Line: 1 to 1
 
META TOPICPARENT name="Sandbox.WebHome"

Panoramix : F.A.Q. and First Manual

Line: 76 to 76
 -- SposS - 16 Aug 2005
Changed:
<
<

Technical problems For Panoramix v*

>
>

Technical problems for Panoramix v*

 

Why is the Panoramix.opts file necessary ?

Changed:
<
<
It load a lot a things necessary to Panoramix, and therefore it is necessary.
>
>
It loads a lot a things necessary to Panoramix, and therefore it is necessary. -- SposS - 16 Aug 2005

What are the most important instruction in an option file ?

The lines used to launch DaVinci... -- SposS - 16 Aug 2005

 

How to retrieve something in TES ?

Changed:
<
<
First thing to know is that the containers has only addresses to the particles. It's some kind or array of addresses.
>
>
First thing to know is that the containers has only addresses to the particles. It's some kind of array of addresses.
  In Panoramix, it is really easy to retrieve any information in TES : do it with the command
evt['Event/Phys/...']
if your container is there...
Changed:
<
<

How do we know what can be done or what information can we get from something in TES ?

>
>
-- SposS - 16 Aug 2005

How do we know what can be done or what information can we get from something in TES ?

  It is possible to get this information typing :
Line: 119 to 125
  -- SposS - 16 Aug 2005
Added:
>
>

What are the instruction lines needed to display a track ?

In a python script, you need :

session.setParameter('Particle.location','/Event/Phys/Wiki/Particles')
data_collect('Particle','')
data_visualize()
-- SposS - 16 Aug 2005

What about the vertices ?

It is the same :

session.setParameter('Particle.location','/Event/Phys/Wiki/Vertices')
data_collect('Vertex','')
data_visualize()
-- SposS - 16 Aug 2005
 

How to change the color of a track ?

Just use this line :
Line: 130 to 154
 session.setParameter('modeling.color','R G B') You have to define the three arguments R G B with a number between 0 and 1.
Changed:
<
<
>
>
See a little further down for more info about colors.
 By the way, is there any color tables ? -- SposS - 15 Aug 2005
Added:
>
>

What is the difference between session_setColor('yellow') and session.setParameter('modeling.color','yellow') ?

Is it possible to change the style of the line ?

Yes, by adding this line before drawing :

session.setParameter('modeling.type','wireFrame')
-- SposS - 16 Aug 2005

Is there a list of available arguments for the 'modeling' ?

The lineWidth argument receives an integer as option, and it defined the width of the line which will be drawn after this line. It is in pixels. -- SposS - 16 Aug 2005

What are the possible options for the modeling.showText ?

It can be set to true or false, and it enables or disables the printing of the particle ID for example. if it's enable, it is possible to define the position of the text, and the modeling argument is posText (modeling.posText), wich can be set to an integer value. The size of the text can be defined with sizeText (modeling.sizeText). -- SposS - 16 Aug 2005

What are the possible options for the modeling.type ?

It defines the style of line we want. The available options are : solid, wireframe -- SposS - 16 Aug 2005

What are the possible options for the modeling.color ?

The available colors are : blue, skyblue, lightblue, darkblue, red, darkred, pink, purple, violet, plum, white, black, grey, cyan, green, yellow, orange, gold, greenyellow, olivegreen, seagreen, darkseagreen, mediumseagreen, limegreen, darkgreen, forestgreen, magenta, brown, ... -- SposS - 16 Aug 2005

What are the possible options for the modeling.transparency ?

A number between 0 and 1. -- SposS - 16 Aug 2005

What is the modeling.useVisSvc used for ?

What is the modeling.magneticField used for ?

What is the modeling.what used for ?

What is the modeling.opened used for ?

What is the modeling.showCurve used for ?

What is the modeling.useExtrapolator used for ?

 

Orientation of the camera ?

In my Python script I have this line of code :

Line: 145 to 246
 The height defines the radius of a sphere which is centered on position, but how does the orientation work ? -- SposS - 15 Aug 2005
Changed:
<
<

Technical problems For Panoramix v9r6 (DC04 data)

>
>

Technical problems for Panoramix v9r* (DC04 data)

 
Changed:
<
<

How do we use Thomas Ruf's examples ?

>
>

How do we use Thomas Ruf's scripts ?

  You need to launch Python from the $PANORAMIXROOT/Examples/Python directory. Then you launch Panoramix with the command :
Line: 161 to 262
  -- SposS - 16 Aug 2005
Changed:
<
<

Technical problems For Panoramix v11r1 (RTTC data)

>
>

Is it possible to visualize Flavour Tagging information with Panoramix ?

Yes it is possible, but the files have not yet been added in the releases. You can ask me for the files to be added in the examples folder and for the extra code to be added in the tagging tool. See also FlavourTagging

-- SposS - 16 Aug 2005

Technical problems for Panoramix v11r* (RTTC data)

My general option file used in Panoramix v9r5 doesn't work anymore in Panoramix v11r1, why ?

It's because there was some major modification in the GAUDI software architecture (arrival of the RTTC data), and some package changed their name, and Panoramix does not depend anymore on DaVinci. For more details about the modification in thee achitecture, see : P.Koppenburg transparencies -- SposS - 16 Aug 2005

 
Changed:
<
<

Problems with RAW files, how to access ?

>
>

How do we use Thomas Ruf's scripts ?

It's same as in Panoramix v9r*. -- SposS - 16 Aug 2005
 

How to get specific Run and Event numbers from a RAW file ?

Added:
>
>

How to use J.Tattersall trigger info menu item ?

 
META TOPICMOVED by="sposs" date="1124110722" from="Sandbox.PanoRamixWiki" to="LHCb.PanoRamixWiki"

Revision 22005-08-16 - StephanePoss

Line: 1 to 1
 
META TOPICPARENT name="Sandbox.WebHome"
Added:
>
>

Panoramix : F.A.Q. and First Manual

 Welcome to the first Panoramix Wiki page. This page is to be used as a F.A.Q. where everybody can add any question or answer he has. The goal is to create some kind of documentation for this software.

Any comments and modifications are welcome... Don't forget to sign when adding or modifying an element.

Added:
>
>
 
Changed:
<
<

Useful links

>
>

Useful links

  http://lhcb-comp.web.cern.ch/lhcb%2Dcomp/Frameworks/Visualization/
Changed:
<
<

Contact persons

>
>
As many scripts are written in Python, here is the link to Python main page : http://www.python.org/

Contact persons at CERN

  Thomas Ruf : Mail

Florence Ranjard : Mail

Deleted:
<
<

F.A.Q. First Manual of Panoramix

 
Changed:
<
<

General features

>
>

General features

 
Changed:
<
<
  • History
>
>

History

 
    • When was it implemented for the first time ?

It was on October 2001, by Guy Barrand : Mail

Changed:
<
<

Technical problems For Panoramix v*

>
>

How to start ?

It is strongly recommended to install the LHCb software locally when using Windows. There is a help page on this : http://lhcb-reconstruction.web.cern.ch/lhcb-reconstruction/Panoramix/local_installation.htm

When you will have finished following these instructions, you will have all the necessary packages installed in your local area. But, in order to avoid bugs, it is recommended to have in a separate directory the package you are working on, for instance Panoramix. For this, just follow the following instructions.

In your $HOME/cmtuser directory, you can do

PanoramixEnv v*
Where the * corresponds to the Panoramix version number you want to install, then do :
getpack Vis/Panoramix
You will be proposed a list of available versions in the release area, choose the one you want. When it's finished, you can go to Vis/Panoramix/v*/cmt. There you type
source setup.csh  (or .sh)
if you are in Linux, or
setup
if you work on Windows.

Then you can compile it, by typing :

make
If it doesn't work, check if you have all requested packages defined in the requirement file, for this you can do
cmt sho uses
And check for warning messages.

It is also possible that the links to the packages have not been set correcly during the getpack, or that something has been moved for some reason. In that case, to restore the links, just type :

cmt config

Those two last instructions work as well on Linux as on Windows.

 
Changed:
<
<
Nothing for the moment. This section is supposed to contain all the general features of Panoramix, whatever version number it has.
>
>
Normally, after those steps, you should have a correctly working Panoramix.
 
Changed:
<
<

Technical problems For Panoramix v9r6

>
>
-- SposS - 16 Aug 2005
 
Changed:
<
<
  • How to retrieve something in TES ?
>
>

Technical problems For Panoramix v*

Why is the Panoramix.opts file necessary ?

It load a lot a things necessary to Panoramix, and therefore it is necessary.

How to retrieve something in TES ?

First thing to know is that the containers has only addresses to the particles. It's some kind or array of addresses.

  In Panoramix, it is really easy to retrieve any information in TES : do it with the command
Line: 37 to 92
  if your container is there...
Changed:
<
<
  • How to change the color of a track ?
>
>

How do we know what can be done or what information can we get from something in TES ?

It is possible to get this information typing :

dir(evt['Phys/...'])
For example, for a container containing particles we could get :
>>> m=evt['Phys/Wiki/Particles']
>>> dir(m)
['DataObject', '__class__', '__delattr__', '__dict__', '__doc__', '__getattribute__', '__hash__', '__init__',
 '__module__', '__new__', '__nonzero__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__str__',
 '__weakref__', '__zero__', '_theObject', 'add', 'addRef', 'begin', 'clID', 'classID', 'clear', 
 'configureDirectAccess', 'containedObject', 'containedObjects', 'empty', 'end', 'eraseIter', 'eraseKey', 
 'eraseObj', 'eraseRange', 'fillStream', 'index', 'insert', 'insertWithKey', 'linkMgr', 'name', 'numberOfObjects', 
 'object', 'refCount', 'registry', 'release', 'remove', 'reserve', 'serialize', 'setRegistry', 'setVersion', 'size', 
 'version']
>>>
And if we want to have access to a specific particle, it is done by this command :
>>> evt['Phys/Wiki/Particles'].containedObjects(0)
for the first particle in the list. It is also possible to make a loop on the container, and the syntax is not different from a normal loop in python.

-- SposS - 16 Aug 2005

How to change the color of a track ?

 Just use this line :
session_setColor('blue')
Line: 52 to 134
 By the way, is there any color tables ? -- SposS - 15 Aug 2005
Changed:
<
<
  • Orientation of the camera ?
>
>

Orientation of the camera ?

  In my Python script I have this line of code :
Line: 63 to 145
 The height defines the radius of a sphere which is centered on position, but how does the orientation work ? -- SposS - 15 Aug 2005
Added:
>
>

Technical problems For Panoramix v9r6 (DC04 data)

How do we use Thomas Ruf's examples ?

You need to launch Python from the $PANORAMIXROOT/Examples/Python directory. Then you launch Panoramix with the command :

>>> from truf_Panoramix import *
When it finishes to load, to have access to the Panoramix window, type :
>>> runable.run()
Then you should have the Panoramix window available.

-- SposS - 16 Aug 2005

Technical problems For Panoramix v11r1 (RTTC data)

 
Changed:
<
<

Technical problems For Panoramix v11r1

>
>

Problems with RAW files, how to access ?

 
Changed:
<
<
Nothing for the moment
>
>

How to get specific Run and Event numbers from a RAW file ?

 
META TOPICMOVED by="sposs" date="1124110722" from="Sandbox.PanoRamixWiki" to="LHCb.PanoRamixWiki"

Revision 12005-08-15 - StephanePoss

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="Sandbox.WebHome"
Welcome to the first Panoramix Wiki page. This page is to be used as a F.A.Q. where everybody can add any question or answer he has. The goal is to create some kind of documentation for this software.

Any comments and modifications are welcome... Don't forget to sign when adding or modifying an element.

Useful links

http://lhcb-comp.web.cern.ch/lhcb%2Dcomp/Frameworks/Visualization/

Contact persons

Thomas Ruf : Mail

Florence Ranjard : Mail

F.A.Q. First Manual of Panoramix

General features

  • History
    • When was it implemented for the first time ?

It was on October 2001, by Guy Barrand : Mail

Technical problems For Panoramix v*

Nothing for the moment. This section is supposed to contain all the general features of Panoramix, whatever version number it has.

Technical problems For Panoramix v9r6

  • How to retrieve something in TES ?

In Panoramix, it is really easy to retrieve any information in TES : do it with the command

evt['Event/Phys/...']
if your container is there...

  • How to change the color of a track ?
Just use this line :
session_setColor('blue')

You can also use :

session.setParameter('modeling.color','R G B')
You have to define the three arguments R G B with a number between 0 and 1.

By the way, is there any color tables ? -- SposS - 15 Aug 2005

  • Orientation of the camera ?

In my Python script I have this line of code :

region.setParameter('camera','height 10 position 0 0 90 orientation -0.513 0.688 0.513 1.936')
But I don't understand the parameters of the orientation. Does any one have an idea ?

The height defines the radius of a sphere which is centered on position, but how does the orientation work ? -- SposS - 15 Aug 2005

Technical problems For Panoramix v11r1

Nothing for the moment

META TOPICMOVED by="sposs" date="1124110722" from="Sandbox.PanoRamixWiki" to="LHCb.PanoRamixWiki"
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback