Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ActsExamples::Digitization::Digital Struct Reference

#include <acts/blob/sPHENIX/Examples/Algorithms/Digitization/include/ActsExamples/Digitization/Smearers.hpp>

+ Collaboration diagram for ActsExamples::Digitization::Digital:

Public Member Functions

 Digital (double pitch, const std::pair< double, double > &range_)
 Construct with a.
 
 Digital (Acts::BinningData &&bd)
 
Acts::Result< std::pair
< double, double > > 
operator() (double value, RandomEngine &) const
 

Public Attributes

Acts::BinningData binningData
 

Detailed Description

Digital emulation of a single parameter.

It estimates the bin and gives the bin center value

Definition at line 173 of file Smearers.hpp.

View newest version in sPHENIX GitHub at line 173 of file Smearers.hpp

Constructor & Destructor Documentation

ActsExamples::Digitization::Digital::Digital ( double  pitch,
const std::pair< double, double > &  range_ 
)
inline

Construct with a.

Parameters
pitchstandard deviation and
range

Definition at line 177 of file Smearers.hpp.

View newest version in sPHENIX GitHub at line 177 of file Smearers.hpp

ActsExamples::Digitization::Digital::Digital ( Acts::BinningData &&  bd)
inline

Constructor with a bin utility in order to get the bin borders.

Parameters
buthe bin utility within hich the parameter is allowed

Definition at line 185 of file Smearers.hpp.

View newest version in sPHENIX GitHub at line 185 of file Smearers.hpp

Member Function Documentation

Acts::Result<std::pair<double, double> > ActsExamples::Digitization::Digital::operator() ( double  value,
RandomEngine  
) const
inline

Call operator for the SmearFunction caller interface.

Parameters
valueparameter to be smeared
rndrandom generator to be used for the call (unused)
Returns
a Result is uniformly distributed between bin borders

Definition at line 193 of file Smearers.hpp.

View newest version in sPHENIX GitHub at line 193 of file Smearers.hpp

References binningData, Acts::BinningData::boundaries(), test_detectors::lower, Acts::BinningData::max, Acts::BinningData::min, and Acts::BinningData::search().

+ Here is the call graph for this function:

Member Data Documentation

Acts::BinningData ActsExamples::Digitization::Digital::binningData

Definition at line 174 of file Smearers.hpp.

View newest version in sPHENIX GitHub at line 174 of file Smearers.hpp

Referenced by operator()().


The documentation for this struct was generated from the following file: