78 int nReadoutHits,
int deepestLayerHit,
float summedDet,
79 float summedTightIso,
float maxCellDep,
float showerRMS,
float xStd,
80 float yStd,
float avgLayerHit,
float stdLayerHit,
float ecalBackEnergy,
81 int nStraightTracks,
int nLinregTracks,
int firstNearPhLayer,
82 int nNearPhHits,
int photonTerritoryHits,
float epAng,
float epSep,
85 std::vector<float> electronContainmentEnergy,
86 std::vector<float> photonContainmentEnergy,
87 std::vector<float> outsideContainmentEnergy,
88 std::vector<int> outsideContainmentNHits,
89 std::vector<float> outsideContainmentXStd,
90 std::vector<float> outsideContainmentYStd,
92 std::vector<float> energySeg, std::vector<float> xMeanSeg,
93 std::vector<float> yMeanSeg, std::vector<float> xStdSeg,
94 std::vector<float> yStdSeg, std::vector<float> layerMeanSeg,
95 std::vector<float> layerStdSeg,
97 std::vector<std::vector<float>> eContEnergy,
98 std::vector<std::vector<float>> eContXMean,
99 std::vector<std::vector<float>> eContYMean,
100 std::vector<std::vector<float>> gContEnergy,
101 std::vector<std::vector<int>> gContNHits,
102 std::vector<std::vector<float>> gContXMean,
103 std::vector<std::vector<float>> gContYMean,
104 std::vector<std::vector<float>> oContEnergy,
105 std::vector<std::vector<int>> oContNHits,
106 std::vector<std::vector<float>> oContXMean,
107 std::vector<std::vector<float>> oContYMean,
108 std::vector<std::vector<float>> oContXStd,
109 std::vector<std::vector<float>> oContYStd,
110 std::vector<std::vector<float>> oContLayerMean,
111 std::vector<std::vector<float>> oContLayerStd,
113 std::vector<float> EcalLayerEdepReadout, std::vector<double> recoilP,
114 std::vector<float> recoilPos) {
115 nReadoutHits_ = nReadoutHits;
116 summedDet_ = summedDet;
117 summedTightIso_ = summedTightIso;
118 maxCellDep_ = maxCellDep;
119 showerRMS_ = showerRMS;
122 avgLayerHit_ = avgLayerHit;
123 stdLayerHit_ = stdLayerHit;
124 deepestLayerHit_ = deepestLayerHit;
125 ecalBackEnergy_ = ecalBackEnergy;
136 electronContainmentEnergy_ = electronContainmentEnergy;
137 photonContainmentEnergy_ = photonContainmentEnergy;
138 outsideContainmentEnergy_ = outsideContainmentEnergy;
139 outsideContainmentNHits_ = outsideContainmentNHits;
140 outsideContainmentXStd_ = outsideContainmentXStd;
141 outsideContainmentYStd_ = outsideContainmentYStd;
143 energySeg_ = energySeg;
144 xMeanSeg_ = xMeanSeg;
145 yMeanSeg_ = yMeanSeg;
148 layerMeanSeg_ = layerMeanSeg;
149 layerStdSeg_ = layerStdSeg;
151 eContEnergy_ = eContEnergy;
152 eContXMean_ = eContXMean;
153 eContYMean_ = eContYMean;
154 gContEnergy_ = gContEnergy;
155 gContNHits_ = gContNHits;
156 gContXMean_ = gContXMean;
157 gContYMean_ = gContYMean;
158 oContEnergy_ = oContEnergy;
159 oContNHits_ = oContNHits;
160 oContXMean_ = oContXMean;
161 oContYMean_ = oContYMean;
162 oContXStd_ = oContXStd;
163 oContYStd_ = oContYStd;
164 oContLayerMean_ = oContLayerMean;
165 oContLayerStd_ = oContLayerStd;
169 if (!recoilP.empty()) {
177 ecalLayerEdepReadout_ = EcalLayerEdepReadout;
void setVariables(int nReadoutHits, int deepestLayerHit, float summedDet, float summedTightIso, float maxCellDep, float showerRMS, float xStd, float yStd, float avgLayerHit, float stdLayerHit, float ecalBackEnergy, int nStraightTracks, int nLinregTracks, int firstNearPhLayer, int nNearPhHits, int photonTerritoryHits, float epAng, float epSep, float epDot, std::vector< float > electronContainmentEnergy, std::vector< float > photonContainmentEnergy, std::vector< float > outsideContainmentEnergy, std::vector< int > outsideContainmentNHits, std::vector< float > outsideContainmentXStd, std::vector< float > outsideContainmentYStd, std::vector< float > energySeg, std::vector< float > xMeanSeg, std::vector< float > yMeanSeg, std::vector< float > xStdSeg, std::vector< float > yStdSeg, std::vector< float > layerMeanSeg, std::vector< float > layerStdSeg, std::vector< std::vector< float > > eContEnergy, std::vector< std::vector< float > > eContXMean, std::vector< std::vector< float > > eContYMean, std::vector< std::vector< float > > gContEnergy, std::vector< std::vector< int > > gContNHits, std::vector< std::vector< float > > gContXMean, std::vector< std::vector< float > > gContYMean, std::vector< std::vector< float > > oContEnergy, std::vector< std::vector< int > > oContNHits, std::vector< std::vector< float > > oContXMean, std::vector< std::vector< float > > oContYMean, std::vector< std::vector< float > > oContXStd, std::vector< std::vector< float > > oContYStd, std::vector< std::vector< float > > oContLayerMean, std::vector< std::vector< float > > oContLayerStd, std::vector< float > EcalLayerEdepReadout, std::vector< double > recoilP, std::vector< float > recoilPos)
Set the sim particle and 'is findable' flag.