![]() |
ATLAS Offline Software
|
#include <IDScanZFinderInternal.h>
Classes | |
| struct | vertex |
Public Member Functions | |
| IDScanZFinderInternal (const std::string &, const std::string &) | |
| virtual | ~IDScanZFinderInternal () |
| void | initializeInternal (long maxLayers, long lastBarrel) |
| std::vector< vertex > * | findZInternal (const std::vector< const SpacePoint * > &spVec, const IRoiDescriptor &roi) |
| const std::vector< std::vector< long > > * | GetnHisto () |
| const std::vector< std::vector< double > > * | GetzHisto () |
| long | GetNMax () |
| void | setLayers (long maxLayers, long lastBarrelLayer) |
Protected Member Functions | |
| long | fillVectors (const std::vector< const SpacePoint * > &spVec, const IRoiDescriptor &roi, std::vector< double > &phi, std::vector< double > &rho, std::vector< double > &zed, std::vector< long > &lyr, std::vector< long > &filledLayers) |
| const std::string & | getType () const |
| const std::string & | getName () const |
| const std::string & | getVersion () const |
| int | GetInternalStatus () const |
| int | SetInternalStatus (int s) |
| double | computeZV (double r1, double z1, double r2, double z2) const |
| double | computeZV (double r1, double p1, double z1, double r2, double p2, double z2) const |
| void | SetReturnValue (double d) |
| double | GetReturnValue () const |
Protected Attributes | |
| long | m_IdScan_MaxNumLayers |
| maximum number of layers and last barrel layer | |
| long | m_IdScan_LastBrlLayer |
| double | m_invPhiSliceSize |
| long | m_NumPhiSlices |
| double | m_phiBinSize |
| bool | m_forcePhiBinSize |
| double | m_usedphiBinSize |
| double | m_ROIphiWidth |
| double | m_usedROIphiWidth |
| double | m_minZBinSize |
| double | m_zBinSizeEtaCoeff |
| long | m_numberOfPeaks |
| bool | m_pixOnly |
| std::string | m_Type |
| std::string | m_Name |
| int | m_Status |
| bool | m_chargeAware |
| bool | m_zHistoPerPhi |
| double | m_dphideta |
| double | m_neighborMultiplier |
| std::vector< std::vector< long > > | m_extraPhi |
| std::vector< std::vector< long > > | m_nHisto [2] |
| std::vector< std::vector< double > > | m_zHisto [2] |
| long | m_NMax |
| int | m_nFirstLayers |
| double | m_vrtxDistCut |
| double | m_vrtxMixing |
| int | m_nvrtxSeparation |
| bool | m_preferCentralZ |
| bool | m_trustSPprovider |
| double | m_returnval |
| bool | m_fullScanMode |
| int | m_tripletMode |
| double | m_tripletDZ |
| double | m_tripletDK |
| double | m_halfTripletDK |
| double | m_tripletDP |
| double | m_weightThreshold |
| to apply a hreshold to the found vertex candidates | |
Definition at line 39 of file IDScanZFinderInternal.h.
| Run1::IDScanZFinderInternal< SpacePoint >::IDScanZFinderInternal | ( | const std::string & | type, |
| const std::string & | name ) |
to allow variable size layers
why is this called from the constructor ???? it is called again during initialise? do not call that here initializeInternal( m_IdScan_MaxNumLayers, m_IdScan_LastBrlLayer );
Definition at line 172 of file IDScanZFinderInternal.h.
|
inlinevirtual |
Definition at line 52 of file IDScanZFinderInternal.h.
|
protected |
Definition at line 320 of file IDScanZFinderInternal.h.
|
protected |
|
protected |
get from roi now
DOES NOT span the phi=pi boundary
DOES span the phi=pi boundary
resize excluding points outside the RoI
Definition at line 351 of file IDScanZFinderInternal.h.
| std::vector< typename IDScanZFinderInternal< SpacePoint >::vertex > * Run1::IDScanZFinderInternal< SpacePoint >::findZInternal | ( | const std::vector< const SpacePoint * > & | spVec, |
| const IRoiDescriptor & | roi ) |
First calculate the pedestal to be subtracted (only used in the HI case at the moment)
skip bins used for the vertex candidates
if ( ztest >= maxh && ( ( m_applyWeightThreshold && ztest>m_weightThreshold ) || !m_applyWeightThreshold ) ) { apply threshold later - should we wish it
if we are in triplet mode, even a single pair means 3 consistent hits also bomb out if no maximum (above threshold) is found
if found a vertex flag the bins so we don't use them again
at this point we have the histogram with the highest N vertices removed so we can find the "non vertex" pedestal from these, although it will be somewhat lower than perhaps it should be, in case some of the "vertices" we are removing are just random upwards fluctuations
NB: have moved pedestal calculation to before the extraction of the vertices if we calculate it after, then we have too low a pedestal if some vertices are really random fluctuations. If we calculate it before then we overestimate the pedestal, really we should try to decide how many real vertices we have, and then only exclude them, but that level of detail is probably not justified by the correlation with the offline track multiplicity on the vertex
copy vertices to output vector - this is so we can first impose cuts on the vertices we have found should we wish to
NB: if m_weightThreshold==0 then pedestal == 0 also
AAAAAAAAARRRGHH!!! This is ridiculous, passing parameters about differently because we don't have a proper interface defined
Definition at line 525 of file IDScanZFinderInternal.h.
|
inlineprotected |
Definition at line 81 of file IDScanZFinderInternal.h.
|
inlineprotected |
Definition at line 78 of file IDScanZFinderInternal.h.
|
inline |
Definition at line 58 of file IDScanZFinderInternal.h.
|
inline |
Definition at line 61 of file IDScanZFinderInternal.h.
|
inlineprotected |
Definition at line 88 of file IDScanZFinderInternal.h.
|
inlineprotected |
Definition at line 77 of file IDScanZFinderInternal.h.
|
inlineprotected |
Definition at line 79 of file IDScanZFinderInternal.h.
|
inline |
Definition at line 59 of file IDScanZFinderInternal.h.
| void Run1::IDScanZFinderInternal< SpacePoint >::initializeInternal | ( | long | maxLayers, |
| long | lastBarrel ) |
this has to be computed event by event !!! m_NumPhiSlices = long (ceil( m_usedROIphiWidth*m_invPhiSliceSize ));
barrel
standard Endcap
increment all the layer ids by one because of the IBL IF and ONLY IF the IBL is included
Definition at line 227 of file IDScanZFinderInternal.h.
|
inlineprotected |
Definition at line 82 of file IDScanZFinderInternal.h.
|
inline |
Definition at line 64 of file IDScanZFinderInternal.h.
|
inlineprotected |
Definition at line 87 of file IDScanZFinderInternal.h.
|
protected |
Definition at line 120 of file IDScanZFinderInternal.h.
|
protected |
Definition at line 123 of file IDScanZFinderInternal.h.
|
protected |
Definition at line 126 of file IDScanZFinderInternal.h.
|
protected |
Definition at line 104 of file IDScanZFinderInternal.h.
|
protected |
Definition at line 146 of file IDScanZFinderInternal.h.
|
protected |
Definition at line 151 of file IDScanZFinderInternal.h.
|
protected |
Definition at line 95 of file IDScanZFinderInternal.h.
|
protected |
maximum number of layers and last barrel layer
Definition at line 94 of file IDScanZFinderInternal.h.
|
protected |
Definition at line 100 of file IDScanZFinderInternal.h.
|
protected |
Definition at line 108 of file IDScanZFinderInternal.h.
|
protected |
Definition at line 116 of file IDScanZFinderInternal.h.
|
protected |
Definition at line 124 of file IDScanZFinderInternal.h.
|
protected |
Definition at line 135 of file IDScanZFinderInternal.h.
|
protected |
Definition at line 130 of file IDScanZFinderInternal.h.
|
protected |
Definition at line 133 of file IDScanZFinderInternal.h.
|
protected |
Definition at line 111 of file IDScanZFinderInternal.h.
|
protected |
Definition at line 101 of file IDScanZFinderInternal.h.
|
protected |
Definition at line 139 of file IDScanZFinderInternal.h.
|
protected |
Definition at line 103 of file IDScanZFinderInternal.h.
|
protected |
Definition at line 113 of file IDScanZFinderInternal.h.
|
protected |
Definition at line 140 of file IDScanZFinderInternal.h.
|
protected |
Definition at line 144 of file IDScanZFinderInternal.h.
|
protected |
Definition at line 106 of file IDScanZFinderInternal.h.
|
protected |
Definition at line 118 of file IDScanZFinderInternal.h.
|
protected |
Definition at line 150 of file IDScanZFinderInternal.h.
|
protected |
Definition at line 152 of file IDScanZFinderInternal.h.
|
protected |
Definition at line 149 of file IDScanZFinderInternal.h.
|
protected |
Definition at line 148 of file IDScanZFinderInternal.h.
|
protected |
Definition at line 142 of file IDScanZFinderInternal.h.
|
protected |
Definition at line 115 of file IDScanZFinderInternal.h.
|
protected |
Definition at line 105 of file IDScanZFinderInternal.h.
|
protected |
Definition at line 107 of file IDScanZFinderInternal.h.
|
protected |
Definition at line 137 of file IDScanZFinderInternal.h.
|
protected |
Definition at line 138 of file IDScanZFinderInternal.h.
|
protected |
to apply a hreshold to the found vertex candidates
Definition at line 156 of file IDScanZFinderInternal.h.
|
protected |
Definition at line 109 of file IDScanZFinderInternal.h.
|
protected |
Definition at line 131 of file IDScanZFinderInternal.h.
|
protected |
Definition at line 121 of file IDScanZFinderInternal.h.