WireCellToolkit
Wire Cell Simulation, Signal Process and Reconstruction Toolki for Liquid Argon Detectors
WireCell::Gen Namespace Reference

Namespaces

 Noise
 

Classes

class  AddNoise
 
class  AnodeFace
 
class  AnodePlane
 
class  BinnedDiffusion
 
class  BinnedDiffusion_transform
 
class  BirksRecombination
 
class  BlipSource
 
class  BoxRecombination
 
class  DepoBagger
 
class  DepoChunker
 
class  DepoFanout
 
class  DepoFramer
 
class  DepoMerger
 
class  DepoPlaneX
 
class  DepoSetFanout
 
class  DepoSplat
 
class  DepoTransform
 
class  DepoZipper
 
class  Digitizer
 
class  Drifter
 
class  Ductor
 
class  DumpFrames
 
class  ElecResponse
 
class  EmpiricalNoiseModel
 
class  Fourdee
 
class  FrameFanin
 
class  FrameFanout
 
class  FrameSummer
 
struct  GausDesc
 
class  GaussianDiffusion
 
class  ImpactData
 Information that has been collected at one impact position. More...
 
class  ImpactResponse
 
class  ImpactTransform
 
class  ImpactZipper
 
class  MegaAnodePlane
 
class  MipRecombination
 Model for a MIP, dQ = (Rmip/Wi)*dE. More...
 
class  Misconfigure
 
class  MultiDuctor
 
class  NoiseSource
 
class  PerChannelVariation
 
class  PlaneImpactResponse
 
class  Random
 
class  RCResponse
 
class  Reframer
 
class  ResponseSys
 
class  Retagger
 
class  SilentNoise
 
class  StaticChannelStatus
 
class  TimeGatedDepos
 
class  TrackDepos
 A producer of depositions created from some number of simple, linear tracks. More...
 
class  TransportedDepo
 
class  TruthSmearer
 
class  TruthTraceID
 
class  WireBoundedDepos
 
class  WirePlane
 
class  WireSchemaFile
 

Functions

IFrame::pointer sum (std::vector< IFrame::pointer > frames, int ident)
 

Function Documentation

◆ sum()

IFrame::pointer WireCell::Gen::sum ( std::vector< IFrame::pointer frames,
int  ident 
)

Sum a vector of frames, returning a new one with the given ident. The start time of the new one will be the minimum time of all frames. The sample period (tick) of all frames must be identical. Traces on a common channel are summed producing a single trace which covers a time domain spanning the minimum and maximum tbin of all the traces in the channel. Zeros are padded for any intervening samples outside of any individual trace.

Definition at line 15 of file FrameUtil.cxx.

Here is the caller graph for this function: