This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| davinci:removetthits [2011/02/10 11:46] – decianm | davinci:removetthits [2011/02/11 22:28] (current) – [Idea] decianm | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ===== Idea ===== | ===== Idea ===== | ||
| Removing TT hits from long tracks can be a good check to see effects which are caused by the TT. | Removing TT hits from long tracks can be a good check to see effects which are caused by the TT. | ||
| + | TO BE FINISHED WHEN IT WORKED AS I THOUGHT | ||
| ===== How to ===== | ===== How to ===== | ||
| Add the following two source files f.ex. to Tr/ | Add the following two source files f.ex. to Tr/ | ||
| - | + | **TrackRemoveSTIDs.cpp** | |
| <code c> | <code c> | ||
| // Gaudi | // Gaudi | ||
| Line 66: | Line 66: | ||
| } | } | ||
| </ | </ | ||
| - | and | + | and **TrackRemoveSTIDs.h** |
| <code c> | <code c> | ||
| // $Id: $ | // $Id: $ | ||
| Line 103: | Line 103: | ||
| </ | </ | ||
| + | In your options file, do something like: | ||
| + | <code python> | ||
| + | from Configurables import | ||
| + | hitRemover = TrackRemoveSTIDs(' | ||
| + | selector = STSelectChannelIDByElement(" | ||
| + | selector.elementNames = [" | ||
| + | selector.DetType = " | ||
| + | GaudiSequencer(" | ||
| + | RawBankToSTClusterAlg(" | ||
| + | createITClusters, | ||
| + | </ | ||