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 -------------------------------------------
6 : TObject()
7{
8}
9
10// ----- Fill ------------------------------------------
11void Hit2MCPoints::Add(int detID,int key, float w)
12{
13 linksToMCPoints[detID][key]=w;
14}
15
16// ----- Copy constructor ----------------------------------------------
18 : TObject(ti),
19 linksToMCPoints(ti.linksToMCPoints)
20{
21}
22// ----- Destructor ----------------------------------------------------
24// -------------------------------------------------------------------------
25
virtual ~Hit2MCPoints()
void Add(int detID, int key, float w)
std::unordered_map< int, std::unordered_map< int, float > > linksToMCPoints
array of detector elements with list of contributing MCPoints
ClassImp(ecalContFact) ecalContFact