User Tools

Site Tools


davinci:removetthits

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
davinci:removetthits [2011/02/10 11:46] decianmdavinci: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/TrackTools. Add the following two source files f.ex. to Tr/TrackTools.
- +**TrackRemoveSTIDs.cpp**
 <code c> <code c>
 // Gaudi // Gaudi
Line 66: Line 66:
 } }
 </code> </code>
-and +and **TrackRemoveSTIDs.h**
 <code c> <code c>
 // $Id:  $ // $Id:  $
Line 103: Line 103:
 </code> </code>
  
 +In your options file, do something like:
 +<code python>
 +from Configurables import  TrackRemoveSTIDs
 +hitRemover = TrackRemoveSTIDs('hitRemover')
 +selector = STSelectChannelIDByElement("ToolSvc.RemovalSelector")
 +selector.elementNames = ["TTa", "TTb"]
 +selector.DetType = "TT"
 +GaudiSequencer("myMC09SelJpsi2MuMuFilterSequence").Members += [myveloClusters,
 +RawBankToSTClusterAlg("CreateTTClusters"),
 +createITClusters, createITLiteClusters, hitRemover]
 +</code>
davinci/removetthits.1297334783.txt.gz · Last modified: 2011/02/10 11:46 by decianm