This module creates Common Analysis Files. More...
Namespaces | |
bits | |
Simple utilities to deal with bit enumerators. | |
crt | |
details | |
evwgh | |
util | |
Classes | |
struct | selTrackInfo |
struct | selBeamInfo |
struct | selTriggerInfo |
struct | selSimTriggerInfo |
struct | selLightInfo |
struct | selHitInfo |
class | TimedTrackSelector |
Selects tracks with time information. More... | |
class | TimeTrackTreeStorage |
Fills a ROOT tree with track-based triggering information. More... | |
class | DumpArtDAQfragments |
Dumps on console the content of artdaq::Fragment collections. More... | |
class | DumpPMTconfiguration |
Dumps on console the content of sbn::PMTconfiguration data product. More... | |
class | DumpTrigger |
Dumps on console the content of trigger data products. More... | |
class | DumpTriggerConfiguration |
Dumps on console the content of icarus::TriggerConfiguration data product. More... | |
struct | OpDetWaveformMeta |
Derivative information from raw::OpDetWaveform data. More... | |
class | OpDetWaveformMetaMaker |
Converter from raw::OpDetWaveform into sbn::OpDetWaveformMeta . More... | |
class | TriggerEmulationTree |
Fills a ROOT tree with trigger emulation results. More... | |
class | DuplicateEventTracker |
Keeps track of duplicate events in the job. More... | |
class | EventRegistry |
Keeps a record of all registered events and their source. More... | |
class | BNBRetriever |
class | MWRData |
class | EXTRetriever |
class | NuMIRetriever |
class | ITCSSelectionTool |
class | TrackCaloSkimmer |
class | TrackCaloSkimmerSelectAllTrack |
class | TrackCaloSkimmerSelectAnode2CathodeTrack |
class | TrackCaloSkimmerSelectStoppingTrack |
class | CRUMBS |
struct | CRTSipmGeo |
struct | CRTStripGeo |
struct | CRTModuleGeo |
struct | CRTTaggerGeo |
class | CRTGeoAlg |
class | TPCGeoAlg |
class | CRTHitConverter |
class | MCSFitAllPID |
class | PMTFlashTriggerFilter |
class | PMTFlashTriggerMaker |
class | RangePAllPID |
class | ShowerCosmicDistance |
class | ShowerSelectionVars |
class | TrackScatterClosestApproach |
class | TrackStoppingChi2Alg |
class | TrackStoppingChi2Fitter |
class | TransferPFParticleFlashMatch |
class | TransferPFParticleT0 |
class | TransferTrackT0 |
class | Dazzle |
class | Razzle |
class | PCAngleKinkFinder |
class | PCAngleKinkTree |
struct | PCAngleInfo |
class | PCAnglePlaneMaker |
class | NuVertexChargeTree |
Analyzer module for use with sbn::Stub and sbn::VertexHit objects. More... | |
class | TrackAreaHit |
class | TrackHitDumper |
class | TrackHitFilter |
class | MergedTrackIdentifier |
class | TrackSplitter |
class | IStubMerge |
Abstract interface intended for art tools which take a list of stubs and return a new list with some of them merged. More... | |
class | PlaneStubMerge |
Art tool for merging stubs on the same plane. More... | |
class | StubBuilder |
struct | StubInfo |
Internal struct: contains information on stub and other associated data products. More... | |
class | TwoPlaneStubMerge |
Art tool for merging stubs across planes. More... | |
class | VertexChargeVacuum |
class | VertexStubTracker |
struct | Vector3D |
struct | WireInfo |
struct | HitTruth |
struct | HitInfo |
struct | TrackHitInfo |
struct | MetaInfo |
struct | TrueHit |
struct | TrueParticle |
struct | TrackTruth |
struct | TrackInfo |
struct | PMTconfiguration |
Class containing configuration for PMT readout. More... | |
struct | V1730channelConfiguration |
Class containing configuration for a V1730 channel. More... | |
struct | V1730Configuration |
Class containing configuration for a V1730 board. More... | |
class | BNBSpillInfo |
class | EXTCountInfo |
class | NuMISpillInfo |
class | CRUMBSResult |
struct | FlashTriggerPrimitive |
class | MergedTrackInfo |
class | MVAPID |
class | RangeP |
class | ScatterClosestApproach |
class | ShowerDensityFit |
class | ShowerTrackFit |
class | SimpleFlashMatch |
class | StoppingChi2Fit |
class | StubHit |
class | Stub |
class | VertexHit |
struct | ExtraTriggerInfo |
Additional information on trigger. More... | |
Enumerations | |
enum | EDet { kNOTDEFINED, kSBND, kICARUS } |
Functions | |
TimeTrackTreeStorage::TriggerInputSpec_t | convert (TimeTrackTreeStorage::Config::TriggerSpecConfig const &config) |
TriggerEmulationTree::TriggerInputSpec_t | convert (TriggerEmulationTree::Config::TriggerSpecConfig const &config) |
double | GetPitch (const geo::GeometryCore *geo, const spacecharge::SpaceCharge *sce, geo::Point_t loc, geo::Vector_t dir, geo::View_t view, geo::TPCID tpc, bool correct_sce, bool track_is_sce_corrected, float xsign=1.) |
Computes the track-pitch on a plane given an input direction and location. More... | |
geo::Point_t | GetLocation (const spacecharge::SpaceCharge *sce, geo::Point_t loc_w, geo::TPCID TPC, float xsign=1.) |
Get the location in the presence of space charge. More... | |
double | GetEfield (const detinfo::DetectorPropertiesData &dprop, const spacecharge::SpaceCharge *sce, geo::Point_t loc, geo::TPCID TPC, bool correct_loc_sce, float xsign=1.) |
Get the E-Field in the presence of space charge. More... | |
geo::Point_t | GetLocationAtWires (const spacecharge::SpaceCharge *sce, const geo::GeometryCore *geo, geo::Point_t loc, geo::TPCID TPC, float xsign=1.) |
Get the SCE-distorted location (i.e. the location "seen" by the wireplanes) More... | |
bool | StubContains (const sbn::StubInfo &A, const sbn::StubInfo &B) |
Returns whether stub A contains stub B . More... | |
float | StubDirectionDot (const sbn::StubInfo &A, const sbn::StubInfo &B, const geo::GeometryCore *geo, const detinfo::DetectorPropertiesData &dprop) |
Computes the dot product of two stubs. More... | |
float | StubTimeOffset (const sbn::StubInfo &A, const sbn::StubInfo &B, const detinfo::DetectorClocksData &dclock, const detinfo::DetectorPropertiesData &dprop) |
geo::Point_t | TwoStubEndPosition (const sbn::StubInfo &A, const sbn::StubInfo &B, const geo::GeometryCore *geo, const spacecharge::SpaceCharge *sce, const detinfo::DetectorPropertiesData &dprop) |
Returns an updated end position of a stub after merging across two planes. More... | |
float | StubChargeOffset (const sbn::StubInfo &A, const sbn::StubInfo &B) |
Difference of the total charge between two stubs. More... | |
float | StubPeakChargeOffset (const sbn::StubInfo &A, const sbn::StubInfo &B) |
Difference of the endpoint charge between two stubs. More... | |
float | StubPeakdQdxOffset (const sbn::StubInfo &A, const sbn::StubInfo &B, const geo::GeometryCore *geo, const spacecharge::SpaceCharge *sce, const detinfo::DetectorPropertiesData &dprop) |
Difference of the endpoint dQ/dx between two stubs. More... | |
std::ostream & | operator<< (std::ostream &out, sbn::PMTconfiguration const &config) |
Prints the configuration into a stream with default verbosity. More... | |
std::ostream & | operator<< (std::ostream &out, sbn::V1730channelConfiguration const &config) |
Prints the configuration into a stream with default verbosity. More... | |
std::ostream & | operator<< (std::ostream &out, sbn::V1730Configuration const &config) |
Prints the configuration into a stream with default verbosity. More... | |
std::ostream & | operator<< (std::ostream &out, ExtraTriggerInfo const &info) |
Creation of `sbn::OpDetWaveformMeta` from `raw::OpDetWaveform` | |
The creation of summary objects
For usage examples, see their respective documentation. | |
OpDetWaveformMeta | makeOpDetWaveformMeta (raw::OpDetWaveform const &waveform, detinfo::DetectorTimings const &detTimings) |
Creates a sbn::OpDetWaveformMeta out of a raw::OpDetWaveform . More... | |
OpDetWaveformMeta | makeOpDetWaveformMeta (raw::OpDetWaveform const &waveform, util::quantities::intervals::microseconds opDetTickPeriod) |
Creates a sbn::OpDetWaveformMeta out of a raw::OpDetWaveform . More... | |
Variables | |
constexpr int | default_int = std::numeric_limits<int>::max() |
constexpr float | default_float = std::numeric_limits<float>::signaling_NaN() |
This module creates Common Analysis Files.
Set of values to identify a beam.
Multivariate Gaussian sampling utilities.
Original author: J. Zennamo.
Note: In larsim EventWeight, these functions are static members of the WeightCalc class.
The constants are used to identify the gate during which a trigger is acquired, in the raw::Trigger::TriggerBits()
bit mask.
enum sbn::EDet |
Enumerator | |
---|---|
kNOTDEFINED | |
kSBND | |
kICARUS |
Definition at line 70 of file TrackCaloSkimmer.h.
TriggerEmulationTree::TriggerInputSpec_t sbn::convert | ( | TriggerEmulationTree::Config::TriggerSpecConfig const & | config | ) |
Definition at line 231 of file TriggerEmulationTree_module.cc.
TimeTrackTreeStorage::TriggerInputSpec_t sbn::convert | ( | TimeTrackTreeStorage::Config::TriggerSpecConfig const & | config | ) |
Definition at line 388 of file TimeTrackTreeStorage_module.cc.
double sbn::GetEfield | ( | const detinfo::DetectorPropertiesData & | dprop, |
const spacecharge::SpaceCharge * | sce, | ||
geo::Point_t | loc, | ||
geo::TPCID | TPC, | ||
bool | correct_loc_sce, | ||
float | xsign = 1. |
||
) |
Get the E-Field in the presence of space charge.
Definition at line 14 of file StubMergeAlgorithms.cxx.
geo::Point_t sbn::GetLocation | ( | const spacecharge::SpaceCharge * | sce, |
geo::Point_t | loc_w, | ||
geo::TPCID | TPC, | ||
float | xsign = 1. |
||
) |
Get the location in the presence of space charge.
Definition at line 3 of file StubMergeAlgorithms.cxx.
geo::Point_t sbn::GetLocationAtWires | ( | const spacecharge::SpaceCharge * | sce, |
const geo::GeometryCore * | geo, | ||
geo::Point_t | loc, | ||
geo::TPCID | TPC, | ||
float | xsign = 1. |
||
) |
Get the SCE-distorted location (i.e. the location "seen" by the wireplanes)
Definition at line 33 of file StubMergeAlgorithms.cxx.
double sbn::GetPitch | ( | const geo::GeometryCore * | geo, |
const spacecharge::SpaceCharge * | sce, | ||
geo::Point_t | loc, | ||
geo::Vector_t | dir, | ||
geo::View_t | view, | ||
geo::TPCID | tpc, | ||
bool | correct_sce, | ||
bool | track_is_sce_corrected, | ||
float | xsign = 1. |
||
) |
Computes the track-pitch on a plane given an input direction and location.
loc | location in world coordinate system [cm] |
dir | direction in world coordinate system (assumed to be unit vector) |
view | the view to project the direction onto |
tpc | ID of the TPC the selected view belongs to |
correct_sce | whether to apply space charge correction |
track_is_sce_corrected | whether location loc is already corrected for spacecharge effects |
xsign | factor for the x (drift) coordinate (-1 flips it) |
dir
[cm]Is able to handle the presence of space charge (through the SpaceCharge
service) and whether or not the input location/direction are already corrected for SCE.
Definition at line 47 of file StubMergeAlgorithms.cxx.
sbn::OpDetWaveformMeta sbn::makeOpDetWaveformMeta | ( | raw::OpDetWaveform const & | waveform, |
detinfo::DetectorTimings const & | detTimings | ||
) |
Creates a sbn::OpDetWaveformMeta
out of a raw::OpDetWaveform
.
waveform | the input waveform |
detTimings | timing service provider |
sbn::OpDetWaveformMeta
object with the summary informationReturns a new summary object extracted from the waveform
.
The timing information is used to determine whether the global trigger and beam times are included.
Example:
Definition at line 83 of file OpDetWaveformMetaUtils.cxx.
sbn::OpDetWaveformMeta sbn::makeOpDetWaveformMeta | ( | raw::OpDetWaveform const & | waveform, |
util::quantities::intervals::microseconds | opDetTickPeriod | ||
) |
Creates a sbn::OpDetWaveformMeta
out of a raw::OpDetWaveform
.
waveform | the input waveform |
opDetTickPeriod | period of the optical detector digitizer |
sbn::OpDetWaveformMeta
object with the summary informationReturns a new summary object extracted from the waveform
.
Information requiring timing is not saved.
Example:
Definition at line 91 of file OpDetWaveformMetaUtils.cxx.
|
inline |
Prints the configuration into a stream with default verbosity.
Definition at line 150 of file PMTconfiguration.h.
|
inline |
Prints the configuration into a stream with default verbosity.
Definition at line 233 of file V1730Configuration.h.
|
inline |
Prints the configuration into a stream with default verbosity.
Definition at line 191 of file V1730channelConfiguration.h.
std::ostream & sbn::operator<< | ( | std::ostream & | out, |
ExtraTriggerInfo const & | info | ||
) |
Definition at line 114 of file ExtraTriggerInfo.cxx.
float sbn::StubChargeOffset | ( | const sbn::StubInfo & | A, |
const sbn::StubInfo & | B | ||
) |
Difference of the total charge between two stubs.
Definition at line 195 of file StubMergeAlgorithms.cxx.
bool sbn::StubContains | ( | const sbn::StubInfo & | A, |
const sbn::StubInfo & | B | ||
) |
Returns whether stub A
contains stub B
.
Definition at line 102 of file StubMergeAlgorithms.cxx.
float sbn::StubDirectionDot | ( | const sbn::StubInfo & | A, |
const sbn::StubInfo & | B, | ||
const geo::GeometryCore * | geo, | ||
const detinfo::DetectorPropertiesData & | dprop | ||
) |
Computes the dot product of two stubs.
Definition at line 115 of file StubMergeAlgorithms.cxx.
float sbn::StubPeakChargeOffset | ( | const sbn::StubInfo & | A, |
const sbn::StubInfo & | B | ||
) |
Difference of the endpoint charge between two stubs.
Definition at line 205 of file StubMergeAlgorithms.cxx.
float sbn::StubPeakdQdxOffset | ( | const sbn::StubInfo & | A, |
const sbn::StubInfo & | B, | ||
const geo::GeometryCore * | geo, | ||
const spacecharge::SpaceCharge * | sce, | ||
const detinfo::DetectorPropertiesData & | dprop | ||
) |
Difference of the endpoint dQ/dx between two stubs.
Definition at line 209 of file StubMergeAlgorithms.cxx.
float sbn::StubTimeOffset | ( | const sbn::StubInfo & | A, |
const sbn::StubInfo & | B, | ||
const detinfo::DetectorClocksData & | dclock, | ||
const detinfo::DetectorPropertiesData & | dprop | ||
) |
Definition at line 137 of file StubMergeAlgorithms.cxx.
geo::Point_t sbn::TwoStubEndPosition | ( | const sbn::StubInfo & | A, |
const sbn::StubInfo & | B, | ||
const geo::GeometryCore * | geo, | ||
const spacecharge::SpaceCharge * | sce, | ||
const detinfo::DetectorPropertiesData & | dprop | ||
) |
Returns an updated end position of a stub after merging across two planes.
Definition at line 145 of file StubMergeAlgorithms.cxx.
constexpr float sbn::default_float = std::numeric_limits<float>::signaling_NaN() |
Definition at line 10 of file CRUMBSResult.h.
constexpr int sbn::default_int = std::numeric_limits<int>::max() |
Definition at line 9 of file CRUMBSResult.h.