TrackingTools
TransientTrackingRecHit
src
TransientTrackingRecHit.cc
Go to the documentation of this file.
1
#include "
TrackingTools/TransientTrackingRecHit/interface/TransientTrackingRecHit.h
"
2
3
#ifdef COUNT_HITS
4
#include <cstdio>
5
namespace
{
6
7
struct
Stat {
8
~Stat() { printf(
"TTRH: %d/%d/%d/%d\n"
, tot[0], tot[1], tot[2], tot[3]); }
9
int
tot[4] = {0};
10
};
11
Stat
stat
;
12
}
// namespace
13
14
void
countTTRH
(
TrackingRecHit::Type
type
) { ++
stat
.tot[
type
]; }
15
#endif
countTTRH
void countTTRH(TrackingRecHit::Type)
Definition:
TransientTrackingRecHit.h:12
TransientTrackingRecHit.h
TrackingRecHit::Type
Type
Definition:
TrackingRecHit.h:45
type
type
Definition:
SiPixelVCal_PayloadInspector.cc:39
gainCalibHelper::gainCalibPI::type
type
Definition:
SiPixelGainCalibHelper.h:40
edm_modernize_messagelogger.stat
stat
Definition:
edm_modernize_messagelogger.py:27
Generated for CMSSW Reference Manual by
1.8.16