18 "LogicError",
"n_input_types is not a type to be used, but only a compile-time const for iterating on types");
20 return "NO_SUCH_INPUT_TYPE";
34 case charged_hadron_type:
35 return "ChargedHadron";
36 case neutral_hadron_type:
37 return "NeutralHadron";
43 "n_output_types is not a type to be used, but only a compile-time const for iterating on types");
45 return "NO_SUCH_OUTPUT_TYPE";
60 "LogicError",
"n_input_types is not a type to be used, but only a compile-time const for iterating on types");
70 if (
fiducial && !fiducialLocal(
p.floatEta(),
p.floatPhi()))
77 if (
p.intCharge() != 0)
81 if (
p.intCharge() == 0)
92 case charged_hadron_type:
96 case neutral_hadron_type:
107 "n_output_types is not a type to be used, but only a compile-time const for iterating on types");
118 if (ncaloMax > 0 &&
calo.size() > ncaloMax) {
119 caloOverflow =
calo.size() - ncaloMax;
120 calo.resize(ncaloMax);
122 if (nemcaloMax > 0 && emcalo.size() > nemcaloMax) {
123 emcaloOverflow = emcalo.size() - nemcaloMax;
124 emcalo.resize(nemcaloMax);
126 if (ntrackMax > 0 &&
track.size() > ntrackMax) {
127 trackOverflow =
track.size() - ntrackMax;
128 track.resize(ntrackMax);
ret
prodAgent to be discontinued
static const char * outputTypeName(int outputType)
unsigned int nInput(InputType type) const
static const char * inputTypeName(int inputType)
unsigned int nOutput(OutputType type, bool puppi, bool fiducial=true) const