ATLAS Offline Software
Loading...
Searching...
No Matches
ChargeCalibParameters.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
12#include <cmath>
13#include <iostream>
14
15namespace PixelChargeCalib{
16 //definition of stream insertion operators for the structs in the header
17
18 std::ostream & operator << (std::ostream & out, const LegacyFitParameters & f){
19 out<<"("<<f.A<<", "<<f.E<<", "<<f.C<<", "<<f.maxToT<<")";
20 return out;
21 }
22 std::ostream & operator << (std::ostream & out, const LinearFitParameters & f){
23 out<<"("<<f.F<<", "<<f.G<<")";
24 return out;
25 }
26 std::ostream & operator << (std::ostream & out, const Thresholds & t){
27 out<<"("<<t.value<<", "<<t.sigma<<", "<<t.noise<<", "<<t.inTimeValue<<")";
28 return out;
29 }
30 std::ostream & operator << (std::ostream & out, const Resolutions & r){
31 out<<"("<<r.res1<<", "<<r.res2<<")";
32 return out;
33 }
34
35}
Structs for holding charge calibration parameterisation and data.
int r
Definition globals.cxx:22
std::ostream & operator<<(std::ostream &out, const LegacyFitParameters &legFitPar)