Skip to content

Commit

Permalink
Add proper table columns for HGCAL objects
Browse files Browse the repository at this point in the history
  • Loading branch information
rovere committed Jul 12, 2019
1 parent 02f77e0 commit 4d8df9c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Fireworks/Core/src/FWItemValueGetter.cc
Expand Up @@ -73,7 +73,11 @@ FWItemValueGetter::FWItemValueGetter(const edm::TypeWithDict& iType, const std::
} else if (iPurpose == "HGCal Trigger Cell" || iPurpose == "HGCal Trigger Cluster") {
addEntry("detId", 0);
} else if (iPurpose == "CaloParticle") {
addEntry("energy", 1);
addEntry("energy", 3);
addEntry("pdgId()", 3, "pdgId");
addEntry("simClusters().size()", 3, "SimClSize");
} else if (iPurpose == "HGCal MultiCluster") {
addEntry("energy", 3);
} else {
// by the default add pt, et, or energy
bool x = addEntry("pt", 1);
Expand Down

0 comments on commit 4d8df9c

Please sign in to comment.