20 mLabels.push_back(
label);
24 : mDigit(tower, amplitudeGeV,
time)
26 mLabels.push_back(
label);
30 : mDigit(tower, noiseLG, noiseHG,
time)
32 mLabels.push_back(
label);
39 double a2 =
other.getAmplitude();
40 double r = ((
a1 + a2) != 0) ? 1.0 / (
a1 + a2) : 0.0;
41 mDigit +=
other.getDigit();
43 for (
int j = 0;
j < mLabels.size();
j++) {
44 mLabels.at(
j).setAmplitudeFraction(mLabels.at(
j).getAmplitudeFraction() *
a1 *
r);
48 label.setAmplitudeFraction(
label.getAmplitudeFraction() * a2 *
r);
49 mLabels.push_back(
label);
59 for (
auto label : mLabels) {
const GPUTPCGMMerger::trackCluster & a1
EMCAL digit implementation.
EMCAL labeled digit implementation.
Double_t getAmplitude() const
void PrintStream(std::ostream &stream) const
Double_t getTimeStamp() const
ChannelType_t getType() const
bool canAdd(const LabeledDigit other)
LabeledDigit & operator+=(const LabeledDigit &other)
Monte-Carlo label for EMCAL clusters / digits.
GLuint GLsizei const GLchar * label
std::ostream & operator<<(std::ostream &stream, const Cell &cell)
Stream operator for EMCAL cell.
std::string channelTypeToString(ChannelType_t chantype)
Create string representation of the channel type object.
VectorOfTObjectPtrs other