List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends
mevt::ModuleRecData Class Reference

Module level reconstruction data. This class contains all data required by the muon reconstruction. More...

#include "mevt/ModuleRecData.h"

Public Member Functions

void AddPatternMatchTime (const double t)
 
double GetActiveArea () const
 
utl::TraceUIGetChannelsInhibited ()
 
const utl::TraceUIGetChannelsInhibited () const
 
utl::TraceUIGetChannelsOn ()
 Number of windows with a signal in a module. More...
 
const utl::TraceUIGetChannelsOn () const
 
utl::TimeStamp GetChannelsOnStartTime () const
 Return the timestamp associated with the start of the ChannelsOn trace. More...
 
double GetCornerClippingProbability () const
 
double GetLDFResidual () const
 
unsigned int GetMaxChannelsOn () const
 
double GetMeanChargeMuonHG () const
 
double GetMeanChargeMuonLG () const
 Calibration of ADC channel. More...
 
double GetMeanMuonDensity () const
 
double GetMeanMuonDensityErrorHigh () const
 
double GetMeanMuonDensityErrorLow () const
 
double GetMeanMuons () const
 
double GetMeanMuonsErrorHigh () const
 
double GetMeanMuonsErrorLow () const
 
double GetMeanMuonsLowLimit () const
 
utl::TraceDGetMeanMuonsVsTime ()
 
const utl::TraceDGetMeanMuonsVsTime () const
 
*utl::TraceDGetMeanMuonsVsTime ()
 
*const utl::TraceDGetMeanMuonsVsTime () const
 
double GetMuonDensity () const
 
double GetMuonDensityErrorHigh () const
 
double GetMuonDensityErrorHighHG () const
 
double GetMuonDensityErrorHighLG () const
 
double GetMuonDensityErrorLow () const
 
double GetMuonDensityErrorLowHG () const
 
double GetMuonDensityErrorLowLG () const
 
double GetMuonDensityHG () const
 
double GetMuonDensityLG () const
 
unsigned int GetNumberOfChannelsInhibited () const
 
unsigned int GetNumberOfChannelsOn () const
 
double GetNumberOfEstimatedMuons () const
 
double GetNumberOfEstimatedMuonsADCHG () const
 
double GetNumberOfEstimatedMuonsADCLG () const
 
double GetNumberOfMuonsADCErrorHighHG () const
 
double GetNumberOfMuonsADCErrorHighLG () const
 
double GetNumberOfMuonsADCErrorLowHG () const
 
double GetNumberOfMuonsADCErrorLowLG () const
 
double GetNumberOfMuonsErrorHigh () const
 
double GetNumberOfMuonsErrorLow () const
 
double GetNumberOfMuonsLowLimit () const
 
utl::TraceDGetNumberOfMuonsVsTime ()
 
const utl::TraceDGetNumberOfMuonsVsTime () const
 
*utl::TraceDGetNumberOfMuonsVsTime ()
 
*const utl::TraceDGetNumberOfMuonsVsTime () const
 
const std::vector< double > & GetPatternMatchTimes () const
 
std::vector< double > & GetPatternMatchTimes ()
 
size_t GetSegmentation () const
 
double GetSPDistance () const
 
double GetStdDevChargeMuonHG () const
 
double GetStdDevChargeMuonLG () const
 
double GetTotalChargeHG () const
 
double GetTotalChargeLG () const
 
unsigned int GetTotalNumberOfChannelsOn () const
 
unsigned int GetWindowSize () const
 
bool HasChannelsInhibited () const
 
bool HasChannelsOn () const
 
bool HasChannelsOnStartTime () const
 Check for the presence of the time stamp. More...
 
bool HasMeanMuonsVsTime () const
 
*bool HasMeanMuonsVsTime () const
 
bool HasNumberOfMuonsVsTime () const
 
**bool HasNumberOfMuonsVsTime () const
 
bool IsADCCalibratedHG () const
 
bool IsADCCalibratedLG () const
 
bool IsEmpty () const
 
bool IsGood () const
 
bool IsSaturated () const
 
void MakeChannelsInhibited ()
 
void MakeChannelsOn ()
 
void MakeMeanMuonsVsTime ()
 
void MakeNumberOfMuonsVsTime ()
 
bool SaturationFlag () const
 
**void SetActiveArea (const double area)
 
void SetChannelsOnStartTime (const utl::TimeStamp &t)
 Sets the timestamp associated with the start of the ChannelsOn trace. More...
 
void SetCornerClippingProbability (const double p)
 
void SetLDFResidual (const double ldfResidual)
 
void SetMeanChargeMuonHG (const double charge)
 
void SetMeanChargeMuonLG (const double charge)
 
