Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
TransientTrackingRecHit.h
countTTRH
void countTTRH(TrackingRecHit::Type)
Definition:
TransientTrackingRecHit.h:15
TrackingRecHit::Type
Type
Definition:
TrackingRecHit.h:53
Generated for CMSSW Reference Manual by
1.8.5