CMS 3D CMS Logo

PixelDigitizerAlgorithm.cc
Go to the documentation of this file.
1 #include <iostream>
2 #include <cmath>
3 
6 
11 
16 
17 // Geometry
21 
22 using namespace edm;
23 using namespace sipixelobjects;
24 
26  if (use_ineff_from_db_) // load gain calibration service fromdb...
27  theSiPixelGainCalibrationService_->setESObjects(es);
28 
29  if (use_deadmodule_DB_)
30  es.get<SiPixelQualityRcd>().get(SiPixelBadModule_);
31 
32  if (use_LorentzAngle_DB_) // Get Lorentz angle from DB record
33  es.get<SiPixelLorentzAngleSimRcd>().get(SiPixelLorentzAngle_);
34 
35  // gets the map and geometry from the DB (to kill ROCs)
36  es.get<SiPixelFedCablingMapRcd>().get(fedCablingMap_);
37  es.get<TrackerDigiGeometryRecord>().get(geom_);
38 }
39 
41  : Phase2TrackerDigitizerAlgorithm(conf.getParameter<ParameterSet>("AlgorithmCommon"),
42  conf.getParameter<ParameterSet>("PixelDigitizerAlgorithm")),
43  odd_row_interchannelCoupling_next_row_(conf.getParameter<ParameterSet>("PixelDigitizerAlgorithm")
44  .getParameter<double>("Odd_row_interchannelCoupling_next_row")),
45  even_row_interchannelCoupling_next_row_(conf.getParameter<ParameterSet>("PixelDigitizerAlgorithm")
46  .getParameter<double>("Even_row_interchannelCoupling_next_row")),
47  odd_column_interchannelCoupling_next_column_(
48  conf.getParameter<ParameterSet>("PixelDigitizerAlgorithm")
49  .getParameter<double>("Odd_column_interchannelCoupling_next_column")),
50  even_column_interchannelCoupling_next_column_(
51  conf.getParameter<ParameterSet>("PixelDigitizerAlgorithm")
52  .getParameter<double>("Even_column_interchannelCoupling_next_column")),
53  apply_timewalk_(conf.getParameter<ParameterSet>("PixelDigitizerAlgorithm").getParameter<bool>("ApplyTimewalk")),
54  timewalk_model_(
55  conf.getParameter<ParameterSet>("PixelDigitizerAlgorithm").getParameter<edm::ParameterSet>("TimewalkModel")) {
56  pixelFlag_ = true;
57  LogDebug("PixelDigitizerAlgorithm") << "Algorithm constructed "
58  << "Configuration parameters:"
59  << "Threshold/Gain = "
60  << "threshold in electron Endcap = " << theThresholdInE_Endcap_
61  << "threshold in electron Barrel = " << theThresholdInE_Barrel_ << " "
63  << " The delta cut-off is set to " << tMax_ << " pix-inefficiency "
65 }
66 PixelDigitizerAlgorithm::~PixelDigitizerAlgorithm() { LogDebug("PixelDigitizerAlgorithm") << "Algorithm deleted"; }
67 void PixelDigitizerAlgorithm::accumulateSimHits(std::vector<PSimHit>::const_iterator inputBegin,
68  std::vector<PSimHit>::const_iterator inputEnd,
69  const size_t inputBeginGlobalIndex,
70  const uint32_t tofBin,
71  const Phase2TrackerGeomDetUnit* pixdet,
72  const GlobalVector& bfield) {
73  // produce SignalPoint's for all SimHit's in detector
74  // Loop over hits
75  uint32_t detId = pixdet->geographicalId().rawId();
76  size_t simHitGlobalIndex = inputBeginGlobalIndex; // This needs to be stored to create the digi-sim link later
77 
78  // find the relevant hits
79  std::vector<PSimHit> matchedSimHits;
80  std::copy_if(inputBegin, inputEnd, std::back_inserter(matchedSimHits), [detId](auto const& hit) -> bool {
81  return hit.detUnitId() == detId;
82  });
83  // loop over a much reduced set of SimHits
84  for (auto const& hit : matchedSimHits) {
85  LogDebug("PixelDigitizerAlgorithm") << hit.particleType() << " " << hit.pabs() << " " << hit.energyLoss() << " "
86  << hit.tof() << " " << hit.trackId() << " " << hit.processType() << " "
87  << hit.detUnitId() << hit.entryPoint() << " " << hit.exitPoint();
88 
89  std::vector<DigitizerUtility::EnergyDepositUnit> ionization_points;
90  std::vector<DigitizerUtility::SignalPoint> collection_points;
91 
92  double signalScale = 1.0;
93  // fill collection_points for this SimHit, indpendent of topology
94  if (select_hit(hit, (pixdet->surface().toGlobal(hit.localPosition()).mag() * c_inv), signalScale)) {
95  primary_ionization(hit, ionization_points); // fills ionization_points
96 
97  // transforms ionization_points -> collection_points
98  drift(hit, pixdet, bfield, ionization_points, collection_points);
99 
100  // compute induced signal on readout elements and add to _signal
101  // hit needed only for SimHit<-->Digi link
102  induce_signal(hit, simHitGlobalIndex, tofBin, pixdet, collection_points);
103  }
104  ++simHitGlobalIndex;
105  }
106 }
107 //
108 // -- Select the Hit for Digitization
109 //
110 bool PixelDigitizerAlgorithm::select_hit(const PSimHit& hit, double tCorr, double& sigScale) {
111  double time = hit.tof() - tCorr;
112  return (time >= theTofLowerCut_ && time < theTofUpperCut_);
113 }
114 
115 // ======================================================================
116 //
117 // Add Cross-talk contribution
118 //
119 // ======================================================================
121  if (!pixelFlag_)
122  return;
123 
124  const Phase2TrackerTopology* topol = &pixdet->specificTopology();
125 
126  // cross-talk calculation valid for the case of 25x100 pixels
127  const float pitch_first = 0.0025;
128  const float pitch_second = 0.0100;
129 
130  // 0.5 um tolerance when comparing the pitch to accommodate the small changes in different TK geometrie (temporary fix)
131  const double pitch_tolerance(0.0005);
132 
133  if (std::abs(topol->pitch().first - pitch_first) > pitch_tolerance ||
134  std::abs(topol->pitch().second - pitch_second) > pitch_tolerance)
135  return;
136 
137  uint32_t detID = pixdet->geographicalId().rawId();
138  signal_map_type& theSignal = _signal[detID];
139  signal_map_type signalNew;
140 
141  int numRows = topol->nrows();
142  int numColumns = topol->ncolumns();
143 
144  for (auto& s : theSignal) {
145  float signalInElectrons = s.second.ampl(); // signal in electrons
146 
147  auto hitChan = PixelDigi::channelToPixel(s.first);
148 
149  float signalInElectrons_odd_row_Xtalk_next_row = signalInElectrons * odd_row_interchannelCoupling_next_row_;
150  float signalInElectrons_even_row_Xtalk_next_row = signalInElectrons * even_row_interchannelCoupling_next_row_;
151  float signalInElectrons_odd_column_Xtalk_next_column =
153  float signalInElectrons_even_column_Xtalk_next_column =
155 
156  // subtract the charge which will be shared
157  s.second.set(signalInElectrons - signalInElectrons_odd_row_Xtalk_next_row -
158  signalInElectrons_even_row_Xtalk_next_row - signalInElectrons_odd_column_Xtalk_next_column -
159  signalInElectrons_even_column_Xtalk_next_column);
160 
161  if (hitChan.first != 0) {
162  auto XtalkPrev = std::make_pair(hitChan.first - 1, hitChan.second);
163  int chanXtalkPrev = pixelFlag_ ? PixelDigi::pixelToChannel(XtalkPrev.first, XtalkPrev.second)
164  : Phase2TrackerDigi::pixelToChannel(XtalkPrev.first, XtalkPrev.second);
165  if (hitChan.first % 2 == 1)
166  signalNew.emplace(chanXtalkPrev,
167  DigitizerUtility::Amplitude(signalInElectrons_even_row_Xtalk_next_row, nullptr, -1.0));
168  else
169  signalNew.emplace(chanXtalkPrev,
170  DigitizerUtility::Amplitude(signalInElectrons_odd_row_Xtalk_next_row, nullptr, -1.0));
171  }
172  if (hitChan.first < numRows - 1) {
173  auto XtalkNext = std::make_pair(hitChan.first + 1, hitChan.second);
174  int chanXtalkNext = pixelFlag_ ? PixelDigi::pixelToChannel(XtalkNext.first, XtalkNext.second)
175  : Phase2TrackerDigi::pixelToChannel(XtalkNext.first, XtalkNext.second);
176  if (hitChan.first % 2 == 1)
177  signalNew.emplace(chanXtalkNext,
178  DigitizerUtility::Amplitude(signalInElectrons_odd_row_Xtalk_next_row, nullptr, -1.0));
179  else
180  signalNew.emplace(chanXtalkNext,
181  DigitizerUtility::Amplitude(signalInElectrons_even_row_Xtalk_next_row, nullptr, -1.0));
182  }
183 
184  if (hitChan.second != 0) {
185  auto XtalkPrev = std::make_pair(hitChan.first, hitChan.second - 1);
186  int chanXtalkPrev = pixelFlag_ ? PixelDigi::pixelToChannel(XtalkPrev.first, XtalkPrev.second)
187  : Phase2TrackerDigi::pixelToChannel(XtalkPrev.first, XtalkPrev.second);
188  if (hitChan.second % 2 == 1)
189  signalNew.emplace(chanXtalkPrev,
190  DigitizerUtility::Amplitude(signalInElectrons_even_column_Xtalk_next_column, nullptr, -1.0));
191  else
192  signalNew.emplace(chanXtalkPrev,
193  DigitizerUtility::Amplitude(signalInElectrons_odd_column_Xtalk_next_column, nullptr, -1.0));
194  }
195  if (hitChan.second < numColumns - 1) {
196  auto XtalkNext = std::make_pair(hitChan.first, hitChan.second + 1);
197  int chanXtalkNext = pixelFlag_ ? PixelDigi::pixelToChannel(XtalkNext.first, XtalkNext.second)
198  : Phase2TrackerDigi::pixelToChannel(XtalkNext.first, XtalkNext.second);
199  if (hitChan.second % 2 == 1)
200  signalNew.emplace(chanXtalkNext,
201  DigitizerUtility::Amplitude(signalInElectrons_odd_column_Xtalk_next_column, nullptr, -1.0));
202  else
203  signalNew.emplace(chanXtalkNext,
204  DigitizerUtility::Amplitude(signalInElectrons_even_column_Xtalk_next_column, nullptr, -1.0));
205  }
206  }
207  for (auto const& l : signalNew) {
208  int chan = l.first;
209  auto iter = theSignal.find(chan);
210  if (iter != theSignal.end()) {
211  iter->second += l.second.ampl();
212  } else {
213  theSignal.emplace(chan, DigitizerUtility::Amplitude(l.second.ampl(), nullptr, -1.0));
214  }
215  }
216 }
217 
219  : x_(pset.getParameter<std::vector<double>>("charge")), y_(pset.getParameter<std::vector<double>>("delay")) {
220  if (x_.size() != y_.size())
221  throw cms::Exception("Configuration")
222  << "Timewalk model error: the number of charge values does not match the number of delay values!";
223 }
224 
226  auto it = std::lower_bound(x_.begin(), x_.end(), x);
227  if (it == x_.begin())
228  return y_.front();
229  if (it == x_.end())
230  return y_.back();
231  int index = std::distance(x_.begin(), it);
232  double x_high = *it;
233  double x_low = *(--it);
234  double p = (x - x_low) / (x_high - x_low);
235  return p * y_[index] + (1 - p) * y_[index - 1];
236 }
237 
239  threshold_values = pset.getParameter<std::vector<double>>("ThresholdValues");
240  const auto& curve_psetvec = pset.getParameter<std::vector<edm::ParameterSet>>("Curves");
241  if (threshold_values.size() != curve_psetvec.size())
242  throw cms::Exception("Configuration")
243  << "Timewalk model error: the number of threshold values does not match the number of curves.";
244  for (const auto& curve_pset : curve_psetvec)
245  curves.emplace_back(curve_pset);
246 }
247 
248 double PixelDigitizerAlgorithm::TimewalkModel::operator()(double q_in, double q_threshold) const {
249  auto index = find_closest_index(threshold_values, q_threshold);
250  return curves[index](q_in);
251 }
252 
253 std::size_t PixelDigitizerAlgorithm::TimewalkModel::find_closest_index(const std::vector<double>& vec,
254  double value) const {
255  auto it = std::lower_bound(vec.begin(), vec.end(), value);
256  if (it == vec.begin())
257  return 0;
258  else if (it == vec.end())
259  return vec.size() - 1;
260  else {
261  auto it_upper = it;
262  auto it_lower = --it;
263  auto closest = (value - *it_lower > *it_upper - value) ? it_upper : it_lower;
264  return std::distance(vec.begin(), closest);
265  }
266 }
267 //
268 // -- Compare Signal with Threshold
269 //
271  if (charge < thr)
272  return false;
273  if (apply_timewalk_ && hitInfo) {
274  float corrected_time = hitInfo->time();
275  double time = corrected_time + timewalk_model_(charge, thr);
276  return (time >= theTofLowerCut_ && time < theTofUpperCut_);
277  } else
278  return true;
279 }
Vector3DBase
Definition: Vector3DBase.h:8
Phase2TrackerDigitizerAlgorithm::signal_map_type
std::map< int, DigitizerUtility::Amplitude, std::less< int > > signal_map_type
Definition: Phase2TrackerDigitizerAlgorithm.h:100
electrons_cff.bool
bool
Definition: electrons_cff.py:372
Phase2TrackerDigitizerAlgorithm::theThresholdInE_Barrel_
const float theThresholdInE_Barrel_
Definition: Phase2TrackerDigitizerAlgorithm.h:141
MessageLogger.h
SiPixelQualityRcd
Definition: SiPixelQualityRcd.h:13
PixelTopology.h
Phase2TrackerDigitizerAlgorithm::theTofUpperCut_
const float theTofUpperCut_
Definition: Phase2TrackerDigitizerAlgorithm.h:150
edm
HLT enums.
Definition: AlignableModifier.h:19
PixelDigitizerAlgorithm::init
void init(const edm::EventSetup &es) override
Definition: PixelDigitizerAlgorithm.cc:25
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
PSimHitContainer.h
PixelTopology::pitch
virtual std::pair< float, float > pitch() const =0
PixelDigitizerAlgorithm::TimewalkModel::TimewalkModel
TimewalkModel(const edm::ParameterSet &pset)
Definition: PixelDigitizerAlgorithm.cc:238
GlobalPixel.h
HLT_2018_cff.distance
distance
Definition: HLT_2018_cff.py:6417
PixelDigitizerAlgorithm::PixelDigitizerAlgorithm
PixelDigitizerAlgorithm(const edm::ParameterSet &conf)
Definition: PixelDigitizerAlgorithm.cc:40
PixelDigitizerAlgorithm::odd_column_interchannelCoupling_next_column_
const double odd_column_interchannelCoupling_next_column_
Definition: PixelDigitizerAlgorithm.h:59
PixelDigitizerAlgorithm::TimewalkModel::find_closest_index
std::size_t find_closest_index(const std::vector< double > &vec, double value) const
Definition: PixelDigitizerAlgorithm.cc:253
SiPixelLorentzAngleSimRcd.h
PixelDigitizerAlgorithm::odd_row_interchannelCoupling_next_row_
const double odd_row_interchannelCoupling_next_row_
Definition: PixelDigitizerAlgorithm.h:57
DDAxes::x
SiPixelGainCalibrationOfflineSimService.h
Phase2TrackerDigi::pixelToChannel
static PackedDigiType pixelToChannel(unsigned int row, unsigned int col)
Definition: Phase2TrackerDigi.h:43
Phase2TrackerDigitizerAlgorithm::theTofLowerCut_
const float theTofLowerCut_
Definition: Phase2TrackerDigitizerAlgorithm.h:149
DigitizerUtility::SimHitInfo::time
float time() const
Definition: DigitizerUtility.h:23
GeomDet::surface
const Plane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:37
PixelDigitizerAlgorithm::apply_timewalk_
bool apply_timewalk_
Definition: PixelDigitizerAlgorithm.h:63
Phase2TrackerDigitizerAlgorithm::primary_ionization
void primary_ionization(const PSimHit &hit, std::vector< DigitizerUtility::EnergyDepositUnit > &ionization_points) const
Definition: Phase2TrackerDigitizerAlgorithm.cc:183
alignCSCRings.s
s
Definition: alignCSCRings.py:92
PixelDigitizerAlgorithm.h
edm::EventSetup::get
T get() const
Definition: EventSetup.h:73
PixelDigitizerAlgorithm::even_row_interchannelCoupling_next_row_
const double even_row_interchannelCoupling_next_row_
Definition: PixelDigitizerAlgorithm.h:58
Phase2TrackerDigitizerAlgorithm::theAdcFullScale_
const int theAdcFullScale_
Definition: Phase2TrackerDigitizerAlgorithm.h:135
SiPixelQualityRcd.h
Service.h
sipixelobjects
Definition: CablingPathToDetUnit.h:4
SiPixelLorentzAngleSimRcd
Definition: SiPixelLorentzAngleSimRcd.h:24
DigitizerUtility::Amplitude
Definition: DigitizerUtility.h:33
PixelGeomDetUnit
Definition: PixelGeomDetUnit.h:15
TrackerDigiGeometryRecord
Definition: TrackerDigiGeometryRecord.h:15
Surface::toGlobal
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
Definition: Surface.h:79
Phase2TrackerDigitizerAlgorithm::induce_signal
void induce_signal(const PSimHit &hit, const size_t hitIndex, const uint32_t tofBin, const Phase2TrackerGeomDetUnit *pixdet, const std::vector< DigitizerUtility::SignalPoint > &collection_points)
Definition: Phase2TrackerDigitizerAlgorithm.cc:389
PixelTopology::ncolumns
virtual int ncolumns() const =0
PixelDigitizerAlgorithm::accumulateSimHits
void accumulateSimHits(const std::vector< PSimHit >::const_iterator inputBegin, const std::vector< PSimHit >::const_iterator inputEnd, const size_t inputBeginGlobalIndex, const uint32_t tofBin, const Phase2TrackerGeomDetUnit *pixdet, const GlobalVector &bfield) override
Definition: PixelDigitizerAlgorithm.cc:67
PixelDigitizerAlgorithm::add_cross_talk
void add_cross_talk(const Phase2TrackerGeomDetUnit *pixdet) override
Definition: PixelDigitizerAlgorithm.cc:120
PixelDigi::pixelToChannel
static int pixelToChannel(int row, int col)
Definition: PixelDigi.h:71
PixelTopology
Definition: PixelTopology.h:10
PixelDigitizerAlgorithm::timewalk_model_
const TimewalkModel timewalk_model_
Definition: PixelDigitizerAlgorithm.h:64
cuda_std::lower_bound
__host__ constexpr __device__ RandomIt lower_bound(RandomIt first, RandomIt last, const T &value, Compare comp={})
Definition: cudastdAlgorithm.h:27
ALCARECOTkAlJpsiMuMu_cff.charge
charge
Definition: ALCARECOTkAlJpsiMuMu_cff.py:47
GeomDet::geographicalId
DetId geographicalId() const
The label of this GeomDet.
Definition: GeomDet.h:64
TrackerDigiGeometryRecord.h
PixelDigitizerAlgorithm::TimewalkCurve::y_
std::vector< double > y_
Definition: PixelDigitizerAlgorithm.h:19
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:670
edm::ParameterSet
Definition: ParameterSet.h:36
Phase2TrackerDigitizerAlgorithm
Definition: Phase2TrackerDigitizerAlgorithm.h:58
SiPixelFedCablingMapRcd.h
Phase2TrackerDigitizerAlgorithm::pixelFlag_
bool pixelFlag_
Definition: Phase2TrackerDigitizerAlgorithm.h:241
Phase2TrackerDigitizerAlgorithm::tMax_
const double tMax_
Definition: Phase2TrackerDigitizerAlgorithm.h:173
PixelGeomDetUnit::specificTopology
virtual const PixelTopology & specificTopology() const
Returns a reference to the pixel proxy topology.
Definition: PixelGeomDetUnit.cc:17
edm::get
T const & get(Event const &event, InputTag const &tag) noexcept(false)
Definition: Event.h:669
PixelDigitizerAlgorithm::TimewalkCurve::x_
std::vector< double > x_
Definition: PixelDigitizerAlgorithm.h:18
value
Definition: value.py:1
PixelDigitizerAlgorithm::isAboveThreshold
bool isAboveThreshold(const DigitizerUtility::SimHitInfo *hitInfo, float charge, float thr) override
Definition: PixelDigitizerAlgorithm.cc:270
Phase2TrackerDigitizerAlgorithm::theElectronPerADC_
const float theElectronPerADC_
Definition: Phase2TrackerDigitizerAlgorithm.h:134
edm::EventSetup
Definition: EventSetup.h:57
PixelDigitizerAlgorithm::even_column_interchannelCoupling_next_column_
const double even_column_interchannelCoupling_next_column_
Definition: PixelDigitizerAlgorithm.h:60
Phase2TrackerDigitizerAlgorithm::theThresholdInE_Endcap_
const float theThresholdInE_Endcap_
Definition: Phase2TrackerDigitizerAlgorithm.h:140
cmsLHEtoEOSManager.l
l
Definition: cmsLHEtoEOSManager.py:193
DigitizerUtility::SimHitInfo
Definition: DigitizerUtility.h:14
PixelDigitizerAlgorithm::TimewalkCurve::TimewalkCurve
TimewalkCurve(const edm::ParameterSet &pset)
Definition: PixelDigitizerAlgorithm.cc:218
Phase2TrackerDigitizerAlgorithm::_signal
signalMaps _signal
Definition: Phase2TrackerDigitizerAlgorithm.h:106
mag
T mag() const
The vector magnitude. Equivalent to sqrt(vec.mag2())
Definition: Basic3DVectorLD.h:127
std
Definition: JetResolutionObject.h:76
DetId::rawId
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:57
c_inv
constexpr double c_inv
Definition: Phase2TrackerDigitizerAlgorithm.h:56
officialStyle.chan
chan
lumi = TPaveText(lowX+0.38, lowY+0.061, lowX+0.45, lowY+0.161, "NDC") lumi.SetBorderSize( 0 ) lumi....
Definition: officialStyle.py:106
relativeConstraints.value
value
Definition: relativeConstraints.py:53
PixelGeomDetUnit.h
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46
PixelDigitizerAlgorithm::select_hit
bool select_hit(const PSimHit &hit, double tCorr, double &sigScale) override
Definition: PixelDigitizerAlgorithm.cc:110
cms::Exception
Definition: Exception.h:70
funct::abs
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
Phase2TrackerDigitizerAlgorithm::drift
void drift(const PSimHit &hit, const Phase2TrackerGeomDetUnit *pixdet, const GlobalVector &bfield, const std::vector< DigitizerUtility::EnergyDepositUnit > &ionization_points, std::vector< DigitizerUtility::SignalPoint > &collection_points) const
Definition: Phase2TrackerDigitizerAlgorithm.cc:293
ParameterSet.h
PSimHit
Definition: PSimHit.h:15
SiPixelFedCablingMapRcd
Definition: SiPixelFedCablingMapRcd.h:5
Phase2TrackerDigitizerAlgorithm::addPixelInefficiency_
const bool addPixelInefficiency_
Definition: Phase2TrackerDigitizerAlgorithm.h:160
PixelDigitizerAlgorithm::TimewalkModel::operator()
double operator()(double q_in, double q_threshold) const
Definition: PixelDigitizerAlgorithm.cc:248
ntuplemaker.time
time
Definition: ntuplemaker.py:310
PixelTopology::nrows
virtual int nrows() const =0
PixelDigitizerAlgorithm::~PixelDigitizerAlgorithm
~PixelDigitizerAlgorithm() override
Definition: PixelDigitizerAlgorithm.cc:66
hit
Definition: SiStripHitEffFromCalibTree.cc:88
PixelDigitizerAlgorithm::TimewalkCurve::operator()
double operator()(double x) const
Definition: PixelDigitizerAlgorithm.cc:225
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
PixelDigi::channelToPixel
static std::pair< int, int > channelToPixel(int ch)
Definition: PixelDigi.h:65