#include <emcPedestalFEM.h>
Inherits emcCalFEM.
Inheritance diagram for emcPedestalFEM:

This class has 2 versions :
Definition at line 22 of file emcPedestalFEM.h.
Public Types | |
| typedef std::vector< int > | AmuVector |
| typedef std::vector< AmuVector > | ChannelVector |
| typedef std::map< std::string, ChannelVector * > | PedMap |
| typedef std::map< std::string, std::vector< int > > | PedAverageMap |
| typedef std::map< std::string, std::vector< float > > | PedRMSMap |
Public Member Functions | |
| emcPedestalFEM (int absPosition, int version=0) | |
| ctor | |
| emcPedestalFEM (int absPosition, const PHTimeStamp &t1, const PHTimeStamp &t2, int version=0) | |
| ctor | |
| emcPedestalFEM (const emcPedestalFEM &o) | |
| copy ctor | |
| emcPedestalFEM & | operator= (const emcPedestalFEM &) |
| assignment operator. | |
| virtual | ~emcPedestalFEM () |
| dtor | |
| virtual emcPedestalFEM * | clone (void) const |
| virtual emcPedestalFEM * | create (void) const |
| void | AppendOneChannel (const char *ped_type, AmuVector &vec) |
| Append one-kind-pedestal values for one channel. | |
| void | GetListOfValidTypes (std::vector< std::string > &list) |
| Get list of valid types. | |
| virtual size_t | GetNumberOfChannels (void) const |
| Get number of channels handled by this object. | |
| virtual const char * | GetCategory (void) const |
| Category of this emcManageable = "Pedestals". | |
| virtual float | getValue (int ichannel, int amucell, const std::string &kind) const |
| same as above with const char* -> string (avoid temporary object). | |
| virtual float | getValueFast (int ch_index, int amu_number, const std::string &ped_type) const |
| Same as above, but with char* -> string. | |
| virtual float | getValue (int ich, const std::string &kind, float &out) const |
| same as above without cell-dependence | |
| virtual float | getValueFast (int ich, const std::string &kind, float &out) const |
| same as above without cell-dependence | |
| void | GetValues (int ch_index, int amu_number, int &low, int &high, int &tac) |
| Unchecked get of all ped. values (see implementation for warning). | |
| virtual bool | IsEqual (const emcCalFEM &) const |
| comparison. | |
| bool | IsValidType (const std::string &ped_type) const |
| Is ped_type a valid pedestal type ? | |
| virtual void | Reset (void) |
| Reset (delete internal storage). | |
| virtual std::ostream & | Print (std::ostream &out=std::cout, int level=0) const |
| Print. | |
Static Public Member Functions | |
| static emcPedestalFEM * | Default (const int &absPosition, const PHTimeStamp &t1, const PHTimeStamp &t2, int version=0) |
| Create an object with 144 channels and default values (0). | |
| static std::vector< std::string > | ValidTypes (int version) |
| Get names of valid types for a given version. | |
Private Member Functions | |
| void | Copy (emcPedestalFEM &) const |
Private Attributes | |
| std::vector< std::string > | fValidTypes |
| PedMap | fPed |
| PedAverageMap | fPedAverage |
| PedRMSMap | fPedRMS |
|
|
Definition at line 62 of file emcPedestalFEM.h. |
|
|
Definition at line 63 of file emcPedestalFEM.h. |
|
|
Definition at line 65 of file emcPedestalFEM.h. |
|
|
Definition at line 64 of file emcPedestalFEM.h. |
|
|
Definition at line 66 of file emcPedestalFEM.h. |
|
||||||||||||
|
ctor
Definition at line 86 of file emcPedestalFEM.C. References classname, fValidTypes, name, emcNamed::NameIt(), emcCalFEM::SetVersion(), title, Title(), and ValidTypes(). |
|
||||||||||||||||||||
|
ctor
Definition at line 75 of file emcPedestalFEM.C. References classname, fValidTypes, name, emcNamed::NameIt(), emcCalFEM::SetVersion(), title, Title(), and ValidTypes(). |
|
|
copy ctor
Definition at line 96 of file emcPedestalFEM.C. References Copy(). |
|
|
dtor
Definition at line 135 of file emcPedestalFEM.C. References Reset(). |
|
||||||||||||
|
Append one-kind-pedestal values for one channel.
Definition at line 141 of file emcPedestalFEM.C. References fPed, and IsValidType(). Referenced by Default(). |
|
|
Implements emcCalFEM. Definition at line 45 of file emcPedestalFEM.h. References emcPedestalFEM(). |
|
|
Definition at line 114 of file emcPedestalFEM.C. References emcCalFEM::Copy(), fPed, fValidTypes, j, Reset(), emcCalFEM::SetVersion(), ValidTypes(), and emcCalFEM::Version(). Referenced by emcPedestalFEM(), and operator=(). |
|
|
Implements emcCalFEM. Definition at line 51 of file emcPedestalFEM.h. References emcCalFEM::AbsolutePosition(), emcPedestalFEM(), emcCalFEM::GetEndValTime(), emcCalFEM::GetStartValTime(), and emcCalFEM::Version(). |
|
||||||||||||||||||||
|
Create an object with 144 channels and default values (0). The returned pointer is yours. Definition at line 209 of file emcPedestalFEM.C. References AppendOneChannel(), emcPedestalFEM(), ValidTypes(), and emcCalFEM::Version(). Referenced by creator3(), and creator5(). |
|
|
Category of this emcManageable = "Pedestals".
Implements emcCalFEM. Definition at line 233 of file emcPedestalFEM.C. References emcCalFEM::Version(). |
|
|
Get list of valid types.
Definition at line 79 of file emcPedestalFEM.h. References fValidTypes. Referenced by reader(). |
|
|
Get number of channels handled by this object.
Implements emcCalFEM. Definition at line 243 of file emcPedestalFEM.C. References fPed, and fValidTypes. |
|
||||||||||||||||
|
same as above without cell-dependence
Reimplemented from emcCalFEM. |
|
||||||||||||||||
|
same as above with const char* -> string (avoid temporary object).
Reimplemented from emcCalFEM. Referenced by IsEqual(), emcOMPedestalFEMT< T >::ToPdbCalBank(), and emcOMPedestal5FEMT< T >::ToPdbCalBank(). |
|
||||||||||||||||
|
same as above without cell-dependence
Reimplemented from emcCalFEM. |
|
||||||||||||||||
|
Same as above, but with char* -> string.
Reimplemented from emcCalFEM. |
|
||||||||||||||||||||||||
|
Unchecked get of all ped. values (see implementation for warning).
Definition at line 357 of file emcPedestalFEM.C. References fPed. |
|
|
comparison.
Implements emcCalFEM. Definition at line 370 of file emcPedestalFEM.C. References fValidTypes, getValue(), emcCalFEM::size(), ValidTypes(), and emcCalFEM::Version(). |
|
|
Is ped_type a valid pedestal type ?
Referenced by AppendOneChannel(). |
|
|
assignment operator.
Definition at line 104 of file emcPedestalFEM.C. |
|
||||||||||||
|
Print.
Reimplemented from emcCalFEM. |
|
|
Reset (delete internal storage).
Implements emcCalFEM. Definition at line 413 of file emcPedestalFEM.C. References fPed, and fValidTypes. Referenced by Copy(), operator=(), reader(), and ~emcPedestalFEM(). |
|
|
Get names of valid types for a given version.
Definition at line 467 of file emcPedestalFEM.C. Referenced by Copy(), Default(), emcPedestalFEM(), and IsEqual(). |
|
|
Definition at line 132 of file emcPedestalFEM.h. Referenced by AppendOneChannel(), Copy(), GetNumberOfChannels(), GetValues(), and Reset(). |
|
|
Definition at line 133 of file emcPedestalFEM.h. |
|
|
Definition at line 134 of file emcPedestalFEM.h. |
|
|
Definition at line 131 of file emcPedestalFEM.h. Referenced by Copy(), emcPedestalFEM(), GetListOfValidTypes(), GetNumberOfChannels(), IsEqual(), and Reset(). |