void SetMeanMuons (const double m)
 
void SetMeanMuonsErrorHigh (const double e)
 
void SetMeanMuonsErrorLow (const double e)
 
void SetMeanMuonsLowLimit (const double e)
 
void SetNumberOfEstimatedMuons (const double m)
 Number of estimated muons in a module. More...
 
void SetNumberOfEstimatedMuonsADCHG (const double m)
 
void SetNumberOfEstimatedMuonsADCLG (const double m)
 Number of estimated muons in a module with ADC channel. More...
 
void SetNumberOfMuonsADCErrorHighHG (const double e)
 
void SetNumberOfMuonsADCErrorHighLG (const double e)
 
void SetNumberOfMuonsADCErrorLowHG (const double e)
 
void SetNumberOfMuonsADCErrorLowLG (const double e)
 
void SetNumberOfMuonsErrorHigh (const double e)
 
void SetNumberOfMuonsErrorLow (const double e)
 
void SetNumberOfMuonsLowLimit (const double e)
 The lower limit to the number of muons in a module. More...
 
void SetSaturated (const bool sat)
 
void SetSaturationFlag (const bool satFlag)
 Return user defined saturation limit. More...
 
void SetSegmentation (const size_t nm)
 
void SetSPDistance (const double r)
 
void SetStdDevChargeMuonHG (const double charge)
 
void SetStdDevChargeMuonLG (const double charge)
 
void SetTotalChargeHG (const double charge)
 
void SetTotalChargeLG (const double charge)
 
void SetTotalNumberOfChannelsOn (const unsigned int n)
 Total number of channels with at least one pattern match (it cannot be greater than 64) More...
 
void SetWindowSize (const unsigned int ws)
 

Private Member Functions

 ModuleRecData ()
 
 ~ModuleRecData ()
 

Private Attributes

double fActiveArea = 0
 The module detection area. More...
 
utl::ShadowPtr< utl::TraceUIfChannelsInhibited
 
utl::ShadowPtr< utl::TraceUIfChannelsOn
 
utl::ShadowPtr< utl::TimeStampfChannelsOnStartTime
 
double fCornerClippingProbability = 0
 
double fLDFResidual = 0
 
double fMeanChargeMuonHG = 0
 
double fMeanChargeMuonLG = 0
 
double fMeanMuons = 0
 
double fMeanMuonsErrorHigh = 0
 
double fMeanMuonsErrorLow = 0
 
double fMeanMuonsLowLimit = 0
 
utl::ShadowPtr< utl::TraceDfMeanMuonsVsTime
 
double fNumberOfEstimatedMuons = 0
 
double fNumberOfEstimatedMuonsADCHG = 0
 
double fNumberOfEstimatedMuonsADCLG = 0
 
double fNumberOfMuonsADCErrorHighHG = 0
 
double fNumberOfMuonsADCErrorHighLG = 0
 
double fNumberOfMuonsADCErrorLowHG = 0
 
double fNumberOfMuonsADCErrorLowLG = 0
 
double fNumberOfMuonsErrorHigh = 0
 
double fNumberOfMuonsErrorLow = 0
 
double fNumberOfMuonsLowLimit = 0
 
utl::ShadowPtr< utl::TraceDfNumberOfMuonsVsTime
 
std::vector< double > fPatternMatchTimes
 The pattern match times vector stores the times of all matches in the module found by the counting algorithm. In the case of few matches this is a proxy for the number of muons, for larger signals the pile-up has to be considered. Times are measured in nanoseconds from the trace start. More...
 
bool fSaturated = false
 
bool fSaturationFlag = false
 
size_t fSegmentation = 0
 
double fSPDistance = 0
 
double fStdDevChargeMuonHG = 0
 
double fStdDevChargeMuonLG = 0
 
double fTotalChargeHG = 0
 
double fTotalChargeLG = 0
 
unsigned int fTotalNumberOfChannelsOn = 0
 
unsigned int fWindowSize = 0
 

Friends

class Module
 Friendship to allow construction. More...
 
class utl::ShadowPtr< ModuleRecData >
 Frienship to allow destruction. More...
 

Detailed Description

Module level reconstruction data. This class contains all data required by the muon reconstruction.

Author
Rodolfo Federico Gamarra
Diego Ravignani
Flavia Gesualdi
Date
08 Mar 2009
09 Mar 2015
03 May 2022

Definition at line 29 of file ModuleRecData.h.

Constructor & Destructor Documentation

mevt::ModuleRecData::ModuleRecData ( )
inlineprivate

Definition at line 278 of file ModuleRecData.h.

mevt::ModuleRecData::~ModuleRecData ( )
inlineprivate

Definition at line 279 of file ModuleRecData.h.

