Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:31:42

0001 #include "TrackingTools/TransientTrackingRecHit/interface/TransientTrackingRecHit.h"
0002 
0003 #ifdef COUNT_HITS
0004 #include <cstdio>
0005 namespace {
0006 
0007   struct Stat {
0008     ~Stat() { printf("TTRH: %d/%d/%d/%d\n", tot[0], tot[1], tot[2], tot[3]); }
0009     int tot[4] = {0};
0010   };
0011   Stat stat;
0012 }  // namespace
0013 
0014 void countTTRH(TrackingRecHit::Type type) { ++stat.tot[type]; }
0015 #endif