Skip to content

Commit 44a3d33

Browse files
committed
Updated columns to be filled as int16_t rather than short_t.
1 parent 4059332 commit 44a3d33

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

PhysicsTools/NanoAOD/plugins/LHETablesProducer.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ class LHETablesProducer : public edm::global::EDProducer<> {
6666
std::vector<int> vals_pid;
6767
std::vector<int> vals_status;
6868
std::vector<int> vals_spin;
69-
std::vector<Short_t> vals_firstMotherIdx;
70-
std::vector<Short_t> vals_lastMotherIdx;
69+
std::vector<int16_t> vals_firstMotherIdx;
70+
std::vector<int16_t> vals_lastMotherIdx;
7171
alphaS = hepeup.AQCDUP;
7272

7373
int nOutPart = 0;
@@ -170,9 +170,9 @@ class LHETablesProducer : public edm::global::EDProducer<> {
170170
outPart->addColumn<int>("pdgId", vals_pid, "PDG ID of LHE particles");
171171
outPart->addColumn<int>("status", vals_status, "LHE particle status; -1:incoming, 1:outgoing");
172172
outPart->addColumn<int>("spin", vals_spin, "Spin of LHE particles");
173-
outPart->addColumn<Short_t>(
173+
outPart->addColumn<int16_t>(
174174
"firstMotherIdx", vals_firstMotherIdx, "Index of this particle's first mother in the LHEPart collection");
175-
outPart->addColumn<Short_t>(
175+
outPart->addColumn<int16_t>(
176176
"lastMotherIdx", vals_lastMotherIdx, "Index of this particle's last mother in the LHEPart collection");
177177

178178
return outPart;

0 commit comments

Comments
 (0)