ATTPCROOT
0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
|
#include <AtClusterize.h>
Public Member Functions | |
std::vector< SimPointPtr > | ProcessEvent (const TClonesArray &fMCPointArray) |
virtual void | GetParameters (const AtDigiPar *fPar) |
virtual std::string | GetSavedClassName () const |
virtual void | FillTClonesArray (TClonesArray &array, std::vector< SimPointPtr > &vec) |
virtual std::shared_ptr< AtClusterize > | Clone () const |
Protected Types | |
using | XYZVector = ROOT::Math::XYZVector |
using | XYZPoint = ROOT::Math::XYZPoint |
using | SimPointPtr = std::unique_ptr< AtSimulatedPoint > |
Protected Member Functions | |
virtual std::vector< SimPointPtr > | processPoint (AtMCPoint &mcPoint, int pointID=-1) |
void | setNewTrack () |
double | getTransverseDiffusion (double driftTime) |
double | getLongitudinalDiffusion (double driftTime) |
uint64_t | getNumberOfElectronsGenerated (const AtMCPoint &mcPoint) |
XYZPoint | getCurrentPointLocation (const AtMCPoint &mcPoint) |
Protected Attributes | |
double | fEIonize {} |
Effective ionization energy of gas. [eV]. More... | |
double | fFano {} |
Fano factor of the gas. More... | |
double | fVelDrift {} |
Drift velocity of electron in gas. [cm/us]. More... | |
double | fCoefT {} |
Transversal diffusion coefficient. [cm^2/us]. More... | |
double | fCoefL {} |
Longitudinal diffusion coefficient. [cm^2/us]. More... | |
double | fDetPadPlane {} |
Position of the pad plane with respect to the entrance [mm]. More... | |
Static Protected Attributes | |
static thread_local XYZPoint | fPrevPoint |
The previous point we recorded charge. More... | |
static thread_local int | fTrackID = 0 |
The current track ID. More... | |
Class to hold the clusterizing logic
Input is an array of AtMCPoints, output is an array of AtSimulatedPoints.
Definition at line 24 of file AtClusterize.h.
|
protected |
Definition at line 28 of file AtClusterize.h.
|
protected |
Definition at line 27 of file AtClusterize.h.
|
protected |
Definition at line 26 of file AtClusterize.h.
|
inlinevirtual |
Reimplemented in AtClusterizeLine.
Definition at line 45 of file AtClusterize.h.
|
virtual |
Reimplemented in AtClusterizeLine.
Definition at line 40 of file AtClusterize.cxx.
|
protected |
Definition at line 122 of file AtClusterize.cxx.
|
protected |
Definition at line 101 of file AtClusterize.cxx.
|
protected |
Definition at line 114 of file AtClusterize.cxx.
|
virtual |
Reimplemented in AtClusterizeLine.
Definition at line 22 of file AtClusterize.cxx.
|
inlinevirtual |
Reimplemented in AtClusterizeLine.
Definition at line 43 of file AtClusterize.h.
|
protected |
Definition at line 109 of file AtClusterize.cxx.
std::vector< AtClusterize::SimPointPtr > AtClusterize::ProcessEvent | ( | const TClonesArray & | fMCPointArray | ) |
Definition at line 48 of file AtClusterize.cxx.
|
protectedvirtual |
Reimplemented in AtClusterizeLine.
Definition at line 60 of file AtClusterize.cxx.
|
protected |
|
protected |
Longitudinal diffusion coefficient. [cm^2/us].
Definition at line 34 of file AtClusterize.h.
|
protected |
Transversal diffusion coefficient. [cm^2/us].
Definition at line 33 of file AtClusterize.h.
|
protected |
Position of the pad plane with respect to the entrance [mm].
Definition at line 35 of file AtClusterize.h.
|
protected |
Effective ionization energy of gas. [eV].
Definition at line 30 of file AtClusterize.h.
|
protected |
Fano factor of the gas.
Definition at line 31 of file AtClusterize.h.
|
staticprotected |
The previous point we recorded charge.
Definition at line 37 of file AtClusterize.h.
|
staticprotected |
The current track ID.
Definition at line 38 of file AtClusterize.h.
|
protected |
Drift velocity of electron in gas. [cm/us].
Definition at line 32 of file AtClusterize.h.