Auxiliary class for TileRawChannelMakerManyAmps.
More...
#include <TileFilterResult.h>
Auxiliary class for TileRawChannelMakerManyAmps.
Definition at line 21 of file TileFilterResult.h.
◆ TileFilterResult()
TileFilterResult::TileFilterResult |
( |
std::vector< float > & |
dig, |
|
|
double |
sigma |
|
) |
| |
Definition at line 18 of file TileFilterResult.cxx.
21 CLHEP::HepVector digtem(ND);
23 for (
int id = 0;
id < ND;
id++) {
◆ ~TileFilterResult()
TileFilterResult::~TileFilterResult |
( |
| ) |
|
◆ addCross()
int TileFilterResult::addCross |
( |
int |
kcrIndex | ) |
|
Definition at line 133 of file TileFilterResult.cxx.
141 for (
int icr = 0; icr < Namp; icr++) {
145 std::cout <<
" TileFilterResult.addCross: kcrIndex=" << kcrIndex <<
" is already in crossing list: Kcross =";
146 for (
int j = 0; j < Namp; j++) {
149 std::cout << std::endl;
171 std::cout <<
" TileFilterResult.addCross. Exit with Nparam=" <<
m_nParam <<
", Vcross=";
172 for (
int icr = 0; icr < Namp; icr++) {
173 std::cout <<
" " << std::setw(3) <<
m_vCross[icr];
175 std::cout << std::endl;
◆ dropCross()
int TileFilterResult::dropCross |
( |
int |
kcrIndex | ) |
|
Definition at line 181 of file TileFilterResult.cxx.
185 for (
int iamp = 1; iamp < Namp; iamp++) {
195 std::cout <<
"error in TileFilterResult.dropCross: idrop=" << idrop <<
"but vcross =";
196 for (
int iamp = 0; iamp < Namp; iamp++) {
199 std::cout << std::endl;
208 std::cout <<
" TileFilterResult.dropCross. Exit with Nparam=" <<
m_nParam <<
", Vcross=";
209 for (
int icr = 0; icr < Namp; icr++) {
210 std::cout <<
" " << std::setw(3) <<
m_vCross[icr];
212 std::cout << std::endl;
◆ getChi2Ref()
double & TileFilterResult::getChi2Ref |
( |
| ) |
|
◆ getDigRef()
CLHEP::HepVector & TileFilterResult::getDigRef |
( |
| ) |
|
◆ getErrRef()
CLHEP::HepVector & TileFilterResult::getErrRef |
( |
| ) |
|
◆ getFitIndexRef()
int & TileFilterResult::getFitIndexRef |
( |
| ) |
|
◆ getInTime()
double TileFilterResult::getInTime |
( |
double & |
amp, |
|
|
double & |
err, |
|
|
double & |
ped, |
|
|
double & |
chi2, |
|
|
double & |
t |
|
) |
| |
◆ getNparRef()
int & TileFilterResult::getNparRef |
( |
| ) |
|
◆ getParamRef()
CLHEP::HepVector & TileFilterResult::getParamRef |
( |
| ) |
|
◆ getResidRef()
CLHEP::HepVector & TileFilterResult::getResidRef |
( |
| ) |
|
◆ getSigDig()
double TileFilterResult::getSigDig |
( |
| ) |
const |
◆ getVcrossRef()
std::vector< int > & TileFilterResult::getVcrossRef |
( |
| ) |
|
◆ printFitParam()
void TileFilterResult::printFitParam |
( |
| ) |
|
Definition at line 78 of file TileFilterResult.cxx.
79 boost::io::ios_base_all_saver coutsave(std::cout);
80 std::cout <<
" Print fitted param from TileFilterResult: Nparam=" <<
m_nParam <<
", chisq=" <<
m_chi2 << std::endl;
81 for (
int ipar = 0; ipar <
m_nParam; ipar++) {
83 std::cout <<
" i=" << ipar <<
", kcr=P" <<
", A=" << std::setw(5) << std::setprecision(2) <<
m_fitParam[ipar]
84 <<
" +-" <<
m_fitErr[ipar] << std::endl;
86 std::cout <<
" i=" << ipar <<
", kcr=" <<
m_vCross[ipar - 1] <<
", A=" <<
m_fitParam[ipar] <<
" +-"
◆ snapShot()
void TileFilterResult::snapShot |
( |
int |
imode | ) |
|
Definition at line 103 of file TileFilterResult.cxx.
104 boost::io::ios_base_all_saver coutsave(std::cout);
106 std::cout <<
" SnapShot: imode=" << imode <<
". Nparam=" <<
m_nParam <<
", chisq=" <<
m_chi2 <<
", iFitIndex"
109 for (
int jamp = 0; jamp < Namp; jamp++) {
112 std::cout << std::endl;
116 std::cout <<
" FitParam=";
117 for (
int ipar = 0; ipar <
m_nParam; ipar++) {
118 std::cout << std::setw(5) << std::setprecision(1) <<
m_fitParam[ipar] <<
"+-" <<
m_fitErr[ipar];
119 if (ipar <
m_nParam - 1) std::cout <<
", ";
121 std::cout << std::endl;
125 std::cout <<
" Residuals=";
126 for (
int idig = 0; idig < Ndig; idig++) {
127 std::cout <<
" " << std::setw(4) << std::setprecision(3) <<
m_residuals[idig];
129 std::cout << std::endl;
◆ m_chi2
double TileFilterResult::m_chi2 |
|
private |
◆ m_debug
bool TileFilterResult::m_debug |
|
private |
◆ m_digits
CLHEP::HepVector TileFilterResult::m_digits |
|
private |
◆ m_fitErr
CLHEP::HepVector TileFilterResult::m_fitErr |
|
private |
◆ m_fitParam
CLHEP::HepVector TileFilterResult::m_fitParam |
|
private |
◆ m_iFitIndex
int TileFilterResult::m_iFitIndex |
|
private |
◆ m_nParam
int TileFilterResult::m_nParam |
|
private |
◆ m_nPileup
int TileFilterResult::m_nPileup |
|
private |
◆ m_residuals
CLHEP::HepVector TileFilterResult::m_residuals |
|
private |
◆ m_sigDigit
double TileFilterResult::m_sigDigit |
|
private |
◆ m_vCross
std::vector<int> TileFilterResult::m_vCross |
|
private |
The documentation for this class was generated from the following files:
void sort(typename std::reverse_iterator< DataModel_detail::iterator< DVL > > beg, typename std::reverse_iterator< DataModel_detail::iterator< DVL > > end, const Compare &comp)
Specialization of sort for DataVector/List.