public class Size extends Object implements stream.Processor
| Modifier and Type | Field and Description |
|---|---|
String |
outputKey |
String |
photonChargeKey |
String |
pixelSetKey |
| Constructor and Description |
|---|
Size() |
| Modifier and Type | Method and Description |
|---|---|
double |
calculateSize(PixelSet pixelSet,
double[] weight)
Get the size of the shower.
|
stream.Data |
process(stream.Data item) |
@Parameter(required=true) public String pixelSetKey
@Parameter(required=true) public String photonChargeKey
@Parameter(required=true) public String outputKey
public stream.Data process(stream.Data item)
process in interface stream.Processorpublic double calculateSize(PixelSet pixelSet, double[] weight)
pixelSet - PixelSet to take into accountweight - some sort of weight for each pixel. Should have 1440 entriesCopyright © 2019. All rights reserved.