HerdSoftware  0.1.1
MCTruth.h
Go to the documentation of this file.
1 /*
2  * MCTruth.h
3  *
4  * Created on: 21 Jan 2019
5  * Author: Nicola Mori
6  */
7 
8 #ifndef HERD_MCTRUTH_H_
9 #define HERD_MCTRUTH_H_
10 
12 
13 #ifdef HS_USE_ROOT
14 #include "Rtypes.h"
15 #endif
16 
17 #include <vector>
18 
19 namespace Herd {
20 
24 struct MCTruth {
26  virtual ~MCTruth() = default;
27 
28  std::vector<MCPrimaryParticle> primaries;
29  unsigned int nDiscarded;
30 
31 #ifdef HS_USE_ROOT
32  ClassDef(MCTruth, 1)
33 #endif
34 };
35 
36 } // namespace Herd
37 
38 #endif /* HERD_MCTRUTH_H_ */
CssGeoParams.h CssGeoParams class declaration.
Definition: CaloPDCalibrationAlgo.h:24
unsigned int nDiscarded
Number of discarded events before generating the current one.
Definition: MCTruth.h:29
std::vector< MCPrimaryParticle > primaries
Primary particles in this event.
Definition: MCTruth.h:28
Data structure for the Monte Carlo truth of each event.
Definition: MCTruth.h:24
virtual ~MCTruth()=default
Virtual destructor.