removecloseTracksmethod which loops over any two tracks out of all white tracks and marks (both of them) if their opening angle < 9.5 deg. It means that they are not taken into consideration in calculations afterwards.
checkEffperformed on white tracks which survived "first check".
isGeantTrackInAcceptance. The method checks explicitely whether a given track has passed through MDC I and MDC II and MDC III and MDC IV and (TOF or PreShower). If this is true, the track properties are stored in NTuples (accePosi, acceEle). Those NTuples are denominators in the EFF matrices.
HPairSimobjects is done. First, a method
checkTrackId( pair1, trackNb )is called, where
pair1is just an
trackNbis the number of white track under consideration. It returns
HPairGeantData. If it is >= 76 (fully reconstructed track) and if
getPid2()> 0, then we check if any flag of direct cut is set,
getIsCutFlag()\!\= 0 sets the flag
bDirectCutto 1. [ end of testing part ]
getCommonDetectors1/2> 0 we call
calculateTrackProperties. This is the method in which we check, taking
HPairDataobject for our pair object with a white track, if the angle to closest fitted and not fitted lepton is lower than 9 deg (methods
getAngleToClosestNonFittedLepton). If this is the case,
cpFlagis set to 1.
bDirectCutshould be here always 0). Now, if
comDet > 76we fill NTuples (effEle, effPosi) which are numerators in the EFF matrices.
HPidParticleSimobject. Again, we demand that
getMostCommonCorrelation()is >= 76 and then we fill the NTuples (effEle, effPosi) with the track properties.