Member Function Documentation

void mevt::ModuleRecData::AddPatternMatchTime ( const double  t)
inline
double mevt::ModuleRecData::GetActiveArea ( ) const
inline

Definition at line 231 of file ModuleRecData.h.

References fActiveArea.

Referenced by MdMuonEstimatorAG::MdMuonEstimator::EstimateNumberOfMuons().

utl::TraceUI & mevt::ModuleRecData::GetChannelsInhibited ( )
const utl::TraceUI & mevt::ModuleRecData::GetChannelsInhibited ( ) const

Definition at line 40 of file ModuleRecData.cc.

References fChannelsInhibited.

utl::TraceUI & mevt::ModuleRecData::GetChannelsOn ( )

Number of windows with a signal in a module.

Windows on corresponds to the time time bin that has been labelled as containing a signal Not to be confused with the number of muons that can be higher due to the pile-up of muons in a single window

Non-modifying accessor.

Definition at line 9 of file ModuleRecData.cc.

References fChannelsOn.

Referenced by MdMuonEstimatorAG::MdMuonEstimator::FillChannelsOn(), MdMuonCounterAG::MdMuonCounter::FillChannelsOn(), MdMuonCounterAG::MdMuonCounter::FillModuleRecData(), MdMuonIntegratorAG::MdMuonIntegrator::GetModuleFirstMuon(), MdPileUpCorrecterAG::InhibitionStrategy::operator()(), and io::ModuleRecData_ROOT::operator>>().

const utl::TraceUI & mevt::ModuleRecData::GetChannelsOn ( ) const

Definition at line 33 of file ModuleRecData.cc.

References fChannelsOn.

utl::TimeStamp mevt::ModuleRecData::GetChannelsOnStartTime ( ) const
inline

Return the timestamp associated with the start of the ChannelsOn trace.

The timestamp of the first bin of the trace. The start time was made an optional field to deal with situations when it cannnot be set for some problem like the GPS data of the SD station associated to this module cannot be retrieved. Furthermore it must be possible to check if this field is present or not. A shadow pointer for the time stamp was implemented to cater for this requirement.

Definition at line 106 of file ModuleRecData.h.

References fChannelsOnStartTime.

double mevt::ModuleRecData::GetCornerClippingProbability ( ) const
inline

Definition at line 271 of file ModuleRecData.h.

References fCornerClippingProbability.

double mevt::ModuleRecData::GetLDFResidual ( ) const
inline

Definition at line 263 of file ModuleRecData.h.

References fLDFResidual.

unsigned int mevt::ModuleRecData::GetMaxChannelsOn ( ) const

Definition at line 152 of file ModuleRecData.cc.

References utl::Trace< T >::Begin(), utl::Trace< T >::End(), fChannelsOn, and max.

Referenced by IsEmpty(), and IsGood().

double mevt::ModuleRecData::GetMeanChargeMuonHG ( ) const
inline

Definition at line 163 of file ModuleRecData.h.

References fMeanChargeMuonHG.

Referenced by MdMuonIntegratorAG::MdMuonIntegrator::GetMuonsWithADC().

double mevt::ModuleRecData::GetMeanChargeMuonLG ( ) const
inline

Calibration of ADC channel.

mean charge per muon and StdDev getter and setters;

A = LG B = HG

Definition at line 158 of file ModuleRecData.h.

References fMeanChargeMuonLG.

Referenced by MdMuonIntegratorAG::MdMuonIntegrator::GetMuonsWithADC().

double mevt::ModuleRecData::GetMeanMuonDensity ( ) const
inline

Definition at line 244 of file ModuleRecData.h.

References fActiveArea, and fMeanMuons.

double mevt::ModuleRecData::GetMeanMuonDensityErrorHigh ( ) const
inline

Definition at line 245 of file ModuleRecData.h.

References fActiveArea, and fMeanMuonsErrorHigh.

double mevt::ModuleRecData::GetMeanMuonDensityErrorLow ( ) const
inline

Definition at line 246 of file ModuleRecData.h.

References fActiveArea, and fMeanMuonsErrorLow.

double mevt::ModuleRecData::GetMeanMuons ( ) const
inline

Definition at line 140 of file ModuleRecData.h.

References fMeanMuons.

double mevt::ModuleRecData::GetMeanMuonsErrorHigh ( ) const
inline

Definition at line 143 of file ModuleRecData.h.

References fMeanMuonsErrorHigh.

double mevt::ModuleRecData::GetMeanMuonsErrorLow ( ) const
inline

Definition at line 146 of file ModuleRecData.h.

References fMeanMuonsErrorLow.

double mevt::ModuleRecData::GetMeanMuonsLowLimit ( ) const
inline

