ATLAS Offline Software
Loading...
Searching...
No Matches
SiHitPlots.h File Reference
#include "IPlotBase.h"
Include dependency graph for SiHitPlots.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  IDTPM2::SiHitPlots
struct  IDTPM2::SiHitPlots::Histograms
 oh dear, just the (too many!) histogram variables (we will need these for the test and reference, so these should go inside test, and ref structs like the TrackParaters etc More...

Namespaces

namespace  IDTPM2
 Search the ancestor history, looking for an ancestor that satifies the predicate ...

Macros

#define HIT_PARAMS(X)
 all these enums for all the histograms are really nasty and the names for them, and making sure they are all consistent, is even worse, so once and for all, create single place for the enum and string names to be generated from - guarantees the enum and string names, are always consistent, sadly there seems no better way
#define X(x)
#define X(x)

Functions

std::ostream & operator<< (std::ostream &s, const IDTPM2::SiHitPlots &)

Detailed Description

     copy of class, whichis actually unclear ie
     do we want plots for test and reference ?
     of just one set, and we create two objects
     if we want both ? Why do we have a "Run3"
     set of plots, when they are really "TRT"
     plots - you want TRT hits, ask for TRT hits,
     not "Run3", but probably better to put them
     in a separate class, otherwise ...
Author
sutt
Date
Wed 22 Jul 2026 08:00:05 BST
Id
SiHitPlots.h, v0.0 Wed 22 Jul 2026 08:00:05 BST sutt

Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration

Definition in file SiHitPlots.h.

Macro Definition Documentation

◆ HIT_PARAMS

#define HIT_PARAMS ( X)
Value:
X(NInnerMostPixelHits) \
X(NInnerMostPixelEndcapHits) \
X(NNextToInnerMostPixelHits) \
X(NNextToInnerMostPixelEndcapHits) \
X(NInnerMostPixelSharedHits) \
X(NInnerMostPixelSharedEndcapHits) \
X(NPixelHits) \
X(NPixelHoles) \
X(NPixelSharedHits) \
X(NPixeldEdx) \
X(NSCTHits) \
X(NSCTHoles) \
X(NSCTSharedHits) \
\
X(NInnerMostPixelOutliers) \
X(NInnerMostPixelEndcapOutliers) \
X(NInnerMostPixelSplitHits) \
X(NInnerMostPixelSplitEndcapHits) \
X(NExpectedInnerMostPixelHits) \
X(NExpectedNextToInnerMostPixelHits) \
X(NPixelOutliers) \
X(NPixelContribLayers) \
X(NPixelSplitHits) \
X(NPixelGangedHits) \
X(NPixelGangedHitsFlaggedFakes) \
X(NPixelDeadSensors) \
X(NSCTOutliers) \
X(NSCTDoubleHoles) \
X(NSCTDeadSensors)
#define X(x)
Definition SiHitPlots.h:102

all these enums for all the histograms are really nasty and the names for them, and making sure they are all consistent, is even worse, so once and for all, create single place for the enum and string names to be generated from - guarantees the enum and string names, are always consistent, sadly there seems no better way

Definition at line 36 of file SiHitPlots.h.

36#define HIT_PARAMS(X) \
37 X(NInnerMostPixelHits) \
38 X(NInnerMostPixelEndcapHits) \
39 X(NNextToInnerMostPixelHits) \
40 X(NNextToInnerMostPixelEndcapHits) \
41 X(NInnerMostPixelSharedHits) \
42 X(NInnerMostPixelSharedEndcapHits) \
43 X(NPixelHits) \
44 X(NPixelHoles) \
45 X(NPixelSharedHits) \
46 X(NPixeldEdx) \
47 X(NSCTHits) \
48 X(NSCTHoles) \
49 X(NSCTSharedHits) \
50 \
51 X(NInnerMostPixelOutliers) \
52 X(NInnerMostPixelEndcapOutliers) \
53 X(NInnerMostPixelSplitHits) \
54 X(NInnerMostPixelSplitEndcapHits) \
55 X(NExpectedInnerMostPixelHits) \
56 X(NExpectedNextToInnerMostPixelHits) \
57 X(NPixelOutliers) \
58 X(NPixelContribLayers) \
59 X(NPixelSplitHits) \
60 X(NPixelGangedHits) \
61 X(NPixelGangedHitsFlaggedFakes) \
62 X(NPixelDeadSensors) \
63 X(NSCTOutliers) \
64 X(NSCTDoubleHoles) \
65 X(NSCTDeadSensors)

◆ X [1/2]

#define X ( x)
Value:
#x,

Definition at line 102 of file SiHitPlots.h.

◆ X [2/2]

#define X ( x)
Value:
x,
#define x

Definition at line 102 of file SiHitPlots.h.

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream & s,
const IDTPM2::SiHitPlots &  )
inline

Definition at line 183 of file SiHitPlots.h.

183 {
184 return s;
185}