This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
stripping:stripping [2010/09/07 18:26] – decianm | stripping:stripping [2010/12/07 11:08] – decianm | ||
---|---|---|---|
Line 2: | Line 2: | ||
===== Idea ===== | ===== Idea ===== | ||
Fill this... | Fill this... | ||
- | ==== Documentation ==== | + | ===== Documentation |
A lot of documentation can be found under: https:// | A lot of documentation can be found under: https:// | ||
- | ==== How to get the name of the lines ==== | + | ===== How to get the name of the lines ===== |
To know how to access your line in your options file, you have to know the name of it. To find this out, do the following: | To know how to access your line in your options file, you have to know the name of it. To find this out, do the following: | ||
* Find out in which stream it is (Dimuon, Dielectron, EW,...) | * Find out in which stream it is (Dimuon, Dielectron, EW,...) | ||
Line 11: | Line 11: | ||
SetupProject DaVinci vXrYpZ | SetupProject DaVinci vXrYpZ | ||
python | python | ||
- | from StrippingSelections.StreamRadiative | + | from StrippingSettings.Stripping12 |
- | locations = {} for line in stream.lines : | + | locations = {} |
- | | + | for line in StreamCalibration.stream.lines : |
+ | | ||
for line, loc in locations.iteritems() : | for line, loc in locations.iteritems() : | ||
print line, loc | print line, loc | ||
</ | </ | ||
+ | * This will give you something like: '' | ||
+ | |||
+ | ===== How to access the event ===== | ||
+ | To access the event, you have to set the correct path, f.ex: | ||
+ | <code python> | ||
+ | MyParticles = DataOnDemand(Location = '/ | ||
+ | </ | ||
+ | or you can set the '' | ||
+ | <code python> | ||
+ | MyParticles = DataOnDemand(Location = ' | ||
+ | MyGaudiSequence.RootInTES = "/ | ||
+ | </ | ||
+ | Note that you should not set '' | ||