![]() |
ATLAS Offline Software
|
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO. More...
Namespaces | |
Legendre | |
Enumerations | |
enum | MuonCalibTriggerType { L1_EM3 = 0, L1_TAU5, L1_J5, L1_XE20, L1_MBTS_1_COMM, L1_MBTS_2_COMM, L1_MU0_LOW_RPC, L1_MU6_RPC, L1_MU0_HIGH_RPC, L1_MU0_TGC_HALO, L1_MU0_TGC, L1_MU6_TGC, NUMBEROFKNOWNTRIGGERS, UNKNOWNTRIGGERTYPE = 999 } |
enum for all trigger type More... | |
enum | MdtCalibCreationFlags { TIME_SLEWING_CORRECTION_APPLIED =0x10, B_FIELD_CORRECTIONS_APPLIED =0x20 } |
Functions | |
std::istream & | operator>> (std::istream &is, RtFullInfo &data) |
std::ostream & | operator<< (std::ostream &os, const RtFullInfo &data) |
float | RtScalePolynomial (const float r) |
float | RtScaleFunction (const float t, const bool ml2, const IRtRelation &rtrelation) |
std::vector< SamplePoint > | fetchDataPoints (const IRtRelation &rtRel, const double relUnc) |
Constructs a list of sample points from the rt-relation. More... | |
std::vector< SamplePoint > | fetchDataPoints (const IRtRelation &rtRel, const IRtResolution &resoFunc) |
Constructs a list of sample points from the rt-relation. More... | |
std::vector< SamplePoint > | swapCoordinates (const std::vector< SamplePoint > &points, const IRtRelation &rtRel) |
Creates a new vector of samples points with x1 exchanged by x2 and vice-versa. More... | |
std::vector< SamplePoint > | resoFromRadius (const std::vector< SamplePoint > &points, const double uncert) |
Creates a new vector of sample points where the x2 coordinate becomes the x1 coordinate and the resolution becomes x2. More... | |
std::vector< SamplePoint > | fetchResolution (const std::vector< SamplePoint > &points, const double uncert) |
Creates a new vector of sample points where the x2 is assigned to the uncertainty and the uncertainty is replaced by a constant value. More... | |
std::vector< SamplePoint > | normalizeDomain (const std::vector< SamplePoint > &dataPoints) |
Normalizes the domain of the samples points to the interval -1 to 1. More... | |
double | calculateChi2 (const std::vector< SamplePoint > &dataPoints, const IRtRelation &rtRel) |
Returns the chi2 of the rt-relation w.r.t. More... | |
double | calculateChi2 (const std::vector< SamplePoint > &dataPoints, const ITrRelation &trRel) |
double | calculateChi2 (const std::vector< SamplePoint > &dataPoints, const IRtResolution &rtReso) |
std::pair< double, double > | minMax (const std::vector< SamplePoint > &points) |
Returns the minimum & maximum values covered by the sample points. More... | |
std::pair< double, double > | interval (const std::vector< SamplePoint > &points) |
Returns the interval covered by the sample points. More... | |
Double_t | MultilayerRtDifference_ScaleFunction (Double_t *x, Double_t *par) |
template<typename T > | |
void | clearall (T &container) |
Double_t | adcfitf_skewnormal (Double_t *x, Double_t *par) |
skew normal ADC fitting More... | |
unsigned int | get_group_id (const MuonFixedId &id, const MdtRelativeTubeT0::TubeGroup &grp) |
Double_t | myexp (Double_t *x, Double_t *p) |
Double_t | TimeSpectrum_func (Double_t *xx, Double_t *par) |
TRandom3 * | getTLSRandomGen () |
Double_t | mt_t0_fermi (Double_t *x, Double_t *par) |
The fermi function to be fitted at the rising edge of the spectrum. More... | |
Double_t | mt_tmax_fermi (Double_t *x, Double_t *par) |
The fermi function to be fitted at the trailing slope of the spectrum. More... | |
std::istream & | operator>> (std::istream &is, RtData_t_r_reso &data) |
std::ostream & | operator<< (std::ostream &os, const RtData_t_r_reso &data) |
std::ostream & | operator<< (std::ostream &stream, const CscCalibHitBase &hit) |
std::ostream & | operator<< (std::ostream &stream, const RpcCalibHitBase &hit) |
std::ostream & | operator<< (std::ostream &stream, const TgcCalibHitBase &hit) |
std::ostream & | operator<< (std::ostream &os, const MuonCalib::MuonFixedId &id) |
std::ostream & | operator<< (std::ostream &os, const MuonCalib::MuonFixedLongId &id) |
MuonFixedId | OnlineToOffline (const std::string &online_id) |
constexpr double | chebyshevPoly1st (const unsigned int order, const double x) |
Returns the n-th Chebyshev polynomial of first kind evaluated at x (c.f. More... | |
constexpr double | chebyshevPoly2nd (const unsigned int order, const double x) |
Returns the n-th Chebyshev polynomial of second kind evaluated at x (c.f. More... | |
constexpr double | chebyshevPoly1stPrime (const unsigned int order, const double x) |
Returns the first derivative of the n-th Chebycheb polynomial of the first kind. More... | |
constexpr double | chebyshevPoly2ndPrime (const unsigned int order, const double x) |
Returns the first derivative of the n-th Chebycheb polynomial of the first second kind. More... | |
constexpr double | chebyshevPoly1st2Prime (const unsigned int order, const double x) |
Returns the second derivative of the n-th Chebycheb polynomial of the first kind. More... | |
constexpr double | chebyshevPoly2nd2Prime (const unsigned int order, const double x) |
Returns the second derivative of the n-th Chebycheb polynomial of the first second kind. More... | |
constexpr unsigned long | factorial (const int n) |
Evaluated the n-th factorial at compile time. More... | |
constexpr unsigned long | binomial (const unsigned n, const unsigned k) |
Calculates the binomial coefficient at compile time. More... | |
template<int k> | |
constexpr double | pow (const double x) |
Calculate the power of a variable x at compile time. More... | |
constexpr double | pow (double x, int power) |
Calculate the power of a variable at run time. More... | |
constexpr double | legendrePoly (const unsigned l, const double x) |
Calculates the legendre polynomial of rank l at x. More... | |
constexpr double | legendreDeriv (const unsigned l, const unsigned d, const double x) |
Evaluates the n-th derivative of the l-th Legendre polynomial. More... | |
double | mapToUnitInterval (const double x, const double lowerEdge, const double upperEdge) |
Maps the number x which is in [lowEdge;upperEdge] to the interval [-1;1]. More... | |
double | unitIntervalPrime (const double lowerEdge, const double upperEdge) |
std::ostream & | operator<< (std::ostream &s, const CscCondParType &type) |
std::ostream & | operator<< (std::ostream &s, const RpcCondParType &type) |
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
namespace to identify classes related only to muon calibration
@class CscCondData @author lampen@physics.arizona.edu @brief Containes information for a single index value for a CSC COOL data object.
Every value from the CSC COOL database is kept in a CscCondData object.
using MuonCalib::CalibHitE_Ptr = typedef std::shared_ptr<const MuonCalibHit_E> |
hit information per station layer index
Definition at line 20 of file MuonCalibLayerMapping.h.
using MuonCalib::IdHitMap = typedef std::map<MuonFixedId, CalibHitE_Ptr> |
hit information per identifier
Definition at line 27 of file MuonCalibLayerMapping.h.
using MuonCalib::IdHitsMap = typedef std::map<MuonFixedId, std::vector<CalibHitE_Ptr> > |
hit information per station
Definition at line 24 of file MuonCalibLayerMapping.h.
using MuonCalib::IdSet = typedef std::set<MuonFixedId> |
set of identifiers
Definition at line 36 of file MuonCalibLayerMapping.h.
using MuonCalib::IRtRelationPtr = typedef GeoModel::TransientConstSharedPtr<IRtRelation> |
Definition at line 17 of file IRtRelation.h.
using MuonCalib::IRtResolutionPtr = typedef GeoModel::TransientConstSharedPtr<IRtResolution> |
Definition at line 13 of file IRtResolution.h.
using MuonCalib::ITrRelationPtr = typedef GeoModel::TransientConstSharedPtr<ITrRelation> |
Definition at line 16 of file ITrRelation.h.
define type MdtBasicRegionHash for the smallest possible MDT calibration region
Definition at line 26 of file NtupleStationId.h.
define type MdtBasicRegionId for the smallest possible MDT calibration region
Definition at line 24 of file NtupleStationId.h.
define type MdtRegionHash
Definition at line 28 of file NtupleStationId.h.
using MuonCalib::SingleTubeFit = typedef MdtTubeFitContainer::SingleTubeFit |
Definition at line 7 of file MdtTubeFitContainer.cxx.
Definition at line 7 of file MdtTubeFullInfoContainer.cxx.
using MuonCalib::StationIndexHitsMap = typedef std::map<MuonFixedIdManipulator::StationIndex, std::vector<CalibHitE_Ptr> > |
Definition at line 21 of file MuonCalibLayerMapping.h.
using MuonCalib::StationIndexSet = typedef std::set<MuonFixedIdManipulator::StationIndex> |
set with station layer index
Definition at line 33 of file MuonCalibLayerMapping.h.
using MuonCalib::StationIntersectedLayerMap = typedef std::map<MuonFixedId, MuonCalibSimpleHoleSearch::Result> |
intersected layers in the simplified geometry per station
Definition at line 30 of file MuonCalibLayerMapping.h.
Enumerator | |
---|---|
TIME_SLEWING_CORRECTION_APPLIED | |
B_FIELD_CORRECTIONS_APPLIED |
Definition at line 10 of file MdtCalibCreationFlags.h.
enum for all trigger type
Enumerator | |
---|---|
L1_EM3 | |
L1_TAU5 | |
L1_J5 | |
L1_XE20 | |
L1_MBTS_1_COMM | |
L1_MBTS_2_COMM | |
L1_MU0_LOW_RPC | |
L1_MU6_RPC | |
L1_MU0_HIGH_RPC | |
L1_MU0_TGC_HALO | |
L1_MU0_TGC | |
L1_MU6_TGC | |
NUMBEROFKNOWNTRIGGERS | |
UNKNOWNTRIGGERTYPE |
Definition at line 16 of file MuonCalibTriggerInfo.h.
|
inline |
skew normal ADC fitting
Definition at line 17 of file ADCMTHistos.cxx.
double MuonCalib::calculateChi2 | ( | const std::vector< SamplePoint > & | dataPoints, |
const IRtRelation & | rtRel | ||
) |
double MuonCalib::calculateChi2 | ( | const std::vector< SamplePoint > & | dataPoints, |
const IRtResolution & | rtReso | ||
) |
double MuonCalib::calculateChi2 | ( | const std::vector< SamplePoint > & | dataPoints, |
const ITrRelation & | trRel | ||
) |
Returns the n-th Chebyshev polynomial of first kind evaluated at x (c.f.
https://en.wikipedia.org/wiki/Chebyshev_polynomials)
order | of the polynomial to evalue |
x | Place at which the polynomial is evaluated |
Definition at line 13 of file ChebychevPoly.h.
|
constexpr |
Returns the second derivative of the n-th Chebycheb polynomial of the first kind.
order | of the polynomial to evalue |
x | Place at which the polynomial is evaluated |
Definition at line 81 of file ChebychevPoly.h.
|
constexpr |
Returns the first derivative of the n-th Chebycheb polynomial of the first kind.
order | of the polynomial to evalue |
x | Place at which the polynomial is evaluated |
Definition at line 49 of file ChebychevPoly.h.
Returns the n-th Chebyshev polynomial of second kind evaluated at x (c.f.
https://en.wikipedia.org/wiki/Chebyshev_polynomials)
order | of the polynomial to evalue |
x | Place at which the polynomial is evaluated |
Definition at line 32 of file ChebychevPoly.h.
|
constexpr |
Returns the second derivative of the n-th Chebycheb polynomial of the first second kind.
order | of the polynomial to evalue |
x | Place at which the polynomial is evaluated |
Definition at line 95 of file ChebychevPoly.h.
|
constexpr |
Returns the first derivative of the n-th Chebycheb polynomial of the first second kind.
order | of the polynomial to evalue |
x | Place at which the polynomial is evaluated |
Definition at line 65 of file ChebychevPoly.h.
|
inline |
Definition at line 83 of file MultilayerRtDifference.cxx.
|
constexpr |
std::vector< SamplePoint > MuonCalib::fetchDataPoints | ( | const IRtRelation & | rtRel, |
const double | relUnc | ||
) |
Constructs a list of sample points from the rt-relation.
The step-wdith between two points is taken from the rtRel bin width method and each point has the same uncertainty of 1 assigned
rtRel | Reference of the rtRelation to transform to points. |
Definition at line 17 of file SamplePointUtils.cxx.
std::vector< SamplePoint > MuonCalib::fetchDataPoints | ( | const IRtRelation & | rtRel, |
const IRtResolution & | resoFunc | ||
) |
Constructs a list of sample points from the rt-relation.
The step-wdith between two points is taken from the rtRel bin width method and each point is weighted with the relative resolution
rtRel | Reference of the rtRelation to transform to points. |
reo | Reference to the r-t resolution function |
Definition at line 29 of file SamplePointUtils.cxx.
std::vector< SamplePoint > MuonCalib::fetchResolution | ( | const std::vector< SamplePoint > & | points, |
const double | uncert | ||
) |
Creates a new vector of sample points where the x2 is assigned to the uncertainty and the uncertainty is replaced by a constant value.
points: List of data points to transform | |
uncert | Uncertainty to assign instead |
Definition at line 48 of file SamplePointUtils.cxx.
|
inline |
Definition at line 63 of file MdtRelativeTubeT0.cxx.
TRandom3* MuonCalib::getTLSRandomGen | ( | ) |
Definition at line 22 of file T0MTHistos.cxx.
std::pair< double, double > MuonCalib::interval | ( | const std::vector< SamplePoint > & | points | ) |
Returns the interval covered by the sample points.
Definition at line 92 of file SamplePointUtils.cxx.
|
constexpr |
Evaluates the n-th derivative of the l-th Legendre polynomial.
x | Point of evaluation [-1;1] |
l | Order of the Legendre polynomial |
d | Order of the derivative |
Definition at line 198 of file LegendrePoly.h.
Calculates the legendre polynomial of rank l at x.
l | Order of the legendre polynomial |
x | Point of evaluation [-1;1] |
Definition at line 171 of file LegendrePoly.h.
|
inline |
Maps the number x which is in [lowEdge;upperEdge] to the interval [-1;1].
lowerEdge | Lower edge of the |
Definition at line 12 of file UtilFunc.h.
std::pair< double, double > MuonCalib::minMax | ( | const std::vector< SamplePoint > & | points | ) |
Returns the minimum & maximum values covered by the sample points.
Definition at line 84 of file SamplePointUtils.cxx.
|
inline |
|
inline |
The fermi function to be fitted at the trailing slope of the spectrum.
Definition at line 44 of file T0MTHistos.cxx.
Double_t MuonCalib::MultilayerRtDifference_ScaleFunction | ( | Double_t * | x, |
Double_t * | par | ||
) |
Definition at line 35 of file MultilayerRtDifference.cxx.
|
inline |
std::vector< SamplePoint > MuonCalib::normalizeDomain | ( | const std::vector< SamplePoint > & | dataPoints | ) |
Normalizes the domain of the samples points to the interval -1 to 1.
Definition at line 76 of file SamplePointUtils.cxx.
MuonFixedId MuonCalib::OnlineToOffline | ( | const std::string & | online_id | ) |
Definition at line 13 of file OfflineOnlineIdConversion.cxx.
|
inline |
Definition at line 1200 of file MuonFixedId.h.
|
inline |
Definition at line 1577 of file MuonFixedLongId.h.
std::ostream & MuonCalib::operator<< | ( | std::ostream & | os, |
const RtData_t_r_reso & | data | ||
) |
Definition at line 99 of file RtData_t_r_reso.cxx.
std::ostream & MuonCalib::operator<< | ( | std::ostream & | os, |
const RtFullInfo & | data | ||
) |
Definition at line 13 of file RtFullInfo.cxx.
|
inline |
Definition at line 71 of file CscCondParType.h.
|
inline |
Definition at line 60 of file RpcCondParType.h.
std::ostream& MuonCalib::operator<< | ( | std::ostream & | stream, |
const CscCalibHitBase & | hit | ||
) |
Definition at line 26 of file CscCalibHitBase.cxx.
std::ostream& MuonCalib::operator<< | ( | std::ostream & | stream, |
const RpcCalibHitBase & | hit | ||
) |
Definition at line 61 of file RpcCalibHitBase.cxx.
std::ostream& MuonCalib::operator<< | ( | std::ostream & | stream, |
const TgcCalibHitBase & | hit | ||
) |
Definition at line 70 of file TgcCalibHitBase.cxx.
std::istream & MuonCalib::operator>> | ( | std::istream & | is, |
RtData_t_r_reso & | data | ||
) |
Definition at line 97 of file RtData_t_r_reso.cxx.
std::istream & MuonCalib::operator>> | ( | std::istream & | is, |
RtFullInfo & | data | ||
) |
Definition at line 11 of file RtFullInfo.cxx.
|
constexpr |
|
constexpr |
std::vector< SamplePoint > MuonCalib::resoFromRadius | ( | const std::vector< SamplePoint > & | points, |
const double | uncert | ||
) |
Creates a new vector of sample points where the x2 coordinate becomes the x1 coordinate and the resolution becomes x2.
Each point has the same uncertainty assigned
points | List of rt- sample points of interest |
uncert | Uncertainty oon each point |
Definition at line 39 of file SamplePointUtils.cxx.
float MuonCalib::RtScaleFunction | ( | const float | t, |
const bool | ml2, | ||
const IRtRelation & | rtrelation | ||
) |
Definition at line 20 of file RtScaleFunction.cxx.
float MuonCalib::RtScalePolynomial | ( | const float | r | ) |
std::vector< SamplePoint > MuonCalib::swapCoordinates | ( | const std::vector< SamplePoint > & | points, |
const IRtRelation & | rtRel | ||
) |
Creates a new vector of samples points with x1 exchanged by x2 and vice-versa.
Each point has the same uncertainty assigned.
points | List of rt- sample points of interest |
rtRel | Reference to the rt-relation to calculate each point's uncertainty. |
Definition at line 59 of file SamplePointUtils.cxx.
|
inline |
Definition at line 15 of file UtilFunc.h.