#include <CrtCalTree.h>
|
| CrtCalTree (TTree *tree) |
|
| CrtCalTree (string fname) |
|
| ~CrtCalTree () |
|
float | GetGain (uint8_t mac, uint8_t channel) |
|
float | GetPed (uint8_t mac, uint8_t channel) |
|
bool | GetActive (uint8_t mac, uint8_t channel) |
|
vector< uint8_t > | GetMacs () |
|
float | GetGainXsqr (uint8_t mac, uint8_t channel) |
|
short | GetGainNdf (uint8_t mac, uint8_t channel) |
|
float | GetGainErr (uint8_t mac, uint8_t channel) |
|
float | GetPedErr (uint8_t mac, uint8_t channel) |
|
float | GetPedXsqr (uint8_t mac, uint8_t channel) |
|
short | GetPedNdf (uint8_t mac, uint8_t channel) |
|
float | GetPedSigma (uint8_t mac, uint8_t channel) |
|
float | GetPedSigmaErr (uint8_t mac, uint8_t channel) |
|
void | Dump () |
|
Definition at line 24 of file CrtCalTree.h.
CrtCalTree::CrtCalTree |
( |
TTree * |
tree | ) |
|
CrtCalTree::CrtCalTree |
( |
string |
fname | ) |
|
CrtCalTree::~CrtCalTree |
( |
| ) |
|
void CrtCalTree::Dump |
( |
| ) |
|
Definition at line 117 of file CrtCalTree.cxx.
120 std::cout <<
"mac5, channel -> gain, ped (active)" << std::endl;
122 std::cout <<
" " << (int)mc.first.first <<
", "
123 << (
int)mc.first.second <<
"-> " << mc.second
std::map< std::pair< uint8_t, uint8_t >, float > fMacChanToPed
std::map< std::pair< uint8_t, uint8_t >, float > fMacChanToGain
std::map< std::pair< uint8_t, uint8_t >, bool > fMacChanToActive
BEGIN_PROLOG could also be cout
bool CrtCalTree::GetActive |
( |
uint8_t |
mac, |
|
|
uint8_t |
channel |
|
) |
| |
Definition at line 60 of file CrtCalTree.cxx.
std::map< std::pair< uint8_t, uint8_t >, bool > fMacChanToActive
float CrtCalTree::GetGain |
( |
uint8_t |
mac, |
|
|
uint8_t |
channel |
|
) |
| |
Definition at line 52 of file CrtCalTree.cxx.
std::map< std::pair< uint8_t, uint8_t >, float > fMacChanToGain
float CrtCalTree::GetGainErr |
( |
uint8_t |
mac, |
|
|
uint8_t |
channel |
|
) |
| |
Definition at line 80 of file CrtCalTree.cxx.
std::map< uint8_t, int > fMacToEntry
short CrtCalTree::GetGainNdf |
( |
uint8_t |
mac, |
|
|
uint8_t |
channel |
|
) |
| |
Definition at line 74 of file CrtCalTree.cxx.
std::map< uint8_t, int > fMacToEntry
float CrtCalTree::GetGainXsqr |
( |
uint8_t |
mac, |
|
|
uint8_t |
channel |
|
) |
| |
Definition at line 68 of file CrtCalTree.cxx.
std::map< uint8_t, int > fMacToEntry
std::vector< uint8_t > CrtCalTree::GetMacs |
( |
| ) |
|
float CrtCalTree::GetPed |
( |
uint8_t |
mac, |
|
|
uint8_t |
channel |
|
) |
| |
Definition at line 56 of file CrtCalTree.cxx.
std::map< std::pair< uint8_t, uint8_t >, float > fMacChanToPed
float CrtCalTree::GetPedErr |
( |
uint8_t |
mac, |
|
|
uint8_t |
channel |
|
) |
| |
Definition at line 86 of file CrtCalTree.cxx.
std::map< uint8_t, int > fMacToEntry
short CrtCalTree::GetPedNdf |
( |
uint8_t |
mac, |
|
|
uint8_t |
channel |
|
) |
| |
Definition at line 98 of file CrtCalTree.cxx.
std::map< uint8_t, int > fMacToEntry
float CrtCalTree::GetPedSigma |
( |
uint8_t |
mac, |
|
|
uint8_t |
channel |
|
) |
| |
float CrtCalTree::GetPedSigmaErr |
( |
uint8_t |
mac, |
|
|
uint8_t |
channel |
|
) |
| |
float CrtCalTree::GetPedXsqr |
( |
uint8_t |
mac, |
|
|
uint8_t |
channel |
|
) |
| |
Definition at line 92 of file CrtCalTree.cxx.
std::map< uint8_t, int > fMacToEntry
void CrtCalTree::Init |
( |
| ) |
|
|
private |
Definition at line 21 of file CrtCalTree.cxx.
36 const size_t nmac =
fTree->GetEntriesFast();
37 std::cout <<
"retreiving calibration data for " << nmac <<
" FEBs..." << std::endl;
39 for(
size_t imac=0; imac<nmac; imac++){
40 fTree->GetEntry(imac);
44 for(
size_t chan=0; chan < 32; chan++){
std::map< uint8_t, int > fMacToEntry
std::vector< uint8_t > fMacs
std::map< std::pair< uint8_t, uint8_t >, float > fMacChanToPed
std::map< std::pair< uint8_t, uint8_t >, float > fMacChanToGain
std::map< std::pair< uint8_t, uint8_t >, bool > fMacChanToActive
BEGIN_PROLOG could also be cout
bool icarus::crt::CrtCalTree::active[32] |
|
private |
TBranch* icarus::crt::CrtCalTree::b_active |
|
private |
TBranch* icarus::crt::CrtCalTree::b_gain |
|
private |
TBranch* icarus::crt::CrtCalTree::b_gainErr |
|
private |
TBranch* icarus::crt::CrtCalTree::b_gainNdf |
|
private |
TBranch* icarus::crt::CrtCalTree::b_gainXsqr |
|
private |
TBranch* icarus::crt::CrtCalTree::b_mac5 |
|
private |
TBranch* icarus::crt::CrtCalTree::b_ped |
|
private |
TBranch* icarus::crt::CrtCalTree::b_pedErr |
|
private |
TBranch* icarus::crt::CrtCalTree::b_pedNdf |
|
private |
TBranch* icarus::crt::CrtCalTree::b_pedSigma |
|
private |
TBranch* icarus::crt::CrtCalTree::b_pedSigmaErr |
|
private |
TBranch* icarus::crt::CrtCalTree::b_pedXsqr |
|
private |
std::map<std::pair<uint8_t,uint8_t>,bool> icarus::crt::CrtCalTree::fMacChanToActive |
|
private |
std::map<std::pair<uint8_t,uint8_t>,float> icarus::crt::CrtCalTree::fMacChanToGain |
|
private |
std::map<std::pair<uint8_t,uint8_t>,float> icarus::crt::CrtCalTree::fMacChanToPed |
|
private |
std::vector<uint8_t> icarus::crt::CrtCalTree::fMacs |
|
private |
std::map<uint8_t,int> icarus::crt::CrtCalTree::fMacToEntry |
|
private |
TTree* icarus::crt::CrtCalTree::fTree |
|
private |
float icarus::crt::CrtCalTree::gain[32] |
|
private |
float icarus::crt::CrtCalTree::gainErr[32] |
|
private |
UShort_t icarus::crt::CrtCalTree::gainNdf[32] |
|
private |
float icarus::crt::CrtCalTree::gainXsqr[32] |
|
private |
uint8_t icarus::crt::CrtCalTree::mac5 |
|
private |
float icarus::crt::CrtCalTree::ped[32] |
|
private |
float icarus::crt::CrtCalTree::pedErr[32] |
|
private |
UShort_t icarus::crt::CrtCalTree::pedNdf[32] |
|
private |
float icarus::crt::CrtCalTree::pedSigma[32] |
|
private |
float icarus::crt::CrtCalTree::pedSigmaErr[32] |
|
private |
float icarus::crt::CrtCalTree::pedXsqr[32] |
|
private |
The documentation for this class was generated from the following files: