Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

Currently all the associations are stored on a single collection of AcdTkrHitPoca objects.  These are sorted by active distance.   This means that AcdTkrHitPoca's from later tracks can be placed before ones from the best track.  

Wiki MarkupIn the new algorithm the&nbsp; AcdTkrHitPoca are sorted by VetoProbabliity.&nbsp; This is constructed by adding terms for the geometry and terms for the signal size &nbsp;&nbsp; VetoSigmaProj = active3D < 0 ? 0 :&nbsp; active3D / activeDist3DErrProj; &nbsp;&nbsp; VetoSigmaHit = 2. / algorithm the  AcdTkrHitPoca are sorted by Veto esitmator.  This is constructed by combining terms for the geometry and terms for the signal size
   VetoSigmaProj = active3D < 0 ? 0 :  active3D / activeDist3DErrProj;
   VetoSigmaHit = 2. / pocaData.m_cosTheta < totalMips ? 0 :&nbsp;   (( 2. / pocaData.m_cosTheta) - totalMips)/0.45&nbsp; \[ tiles \] &nbsp;&nbsp; VetoSigmaHit 45  [ tiles ]
   VetoSigmaHit =1.5 < totalMips ? 0 :&nbsp;   (1.5 - totalMips) [ ribbons ]

Both terms are constructed so that:

...

This means that for tiles there is some contribution for expected signals less that a mip.  From ribbons this contribution only gets up to 1.5 sigma since very smal signals are common.

 Sorting track-gap associations

Currently all the associations are stored on a single collection of AcdTkrGapPoca objects.  These are sorted by active distance.   This means that AcdTkrGapPoca's from later tracks can be placed before ones from the best track.  unmigrated-wiki-markup

In the new algorithm the&nbsp; AcdTkrGapPoca are sorted by VetoProbabliity.&nbsp; This is constructed by adding terms for the geometry and terms for the signal size &nbsp;&nbsp; VetoSigmaProj = Prob inside gap expressed in Sigma &nbsp;&nbsp; VetoSigmaHit =1.5&nbsp; \[ gaps covered by ribbons \] &nbsp;&nbsp; VetoSigmaHit = 0 \[ gaps not covered by ribbons \algorithm the  AcdTkrGapPoca are sorted by VetoProbabliity.  This is constructed by adding terms for the geometry and terms for the signal size
   VetoSigmaProj = Intergal of  (distance / activeDist3DErrProj ) across the gap, then converted to sigma.
We take the integral instead of just using the sigma to the near edge because care about the chance that the track went into the gap, not the chance that it missed the particular tile in question.  This reduces the esimator if the gap is very small, or the error bars are large.
   VetoSigmaHit =1.5  [ gaps covered by ribbons ]
   VetoSigmaHit = 0 [ gaps not covered by ribbons ]

Both terms are constructed so that:

  1. They are 0. for anything that looks it really went into a gap  (ie, high energy track points at gap)
  2. They become positive as the event looks less MIP like (ie, track missed gap, gap is covered by ribbon) 

Then we can combine them in quadrature
  VetoSigma = sqrt( VetoSigmaProj*VetoSigmaProj + VetoSigmaHit*VetoSigmaHit)

...

 
So, if the POCA is upstream from the track head (right plot) things look sensible so far (almost all the entries are the same, in a few cases a different tile is picked b/c it has larger signal, or the error projection is larger, either of which makes it more likely to veto the event).

...

  1. Some fraction of the time new calculation gives a sigma > 10000 and is ignored.   Only happens if the orignal active distance was < -400.  No great loss.  This explains the stripe at -2000 in the left plot.
  2.  Sometimes the POCA moves slightly because of minor changes to how the edge case is handled, this explains the off-diagonal entries in the left plot.  
     This

This plot shows old v. new for  log10( AcdTkr1ActDistTileEnergy) (ie, the Energy of best active distance for the best track) for all events. 

...

Image Added
 
Again, the large majority of events lie on the diagonal.  The stripe at 0 is an artifact from effect 1) above.  Aside from that we see some events different energies.  This is b/c of the changes in select the "best" association.

 All Tracks

As mentioned above, In the case for all tracks AcdValTool first applies an energy scaled cut on active distance, then picks the association with the largest signal.  This means that we expect the Energy in the new case to almost always be less than or equal to the previous value. 

Image Added
 
 
 
Image Added
 
 
 There is a special case when two tracks both point at a tile with a MIP-like signal.  With the new logic both associations have a VetoSigma value of 0.  Therefore the one from the earlier track is selected.  With the old logic whichever track had a larger active distance was selected.  This can be seen in the large excess in the 0 column in plot below, which compares the track number of the best association.   In either case we will reject the event, and it is probably wise to use the better tracking information. 

 
Image Added
 

...

 Associations between tracks and hit ribbons

...

With the new algorithm this changes a little bit since we are now using the active distance / the error projection. 

Best Track

Most of the differences come from cases where the POCA occurs at the head of the track. 

Image Added Image Added
 

 All Tracks

Image Added
 
 
Image Added

 Assocations between tracks and gaps

...

 With the new algorithm this changes a little bit since we are now using the active distance / the error projection. 

Best Track

For the best track, if we used the tile intersection to calculate the distance to the gap we expect to see almost exactly the same results since the gap esimator is dominated by the distance and all the associations are using the same tracking errors.
One the other hand, if we used the ribbon to calculate the distance then we expect small changes, (depending on the geometry).  The latter case explains the horizontal stripe at positive values in this plot: 

Image Added 

 All Tracks

Since different tracks can have slightly different error projections selecting by the gap estimator can sometimes pick a value with slightly higher distance (and correspondingly higher error bars).  This explains the entries above the diagonal in this plot.

Image Added

The entries below the diagonal come in because we are consider all the gaps, not just the ribbons, in the new version.