Calorimeter hit-related standard handlers¶
This page lists handlers related to clusters of hits found on the signal from
(M)SADC-based detectors. Instances of SADCHit
are collected into clusters
named here a CaloHit
for further treatment in reconstruction procedures.
Subject: calorimeter hit struct¶
All the handlers listed below operate with the instances of the CaloHit
C/C++ structure that is defined as a subclass of (M)SADC hits collection:
-
struct CaloHit¶
Represents a group of SADC hits in the calorimeter.
May imply different hit grouping strategies. Associated hits may be considered partially (for instance, if time cluster label is set for the this
CaloHit
instamce, probably only eponymous pulses were considered in the hit).GETTER:
getter for field
CaloHit::hits
disabledtimeClusterLabel
– Time cluster label, may be not seteDep
– Energy deposition sum, MeVeDepError
– Estimated energy deposition’s errortime
– Mean timetimeStddev
– Time standard deviation (of hits)nHits
– Returns number of SADC hits
Public Functions
-
CaloHit(LocalMemory&)¶
A ctr, needs the pool allocator instance to be bound with.
Public Members
-
event::Map<DetID, SADCHit, MapTag::sparse_ambig> hits¶
Elementary hits summed up into this calo hit.
-
int timeClusterLabel¶
Time cluster label, may be not set.
-
double eDep¶
Energy deposition sum, MeV.
-
double eDepError¶
Estimated energy deposition’s error.
-
double time¶
Mean time.
-
double timeStddev¶
Time standard deviation (of hits)
Note, that CaloHit
sometimes may have its underlying hits collection empty
for certain data sources (like Monte-Carlo data, if fine granularity is not
taken into account).
Handlers list¶
This handlers deal with CaloHit
.
- group calo-handlers
-
class ECALvsHCAL : public na64dp::AbstractHitHandler<event::CaloHit>¶
Plots energy deposition distribution of ECAL vs HCAL as ROOT:TH2F.
Events without no hits in ECAL or HCAL won’t be considered.
- Todo:
remove in favour of
BiHitHistogram_Calo_Calo
Note
deprecated handler, to be removed; use generic
BiHitHistogram_Calo_Calo
instead
-
class HcalEcal : public na64dp::AbstractHitHandler<event::CaloHit>¶
A Genfit-based test track fitting handler.
Enables Genfit procedures to perform station-based track fitting routine.
- Todo:
remove in favour of
BiHitHistogram_Calo_Calo
- Todo:
remove in favour of
BiHitHistogram_Calo_Calo
Note
deprecated handler, to be removed; use generic
BiHitHistogram_Calo_Calo
instead
-
class MakeCaloHit : public na64dp::AbstractHitHandler<event::SADCHit>¶
Creates a
CaloHit
item in an event, based on per-cells hits.Builds up entire calorimeter hit as a whole, based on enrgy deposition in particular cells. Depending on configuration, may create ECAL, HCAL, BGO, SRD etc. Adds hits (instances of
CaloHit
structure) to an event.Usage:
- _type: MakeCaloHit # optional, hit selection expression applyTo: null # list of detector names to apply; list of strings, required detectors: [..., ...]
Detectors that supposed to be the subject of hits creation should be provided as their names, like “HCAL” (for entire HCAL) or “HCAL3” (for HCAL module #3), “ECAL”, “ECAL0”, “ECAL1”, etc.
Resulting hits will be imposed into main event’s
caloHits
map.
-
class PreshowerVsRestECAL : public na64dp::AbstractHitHandler<event::SADCHit>¶
A correlation “preshower-vs-rest” energy deposition plot
Usage:
- name PreshowerVsRestECAL # A base name for the histogram; str, required histogramName: ... # TH2D description string template; str, required histogramTitle: ... # Number of bins of preshower (vertical) axis; int, required preshowerNBins: ... # Range of preshower (vertical) axis; list of two floats, required preshowerRange: [..., ...] # Number of bins of main part (horizontal) axis; int, required restNBins: ... # Range of main part (horizontal) axis; list of two floats, required restRange: [..., ...]
Depicts sums of energy deposition in preshower vs rest part of ECAL. Use selection to restrict cells for summation
- Todo:
Remove.
Note
deprecated, to be removed in favour of generic plotting handler
-
class ECALvsHCAL : public na64dp::AbstractHitHandler<event::CaloHit>¶