![]() |
|
|||
File indexing completed on 2025-08-06 08:17:54
0001 /** 0002 * @file mvtx/MvtxHitPruner.h 0003 * @author Yasser Corrales Morales 0004 * @date April 2024 0005 * @brief Definition of the MVTX NoiseMap 0006 */ 0007 0008 #include "MvtxNoiseMap.h" 0009 0010 ClassImp(MvtxNoiseMap); 0011 0012 //void NoiseMap::print() 0013 //{ 0014 // int nc = 0, np = 0, nm = 0; 0015 // for (const auto& map : mNoisyPixels) { 0016 // if (!map.empty()) { 0017 // nc++; 0018 // } 0019 // np += map.size(); 0020 // if (map.find(getKey(-1, -1)) != map.end()) { 0021 // nm++; 0022 // nc--; 0023 // np--; 0024 // } 0025 // } 0026 // LOG(info) << "Number of fully maske chips " << nm; 0027 // LOG(info) << "Number of noisy chips: " << nc; 0028 // LOG(info) << "Number of noisy pixels: " << np; 0029 // LOG(info) << "Number of of strobes: " << mNumOfStrobes; 0030 // LOG(info) << "Probability threshold: " << mProbThreshold; 0031 //} 0032 // 0033 //void NoiseMap::fill(const gsl::span<const CompClusterExt> data) 0034 //{ 0035 // for (const auto& c : data) { 0036 // if (c.getPatternID() != o2::itsmft::CompCluster::InvalidPatternID) { 0037 // // For the noise calibration, we use "pass1" clusters... 0038 // continue; 0039 // } 0040 // 0041 // auto id = c.getSensorID(); 0042 // auto row = c.getRow(); 0043 // auto col = c.getCol(); 0044 // 0045 // // A simplified 1-pixel calibration 0046 // increaseNoiseCount(id, row, col); 0047 // } 0048 //}
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |