Main Page
Namespaces
Classes
Package Documentation
TrackingTools
TransientTrackingRecHit
src
TransientTrackingRecHit.cc
Go to the documentation of this file.
1
#include "
TrackingTools/TransientTrackingRecHit/interface/TransientTrackingRecHit.h
"
2
3
4
#ifdef COUNT_HITS
5
#include<cstdio>
6
namespace
{
7
8
struct
Stat {
9
~Stat() {
10
printf(
"TTRH: %d/%d/%d/%d\n"
,tot[0],tot[1],tot[2],tot[3]);
11
}
12
int
tot[4]={0};
13
};
14
Stat
stat
;
15
}
16
17
void
countTTRH
(
TrackingRecHit::Type
type
) {
18
++
stat
.tot[
type
];
19
}
20
#endif
21
type
type
Definition:
HCALResponse.h:21
stat
TransientTrackingRecHit.h
trackingPlots.stat
stat
Definition:
trackingPlots.py:306
countTTRH
void countTTRH(TrackingRecHit::Type)
Definition:
TransientTrackingRecHit.h:15
TrackingRecHit::Type
Type
Definition:
TrackingRecHit.h:50
Generated for CMSSW Reference Manual by
1.8.11