Definition at line 214 of file ModuleRecData.h.

References fMeanMuonsLowLimit.

utl::TraceD & mevt::ModuleRecData::GetMeanMuonsVsTime ( )
const utl::TraceD & mevt::ModuleRecData::GetMeanMuonsVsTime ( ) const

Definition at line 47 of file ModuleRecData.cc.

References fMeanMuonsVsTime.

* utl::TraceD& mevt::ModuleRecData::GetMeanMuonsVsTime ( )
inline

Definition at line 221 of file ModuleRecData.h.

* const utl::TraceD& mevt::ModuleRecData::GetMeanMuonsVsTime ( ) const
inline

Definition at line 222 of file ModuleRecData.h.

double mevt::ModuleRecData::GetMuonDensity ( ) const
inline

The denstiy is calculated as the number of estimated muons divided by the active area of the module. Note that the density in the detector plane is provided here. It has to be divided by the cosine of the zenith angle to pass it to the shower plane as needed by the lateral distribution function. This conversion has to be done in the calling code since the detector does not know about zenith angles.

Definition at line 240 of file ModuleRecData.h.

References fActiveArea, and fNumberOfEstimatedMuons.

double mevt::ModuleRecData::GetMuonDensityErrorHigh ( ) const
inline

Definition at line 241 of file ModuleRecData.h.

References fActiveArea, and fNumberOfMuonsErrorHigh.

double mevt::ModuleRecData::GetMuonDensityErrorHighHG ( ) const
inline

Definition at line 253 of file ModuleRecData.h.

References fActiveArea, and fNumberOfMuonsADCErrorHighHG.

double mevt::ModuleRecData::GetMuonDensityErrorHighLG ( ) const
inline

Definition at line 249 of file ModuleRecData.h.

References fActiveArea, and fNumberOfMuonsADCErrorHighLG.

double mevt::ModuleRecData::GetMuonDensityErrorLow ( ) const
inline

Definition at line 242 of file ModuleRecData.h.

References fActiveArea, and fNumberOfMuonsErrorLow.

double mevt::ModuleRecData::GetMuonDensityErrorLowHG ( ) const
inline

Definition at line 254 of file ModuleRecData.h.

References fActiveArea, and fNumberOfMuonsADCErrorLowHG.

double mevt::ModuleRecData::GetMuonDensityErrorLowLG ( ) const
inline

Definition at line 250 of file ModuleRecData.h.

References fActiveArea, and fNumberOfMuonsADCErrorLowLG.

double mevt::ModuleRecData::GetMuonDensityHG ( ) const
inline

Definition at line 252 of file ModuleRecData.h.

References fActiveArea, and fNumberOfEstimatedMuonsADCHG.

double mevt::ModuleRecData::GetMuonDensityLG ( ) const
inline

Definition at line 248 of file ModuleRecData.h.

References fActiveArea, and fNumberOfEstimatedMuonsADCLG.

unsigned int mevt::ModuleRecData::GetNumberOfChannelsInhibited ( ) const
unsigned int mevt::ModuleRecData::GetNumberOfChannelsOn ( ) const

Definition at line 127 of file ModuleRecData.cc.

References utl::Trace< T >::Begin(), utl::Trace< T >::End(), and fChannelsOn.

double mevt::ModuleRecData::GetNumberOfEstimatedMuons ( ) const
inline

Definition at line 131 of file ModuleRecData.h.

References fNumberOfEstimatedMuons.

Referenced by MdBiasCorrecterAG::MdBiasCorrecter::CorrectBias().

double mevt::ModuleRecData::GetNumberOfEstimatedMuonsADCHG ( ) const
inline

Definition at line 194 of file ModuleRecData.h.

References fNumberOfEstimatedMuonsADCHG.

double mevt::ModuleRecData::GetNumberOfEstimatedMuonsADCLG ( ) const
inline

Definition at line 185 of file ModuleRecData.h.

References fNumberOfEstimatedMuonsADCLG.

double mevt::ModuleRecData::GetNumberOfMuonsADCErrorHighHG ( ) const
inline

Definition at line 197 of file ModuleRecData.h.

References fNumberOfMuonsADCErrorHighHG.

double mevt::ModuleRecData::GetNumberOfMuonsADCErrorHighLG ( ) const
inline

Definition at line 188 of file ModuleRecData.h.

References fNumberOfMuonsADCErrorHighLG.

double mevt::ModuleRecData::GetNumberOfMuonsADCErrorLowHG ( ) const
inline

Definition at line 200 of file ModuleRecData.h.

References fNumberOfMuonsADCErrorLowHG.

double mevt::ModuleRecData::GetNumberOfMuonsADCErrorLowLG ( ) const
inline

