1 #if !defined(SimCalorimetry_HGCalAssociatorProducers_interface_AssociatorTools_h)
2 #define SimCalorimetry_HGCalAssociatorProducers_interface_AssociatorTools_h
8 std::vector<size_t>& cPIndices,
9 bool hardScatterOnly =
true) {
12 for (
unsigned int cpId = 0; cpId < caloParticles.size(); ++cpId) {
13 if (hardScatterOnly && (caloParticles[cpId].g4Tracks()[0].eventId().
event() != 0
or
14 caloParticles[cpId].g4Tracks()[0].eventId().bunchCrossing() != 0)) {
15 LogDebug(
"HGCalValidator") <<
"Excluding CaloParticles from event: "
16 << caloParticles[cpId].g4Tracks()[0].eventId().event()
17 <<
" with BX: " << caloParticles[cpId].g4Tracks()[0].eventId().bunchCrossing()
21 cPIndices.emplace_back(cpId);
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventIDconst &, edm::Timestampconst & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or