SND@LHC Software
Loading...
Searching...
No Matches
Hit2MCPoints.cxx
Go to the documentation of this file.
1
#include "
Hit2MCPoints.h
"
2
#include <stdio.h>
3
4
// ----- Default constructor -------------------------------------------
5
Hit2MCPoints::Hit2MCPoints
()
6
: TObject()
7
{
8
}
9
10
// ----- Fill ------------------------------------------
11
void
Hit2MCPoints::Add
(
int
detID,
int
key,
float
w)
12
{
13
linksToMCPoints
[detID][key]=w;
14
}
15
16
// ----- Copy constructor ----------------------------------------------
17
Hit2MCPoints::Hit2MCPoints
(
const
Hit2MCPoints
& ti)
18
: TObject(ti),
19
linksToMCPoints(ti.linksToMCPoints)
20
{
21
}
22
// ----- Destructor ----------------------------------------------------
23
Hit2MCPoints::~Hit2MCPoints
() { }
24
// -------------------------------------------------------------------------
25
26
ClassImp
(
Hit2MCPoints
)
Hit2MCPoints.h
Hit2MCPoints
Definition
Hit2MCPoints.h:14
Hit2MCPoints::~Hit2MCPoints
virtual ~Hit2MCPoints()
Definition
Hit2MCPoints.cxx:23
Hit2MCPoints::Hit2MCPoints
Hit2MCPoints()
Definition
Hit2MCPoints.cxx:5
Hit2MCPoints::Add
void Add(int detID, int key, float w)
Definition
Hit2MCPoints.cxx:11
Hit2MCPoints::linksToMCPoints
std::unordered_map< int, std::unordered_map< int, float > > linksToMCPoints
array of detector elements with list of contributing MCPoints
Definition
Hit2MCPoints.h:47
ClassImp
ClassImp(ecalContFact) ecalContFact
Definition
ecalContFact.cxx:8
shipdata
Hit2MCPoints.cxx
Generated by
1.9.8