Definition at line 191 of file ModuleRecData.h.

References fNumberOfMuonsADCErrorLowLG.

double mevt::ModuleRecData::GetNumberOfMuonsErrorHigh ( ) const
inline

Definition at line 134 of file ModuleRecData.h.

References fNumberOfMuonsErrorHigh.

double mevt::ModuleRecData::GetNumberOfMuonsErrorLow ( ) const
inline

Definition at line 137 of file ModuleRecData.h.

References fNumberOfMuonsErrorLow.

double mevt::ModuleRecData::GetNumberOfMuonsLowLimit ( ) const
inline

Definition at line 211 of file ModuleRecData.h.

References fNumberOfMuonsLowLimit.

utl::TraceD & mevt::ModuleRecData::GetNumberOfMuonsVsTime ( )
const utl::TraceD & mevt::ModuleRecData::GetNumberOfMuonsVsTime ( ) const

Definition at line 54 of file ModuleRecData.cc.

References fNumberOfMuonsVsTime.

* utl::TraceD& mevt::ModuleRecData::GetNumberOfMuonsVsTime ( )
inline

Definition at line 225 of file ModuleRecData.h.

* const utl::TraceD& mevt::ModuleRecData::GetNumberOfMuonsVsTime ( ) const
inline

Definition at line 226 of file ModuleRecData.h.

const std::vector<double>& mevt::ModuleRecData::GetPatternMatchTimes ( ) const
inline

Definition at line 266 of file ModuleRecData.h.

References fPatternMatchTimes.

Referenced by MdMuonCounterAG::MdMuonCounter::ComputeSignalT50().

std::vector<double>& mevt::ModuleRecData::GetPatternMatchTimes ( )
inline

Definition at line 267 of file ModuleRecData.h.

References fPatternMatchTimes.

size_t mevt::ModuleRecData::GetSegmentation ( ) const
inline
double mevt::ModuleRecData::GetSPDistance ( ) const
inline

Definition at line 274 of file ModuleRecData.h.

References fSPDistance.

double mevt::ModuleRecData::GetStdDevChargeMuonHG ( ) const
inline
double mevt::ModuleRecData::GetStdDevChargeMuonLG ( ) const
inline
double mevt::ModuleRecData::GetTotalChargeHG ( ) const
inline

Definition at line 172 of file ModuleRecData.h.

References fTotalChargeHG.

double mevt::ModuleRecData::GetTotalChargeLG ( ) const
inline

Definition at line 169 of file ModuleRecData.h.

References fTotalChargeLG.

unsigned int mevt::ModuleRecData::GetTotalNumberOfChannelsOn ( ) const
inline

Definition at line 53 of file ModuleRecData.h.

References fTotalNumberOfChannelsOn.

unsigned int mevt::ModuleRecData::GetWindowSize ( ) const
inline
bool mevt::ModuleRecData::HasChannelsInhibited ( ) const
bool mevt::ModuleRecData::HasChannelsOn ( ) const
bool mevt::ModuleRecData::HasChannelsOnStartTime ( ) const
inline

Check for the presence of the time stamp.

Definition at line 114 of file ModuleRecData.h.

References fChannelsOnStartTime.

bool mevt::ModuleRecData::HasMeanMuonsVsTime ( ) const
* bool mevt::ModuleRecData::HasMeanMuonsVsTime ( ) const
inline

