pub struct SearchlightSettings {Show 18 fields
pub cleaning: LineFitCleaning,
pub edep_min: f64,
pub trk_e_min: f64,
pub vertex_err: f64,
pub use_vertex: bool,
pub use_tracker: bool,
pub use_trigger: bool,
pub trig_max_dist: f64,
pub trig_err: f64,
pub trig_iter: usize,
pub trig_cleaning: LineFitCleaning,
pub vertex: SearchlightVertexSettings,
pub independent_vertex: bool,
pub use_tracks: bool,
pub use_timing: bool,
pub tracks: SearchlightTrackSettings,
pub timing: SearchlightTimingSettings,
pub weights: Vec<f64>,
}Expand description
Settings of searchlight
Fields§
§cleaning: LineFitCleaninghit cleaning of all candidate fits
edep_min: f64TOF hits below this edep are not primary-like (MeV); a seed hit below it is flagged
trk_e_min: f64tracker hits above this energy are primary-like (MeV) and seed candidates
vertex_err: f64error of the vertex as a fit point (mm)
use_vertex: bool§use_tracker: bool§use_trigger: booltriggered paddles without a hit: candidates through the point on the paddle closest to the best candidate, iterated trig_iter times, if the paddle is closer than trig_max_dist (mm), with the error trig_err (mm) and the hit cleaning trig_cleaning
trig_max_dist: f64§trig_err: f64§trig_iter: usize§trig_cleaning: LineFitCleaning§vertex: SearchlightVertexSettings§independent_vertex: boolFor seeds which pass the flags: a vertex without the primary line (independent_vertex), offered as an outer+vertex candidate if today’s line has no primary-like tracker hits, with its quality as features. Otherwise the simple vertex is used.
use_tracks: boolin the independent vertex: secondary tracks from the RANSAC track finder (needs the strips in the geometry), otherwise only the highest-energy tracker hit
use_timing: boolin the independent vertex: the timing score for the choice among the vertex candidates and as a quality feature
tracks: SearchlightTrackSettings§timing: SearchlightTimingSettings§weights: Vec<f64>weights of the logistic regression over the features of the candidates (see candidates::features). Empty: the candidate with the most energy-weighted inliers wins.
Implementations§
Source§impl SearchlightSettings
impl SearchlightSettings
Sourcepub const DEFAULT_WEIGHTS: [f64; 21]
pub const DEFAULT_WEIGHTS: [f64; 21]
Weights of the selection with all parts, trained on the antiproton MC (untriggered production of 2026-11 with the Track or GAPS 833 trigger applied offline, primary stopping in the tracker, 53,565 events; TofHit::get_edep with the attenuation of the digitizer, edep_min = 3 MeV): a candidate is good if it is within 8 degree of the true direction
Sourcepub const PHASE_A_WEIGHTS: [f64; 21]
pub const PHASE_A_WEIGHTS: [f64; 21]
Weights of the selection without the independent vertex (phase A), trained in the same way. The quality features are not used.
Trait Implementations§
Source§impl Clone for SearchlightSettings
impl Clone for SearchlightSettings
Source§impl Debug for SearchlightSettings
impl Debug for SearchlightSettings
Auto Trait Implementations§
impl Freeze for SearchlightSettings
impl RefUnwindSafe for SearchlightSettings
impl Send for SearchlightSettings
impl Sync for SearchlightSettings
impl Unpin for SearchlightSettings
impl UnsafeUnpin for SearchlightSettings
impl UnwindSafe for SearchlightSettings
Blanket Implementations§
Source§impl<T> AggregateExpressionMethods for T
impl<T> AggregateExpressionMethods for T
Source§fn aggregate_distinct(self) -> Self::Outputwhere
Self: DistinctDsl,
fn aggregate_distinct(self) -> Self::Outputwhere
Self: DistinctDsl,
DISTINCT modifier for aggregate functions Read moreSource§fn aggregate_all(self) -> Self::Outputwhere
Self: AllDsl,
fn aggregate_all(self) -> Self::Outputwhere
Self: AllDsl,
ALL modifier for aggregate functions Read moreSource§fn aggregate_filter<P>(self, f: P) -> Self::Output
fn aggregate_filter<P>(self, f: P) -> Self::Output
Source§fn aggregate_order<O>(self, o: O) -> Self::Outputwhere
Self: OrderAggregateDsl<O>,
fn aggregate_order<O>(self, o: O) -> Self::Outputwhere
Self: OrderAggregateDsl<O>,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSend for T
impl<T> DowncastSend for T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoSql for T
impl<T> IntoSql for T
Source§fn into_sql<T>(self) -> Self::Expression
fn into_sql<T>(self) -> Self::Expression
self to an expression for Diesel’s query builder. Read moreSource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
&self to an expression for Diesel’s query builder. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
impl<T> SendAlias for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.