#include <FitScanResult.h>
Inheritance diagram for SctData::FitScanResult:
Public Member Functions | |
FitScanResult (const ScanHeader &header, const ModuleConfiguration &config, const ScanPoints &points) throw () | |
Create a FitScanResult from the objects that are needed to initialize the base class. Is this really necessary? | |
FitScanResult (const RawScanResult &raw) throw () | |
Create a FitScanResult object from a given RawScanResult Object. | |
virtual | ~FitScanResult () throw () |
Destroy the FitScanResult object and all of its FitObject members. | |
FitObject & | getChannelFit (const unsigned ilink, const unsigned ichip) const throw (LogicError) |
get channel fit by : link 0 or 1, channel 0 -> 767 | |
unsigned | getNHist () const throw () |
get number of summary histograms | |
const TH1D & | getHist (unsigned i) const throw (LogicError) |
get an existing summary histogram | |
virtual string | getClassName () const throw () |
Serializable overrides. | |
virtual string | getUniqueID () const throw () |
Serializable overrides. | |
const ModuleDefectList & | getDefects () const throw () |
Get the ModuleDefects associated with this FitScanResult. | |
ModuleDefectList & | getDefects () throw () |
Get the ModuleDefects associated with this FitScanResult. | |
FitObject & | getLinkFit (const unsigned ilink) const throw (LogicError) |
Functions to retrieve the FitObjects, by link, chip or channel get link fit by : link 0 or 1. | |
FitObject & | getChipFit (const unsigned ilink, const unsigned ichip) const throw (LogicError) |
get chip fit by : link 0 or 1, chip 0 -> 5 | |
FitObject & | getChipFit (const unsigned ichip) const throw (LogicError) |
get chip fit by : chip 0 -> 11, with 6->11 on link 1 | |
FitObject & | getChannelFit (const unsigned ichannel) const throw (LogicError) |
get channel fit by : channel 0 -> 1535 (with 768->1535 on link 1) | |
unsigned | getNLinkFits () const throw () |
Largely included for bug-checking, the following functions should return 2 if the object has been correctly initialized. | |
unsigned | getNChipFits () const throw () |
Largely included for bug-checking, the following functions should return 12 if the object has been correctly initialized. | |
unsigned | getNChannelFits () const throw () |
Largely included for bug-checking, the following functions should return 1536 if the object has been correctly initialized. | |
void | setNChannelFits (unsigned int n=Sct::nChannelModule) throw () |
Set the number of channel fits that are stored. | |
void | setNChipFits (unsigned int n=Sct::nChipModule) throw () |
Set the number of chip fits that are stored. | |
void | setNLinkFits (unsigned int n=Sct::nLinkModule) throw () |
Set the number of channel fits that are stored. | |
void | initializeChannelFits (const FitObject &prototype) throw () |
Initializes this so that it can store channel fits. | |
void | initializeChipFits (const FitObject &prototype) throw () |
set the number of chip fits | |
void | initializeLinkFits (const FitObject &prototype) throw () |
set the number of link fits | |
void | setChannelFit (unsigned int channel, shared_ptr< FitObject > fit) throw (LogicError) |
Set a channel fit. | |
void | setChipFit (unsigned int chip, shared_ptr< FitObject > fit) throw (LogicError) |
Set a chip fit. | |
void | setLinkFit (unsigned int link, shared_ptr< FitObject > fit) throw (LogicError) |
Set a link fit. | |
Static Public Member Functions | |
string | getUniqueID (const ScanHeader &header) throw () |
Returns the uniqueID a FitScanResult would have if it included the given ScanHeader. | |
Protected Attributes | |
RangedVector< shared_ptr< FitObject > > | m_channelFits |
fits for each channel | |
RangedVector< shared_ptr< FitObject > > | m_chipFits |
fits for each chip | |
RangedVector< shared_ptr< FitObject > > | m_linkFits |
fits for each link | |
RangedVector< TH1D * > | m_summaryHist |
summary histograms | |
ModuleDefectList | defects |
Contains all the defects discovered in doing the fits. | |
Private Member Functions | |
FitScanResult () throw () | |
Default constructor - only for IO purposes. | |
Static Private Member Functions | |
template<class T> void | resizeAndFill (std::vector< shared_ptr< T > > &v, unsigned newSize, const T &prototype) throw () |
utility function; | |
Friends | |
class | FitScanResultIOHelper |
The IOHelper class. |
Definition at line 30 of file FitScanResult.h.
|
Create a FitScanResult from the objects that are needed to initialize the base class. Is this really necessary?
Definition at line 22 of file FitScanResult.cpp. |
|
Create a FitScanResult object from a given RawScanResult Object.
Definition at line 26 of file FitScanResult.cpp. |
|
Destroy the FitScanResult object and all of its FitObject members.
Definition at line 29 of file FitScanResult.cpp. |
|
Default constructor - only for IO purposes.
Definition at line 19 of file FitScanResult.cpp. |
|
get channel fit by : link 0 or 1, channel 0 -> 767
Definition at line 70 of file FitScanResult.cpp. |
|
get channel fit by : channel 0 -> 1535 (with 768->1535 on link 1)
Definition at line 74 of file FitScanResult.cpp. Referenced by SctData::IO::FitScanResultStreamer::write(). |
|
get chip fit by : chip 0 -> 11, with 6->11 on link 1
Definition at line 66 of file FitScanResult.cpp. |
|
get chip fit by : link 0 or 1, chip 0 -> 5
Definition at line 62 of file FitScanResult.cpp. Referenced by SctData::IO::FitScanResultStreamer::write(). |
|
Serializable overrides.
Implements Sct::Streamable. Definition at line 35 of file FitScanResult.cpp. |
|
Get the ModuleDefects associated with this FitScanResult.
Definition at line 55 of file FitScanResult.h. References defects. |
|
Get the ModuleDefects associated with this FitScanResult.
Definition at line 52 of file FitScanResult.h. References defects. Referenced by SctData::IO::FitScanResultStreamer::read(), and SctData::IO::FitScanResultStreamer::write(). |
|
get an existing summary histogram
Definition at line 115 of file FitScanResult.cpp. |
|
Functions to retrieve the FitObjects, by link, chip or channel get link fit by : link 0 or 1.
Definition at line 58 of file FitScanResult.cpp. Referenced by SctData::IO::FitScanResultStreamer::write(). |
|
Largely included for bug-checking, the following functions should return 1536 if the object has been correctly initialized.
Definition at line 98 of file FitScanResult.cpp. Referenced by SctData::IO::FitScanResultStreamer::write(). |
|
Largely included for bug-checking, the following functions should return 12 if the object has been correctly initialized.
Definition at line 94 of file FitScanResult.cpp. Referenced by SctData::IO::FitScanResultStreamer::write(). |
|
get number of summary histograms
Definition at line 92 of file FitScanResult.h. References m_summaryHist. |
|
Largely included for bug-checking, the following functions should return 2 if the object has been correctly initialized.
Definition at line 90 of file FitScanResult.cpp. Referenced by SctData::IO::FitScanResultStreamer::write(). |
|
Returns the uniqueID a FitScanResult would have if it included the given ScanHeader.
Definition at line 43 of file FitScanResult.cpp. |
|
Serializable overrides.
Implements Sct::Serializable. Definition at line 39 of file FitScanResult.cpp. |
|
Initializes this so that it can store channel fits.
Definition at line 47 of file FitScanResult.cpp. |
|
set the number of chip fits
Definition at line 51 of file FitScanResult.cpp. |
|
set the number of link fits
Definition at line 54 of file FitScanResult.cpp. |
|
utility function;
Definition at line 184 of file FitScanResult.h. |
|
Set a channel fit. Must first call enableChannelFits Definition at line 78 of file FitScanResult.cpp. Referenced by SctData::IO::FitScanResultStreamer::read(). |
|
Set a chip fit. Must first call enableChipFits Definition at line 82 of file FitScanResult.cpp. Referenced by SctData::IO::FitScanResultStreamer::read(). |
|
Set a link fit. Must first call enableLinkFits Definition at line 86 of file FitScanResult.cpp. Referenced by SctData::IO::FitScanResultStreamer::read(). |
|
Set the number of channel fits that are stored.
Definition at line 102 of file FitScanResult.cpp. Referenced by SctData::IO::FitScanResultStreamer::read(). |
|
Set the number of chip fits that are stored.
Definition at line 106 of file FitScanResult.cpp. Referenced by SctData::IO::FitScanResultStreamer::read(). |
|
Set the number of channel fits that are stored.
Definition at line 110 of file FitScanResult.cpp. Referenced by SctData::IO::FitScanResultStreamer::read(). |
|
The IOHelper class.
Definition at line 179 of file FitScanResult.h. |
|
Contains all the defects discovered in doing the fits.
Definition at line 172 of file FitScanResult.h. Referenced by getDefects(). |
|
fits for each channel
Definition at line 168 of file FitScanResult.h. |
|
fits for each chip
Definition at line 169 of file FitScanResult.h. |
|
fits for each link
Definition at line 170 of file FitScanResult.h. |
|
summary histograms
Definition at line 171 of file FitScanResult.h. Referenced by getNHist(). |