/**

  • Get and set the reconstructed number of muons or mean muons as a function of time

Definition at line 220 of file ModuleRecData.h.

bool mevt::ModuleRecData::HasNumberOfMuonsVsTime ( ) const
* * bool mevt::ModuleRecData::HasNumberOfMuonsVsTime ( ) const
inline

Definition at line 224 of file ModuleRecData.h.

bool mevt::ModuleRecData::IsADCCalibratedHG ( ) const
inline

Definition at line 82 of file ModuleRecData.h.

References fMeanChargeMuonHG.

Referenced by MdMuonIntegratorAG::MdMuonIntegrator::GetMuonsWithADC().

bool mevt::ModuleRecData::IsADCCalibratedLG ( ) const
inline

Definition at line 81 of file ModuleRecData.h.

References fMeanChargeMuonLG.

Referenced by MdMuonIntegratorAG::MdMuonIntegrator::GetMuonsWithADC().

bool mevt::ModuleRecData::IsEmpty ( ) const
inline

Definition at line 78 of file ModuleRecData.h.

References GetMaxChannelsOn().

Referenced by MdMuonIntegratorAG::MdMuonIntegrator::GetMuonsWithADC().

bool mevt::ModuleRecData::IsGood ( ) const
inline

Definition at line 79 of file ModuleRecData.h.

References fSegmentation, and GetMaxChannelsOn().

bool mevt::ModuleRecData::IsSaturated ( ) const
inline
void mevt::ModuleRecData::MakeChannelsInhibited ( )
void mevt::ModuleRecData::MakeChannelsOn ( )
void mevt::ModuleRecData::MakeMeanMuonsVsTime ( )
void mevt::ModuleRecData::MakeNumberOfMuonsVsTime ( )
bool mevt::ModuleRecData::SaturationFlag ( ) const
inline

Definition at line 95 of file ModuleRecData.h.

References fSaturationFlag.

* * void mevt::ModuleRecData::SetActiveArea ( const double  area)
inline
void mevt::ModuleRecData::SetChannelsOnStartTime ( const utl::TimeStamp t)
inline

Sets the timestamp associated with the start of the ChannelsOn trace.

Definition at line 110 of file ModuleRecData.h.

References fChannelsOnStartTime.

Referenced by MdMuonCounterAG::MdMuonCounter::Run().

void mevt::ModuleRecData::SetCornerClippingProbability ( const double  p)
inline
void mevt::ModuleRecData::SetLDFResidual ( const double  ldfResidual)
inline

Definition at line 262 of file ModuleRecData.h.

References fLDFResidual.

void mevt::ModuleRecData::SetMeanChargeMuonHG ( const double  charge)
inline
void mevt::ModuleRecData::SetMeanChargeMuonLG ( const double  charge)
inline
void mevt::ModuleRecData::SetMeanMuons ( const double  m)
inline
void mevt::ModuleRecData::SetMeanMuonsErrorHigh ( const double  e)
inline

Definition at line 142 of file ModuleRecData.h.

References fMeanMuonsErrorHigh.

void mevt::ModuleRecData::SetMeanMuonsErrorLow ( const double  e)
inline

Definition at line 145 of file ModuleRecData.h.

References fMeanMuonsErrorLow.

void mevt::ModuleRecData::SetMeanMuonsLowLimit ( const double  e)
inline

Definition at line 213 of file ModuleRecData.h.

References fMeanMuonsLowLimit.

void mevt::ModuleRecData::SetNumberOfEstimatedMuons ( const double  m)
inline

Number of estimated muons in a module.

The number of muons estimated in the module usually computed as a maximum likelihood estimator. The estimated number of muons is not a correction as interpreted originally but some function of the "windows on" in each time bin. The function to set the estimated number of muons is left to the user code, this class just implements a data holder.

Definition at line 130 of file ModuleRecData.h.

References fNumberOfEstimatedMuons, and utl::m.

Referenced by MdBiasCorrecterAG::MdBiasCorrecter::CorrectBias(), MdMuonEstimatorAG::MdMuonEstimator::EstimateNumberOfMuons(), MdMuonCounterAG::MdMuonCounter::FillModuleRecData(), MdMuonEstimatorAG::NBinCenteredStrategy::operator()(), MdMuonEstimatorAG::OneBinStrategy::operator()(), MdMuonEstimatorAG::InfiniteWindowStrategy::operator()(), MdMuonEstimatorAG::NBinStrategy::operator()(), and MdPileUpCorrecterAG::MdPileUpCorrecter::Run().

void mevt::ModuleRecData::SetNumberOfEstimatedMuonsADCHG ( const double  m)
inline
void mevt::ModuleRecData::SetNumberOfEstimatedMuonsADCLG ( const double  m)
inline

Number of estimated muons in a module with ADC channel.

Obtained from dividing the signal charge by the mean charge of single muon. Uncertainties are computed by adding in quadrature the poissonian uncertainty and the detector resolution.

Definition at line 184 of file ModuleRecData.h.

References fNumberOfEstimatedMuonsADCLG, and utl::m.

Referenced by MdMuonIntegratorAG::MdMuonIntegrator::GetMuonsWithADC().

void mevt::ModuleRecData::SetNumberOfMuonsADCErrorHighHG ( const double  e)
inline
void mevt::ModuleRecData::SetNumberOfMuonsADCErrorHighLG ( const double  e)
inline
void mevt::ModuleRecData::SetNumberOfMuonsADCErrorLowHG ( const double  e)
inline
void mevt::ModuleRecData::SetNumberOfMuonsADCErrorLowLG ( const double  e)
inline
void mevt::ModuleRecData::SetNumberOfMuonsErrorHigh ( const double  e)
inline
void mevt::ModuleRecData::SetNumberOfMuonsErrorLow ( const double  e)
inline
void mevt::ModuleRecData::SetNumberOfMuonsLowLimit ( const double  e)
inline

The lower limit to the number of muons in a module.

The low limit of muons provides a valid option to the minimum bound to muons specially useful for saturated modules, where the number of muons and therefore the error bars size are infinite

Definition at line 210 of file ModuleRecData.h.

References fNumberOfMuonsLowLimit.

Referenced by MdMuonEstimatorAG::MdMuonEstimator::EstimateNumberOfMuons(), and MdMuonCounterAG::MdMuonCounter::FillModuleRecData().

void mevt::ModuleRecData::SetSaturated ( const bool  sat)
inline
void mevt::ModuleRecData::SetSaturationFlag ( const bool  satFlag)
inline

Return user defined saturation limit.

This flag may be different from IsSaturated() returned value which controls the "hardware" module saturation (non-recoverable) imposed by the 64 bars segmentation. In turns, this flag is set and used by the LDF fitting procedure and may be lower than segmentation if desired.

Definition at line 94 of file ModuleRecData.h.

References fSaturationFlag.

void mevt::ModuleRecData::SetSegmentation ( const size_t  nm)
inline
void mevt::ModuleRecData::SetSPDistance ( const double  r)
inline

Definition at line 273 of file ModuleRecData.h.

References fSPDistance.

Referenced by MdLDFFinderAG::MdLDFFinder::FillModulesShowerPlaneDistances().

void mevt::ModuleRecData::SetStdDevChargeMuonHG ( const double  charge)
inline
void mevt::ModuleRecData::SetStdDevChargeMuonLG ( const double  charge)
inline
void mevt::ModuleRecData::SetTotalChargeHG ( const double  charge)
inline

Definition at line 171 of file ModuleRecData.h.

References fTotalChargeHG.

Referenced by MdMuonIntegratorAG::MdMuonIntegrator::GetMuonsWithADC().

void mevt::ModuleRecData::SetTotalChargeLG ( const double  charge)
inline

Definition at line 168 of file ModuleRecData.h.

References fTotalChargeLG.

Referenced by MdMuonIntegratorAG::MdMuonIntegrator::GetMuonsWithADC().

void mevt::ModuleRecData::SetTotalNumberOfChannelsOn ( const unsigned int  n)
inline

Total number of channels with at least one pattern match (it cannot be greater than 64)

Definition at line 119 of file ModuleRecData.h.

References fTotalNumberOfChannelsOn.

Referenced by MdPatternFinderAG::MdPatternFinder::Run().

void mevt::ModuleRecData::SetWindowSize ( const unsigned int  ws)
inline

Friends And Related Function Documentation

friend class Module
friend

Friendship to allow construction.

Definition at line 354 of file ModuleRecData.h.

friend class utl::ShadowPtr< ModuleRecData >
friend

Frienship to allow destruction.

Depends on the innards of mevt::Module.

Definition at line 361 of file ModuleRecData.h.

Member Data Documentation

double mevt::ModuleRecData::fActiveArea = 0
private

The module detection area.

The detection area is used here. It correspond to the sum of the areas of the working channels. The detection area is less than the module nominal area if there are faulty channels in the event.

Definition at line 288 of file ModuleRecData.h.

Referenced by GetActiveArea(), GetMeanMuonDensity(), GetMeanMuonDensityErrorHigh(), GetMeanMuonDensityErrorLow(), GetMuonDensity(), GetMuonDensityErrorHigh(), GetMuonDensityErrorHighHG(), GetMuonDensityErrorHighLG(), GetMuonDensityErrorLow(), GetMuonDensityErrorLowHG(), GetMuonDensityErrorLowLG(), GetMuonDensityHG(), GetMuonDensityLG(), and SetActiveArea().

utl::ShadowPtr<utl::TraceUI> mevt::ModuleRecData::fChannelsInhibited
private
utl::ShadowPtr<utl::TraceUI> mevt::ModuleRecData::fChannelsOn
private
utl::ShadowPtr<utl::TimeStamp> mevt::ModuleRecData::fChannelsOnStartTime
private
double mevt::ModuleRecData::fCornerClippingProbability = 0
private

Definition at line 347 of file ModuleRecData.h.

Referenced by GetCornerClippingProbability(), and SetCornerClippingProbability().

double mevt::ModuleRecData::fLDFResidual = 0
private

Definition at line 312 of file ModuleRecData.h.

Referenced by GetLDFResidual(), and SetLDFResidual().

double mevt::ModuleRecData::fMeanChargeMuonHG = 0
private

Definition at line 340 of file ModuleRecData.h.

Referenced by GetMeanChargeMuonHG(), IsADCCalibratedHG(), and SetMeanChargeMuonHG().

double mevt::ModuleRecData::fMeanChargeMuonLG = 0
private

Definition at line 338 of file ModuleRecData.h.

Referenced by GetMeanChargeMuonLG(), IsADCCalibratedLG(), and SetMeanChargeMuonLG().

double mevt::ModuleRecData::fMeanMuons = 0
private

Definition at line 318 of file ModuleRecData.h.

Referenced by GetMeanMuonDensity(), GetMeanMuons(), and SetMeanMuons().

double mevt::ModuleRecData::fMeanMuonsErrorHigh = 0
private
double mevt::ModuleRecData::fMeanMuonsErrorLow = 0
private
double mevt::ModuleRecData::fMeanMuonsLowLimit = 0
private

Definition at line 321 of file ModuleRecData.h.

Referenced by GetMeanMuonsLowLimit(), and SetMeanMuonsLowLimit().

utl::ShadowPtr<utl::TraceD> mevt::ModuleRecData::fMeanMuonsVsTime
private

Definition at line 295 of file ModuleRecData.h.

Referenced by GetMeanMuonsVsTime(), HasMeanMuonsVsTime(), and MakeMeanMuonsVsTime().

double mevt::ModuleRecData::fNumberOfEstimatedMuons = 0
private
double mevt::ModuleRecData::fNumberOfEstimatedMuonsADCHG = 0
private
double mevt::ModuleRecData::fNumberOfEstimatedMuonsADCLG = 0
private
double mevt::ModuleRecData::fNumberOfMuonsADCErrorHighHG = 0
private
double mevt::ModuleRecData::fNumberOfMuonsADCErrorHighLG = 0
private
double mevt::ModuleRecData::fNumberOfMuonsADCErrorLowHG = 0
private
double mevt::ModuleRecData::fNumberOfMuonsADCErrorLowLG = 0
private
double mevt::ModuleRecData::fNumberOfMuonsErrorHigh = 0
private
double mevt::ModuleRecData::fNumberOfMuonsErrorLow = 0
private
double mevt::ModuleRecData::fNumberOfMuonsLowLimit = 0
private

Definition at line 328 of file ModuleRecData.h.

Referenced by GetNumberOfMuonsLowLimit(), and SetNumberOfMuonsLowLimit().

utl::ShadowPtr<utl::TraceD> mevt::ModuleRecData::fNumberOfMuonsVsTime
private
std::vector<double> mevt::ModuleRecData::fPatternMatchTimes
private

The pattern match times vector stores the times of all matches in the module found by the counting algorithm. In the case of few matches this is a proxy for the number of muons, for larger signals the pile-up has to be considered. Times are measured in nanoseconds from the trace start.

Definition at line 306 of file ModuleRecData.h.

Referenced by AddPatternMatchTime(), and GetPatternMatchTimes().

bool mevt::ModuleRecData::fSaturated = false
private

Definition at line 313 of file ModuleRecData.h.

Referenced by IsSaturated(), and SetSaturated().

bool mevt::ModuleRecData::fSaturationFlag = false
private

Definition at line 314 of file ModuleRecData.h.

Referenced by SaturationFlag(), and SetSaturationFlag().

size_t mevt::ModuleRecData::fSegmentation = 0
private

Definition at line 309 of file ModuleRecData.h.

Referenced by GetSegmentation(), IsGood(), and SetSegmentation().

double mevt::ModuleRecData::fSPDistance = 0
private

Definition at line 349 of file ModuleRecData.h.

Referenced by GetSPDistance(), and SetSPDistance().

double mevt::ModuleRecData::fStdDevChargeMuonHG = 0
private

Definition at line 341 of file ModuleRecData.h.

Referenced by GetStdDevChargeMuonHG(), and SetStdDevChargeMuonHG().

double mevt::ModuleRecData::fStdDevChargeMuonLG = 0
private

Definition at line 339 of file ModuleRecData.h.

Referenced by GetStdDevChargeMuonLG(), and SetStdDevChargeMuonLG().

double mevt::ModuleRecData::fTotalChargeHG = 0
private

Definition at line 344 of file ModuleRecData.h.

Referenced by GetTotalChargeHG(), and SetTotalChargeHG().

double mevt::ModuleRecData::fTotalChargeLG = 0
private

Definition at line 343 of file ModuleRecData.h.

Referenced by GetTotalChargeLG(), and SetTotalChargeLG().

unsigned int mevt::ModuleRecData::fTotalNumberOfChannelsOn = 0
private

Definition at line 346 of file ModuleRecData.h.

Referenced by GetTotalNumberOfChannelsOn(), and SetTotalNumberOfChannelsOn().

unsigned int mevt::ModuleRecData::fWindowSize = 0
private

Definition at line 311 of file ModuleRecData.h.

Referenced by GetWindowSize(), and SetWindowSize().


The documentation for this class was generated from the following files:

, generated on Tue Sep 26 2023.