/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Member Functions | Protected Attributes
PerCalibReadout Class Reference

#include <PerCalibReadout.h>

Inheritance diagram for PerCalibReadout:
Inheritance graph
[legend]
Collaboration diagram for PerCalibReadout:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 PerCalibReadout (TTree *tree)
virtual ~PerCalibReadout ()
virtual DataSecToTran (long entry, int iFile, long iEvent)

Protected Attributes

TTree * fChain
unsigned int nHitsAD
std::vector< float > timeAD
std::vector< float > chargeAD
std::vector< unsigned int > hitCountAD
std::vector< unsigned int > ring
std::vector< unsigned int > column
unsigned int nHitsAD_calib
std::vector< float > timeAD_calib
std::vector< float > chargeAD_calib
std::vector< unsigned int > hitCountAD_calib
std::vector< unsigned int > topOrBottom
std::vector< unsigned int > acuColumn
unsigned int nHitsPool
std::vector< float > timePool
std::vector< float > chargePool
std::vector< unsigned int > hitCountPool
std::vector< unsigned int > wallNumber
std::vector< unsigned int > wallSpot
std::vector< unsigned int > inwardFacing
unsigned int nHitsRpc
std::vector< unsigned int > rpcRow
std::vector< unsigned int > rpcColumn
std::vector< unsigned int > rpcLayer
std::vector< unsigned int > rpcStrip
std::vector< bool > rpcFromRot

Detailed Description

Definition at line 8 of file PerCalibReadout.h.


Constructor & Destructor Documentation

PerCalibReadout::PerCalibReadout ( TTree *  tree)

Definition at line 5 of file PerCalibReadout.cc.

    : fChain(tree)
{
    gROOT->ProcessLine("#include <vector>");

    fChain->SetMakeClass(1);

    // skip the unnecessary branches
    UInt_t nBr = 0;
    fChain->SetBranchStatus("*", 0, &nBr);

    fChain->SetBranchAddress("nHitsAD",          &nHitsAD);
    fChain->SetBranchAddress("timeAD",           &timeAD);
    fChain->SetBranchAddress("chargeAD",         &chargeAD);
    fChain->SetBranchAddress("hitCountAD",       &hitCountAD);
    fChain->SetBranchAddress("ring",             &ring);
    fChain->SetBranchAddress("column",           &column);
    fChain->SetBranchAddress("nHitsAD_calib",    &nHitsAD_calib);
    fChain->SetBranchAddress("timeAD_calib",     &timeAD_calib);
    fChain->SetBranchAddress("chargeAD_calib",   &chargeAD_calib);
    fChain->SetBranchAddress("hitCountAD_calib", &hitCountAD_calib);
    fChain->SetBranchAddress("topOrBottom",      &topOrBottom);
    fChain->SetBranchAddress("acuColumn",        &acuColumn);
    fChain->SetBranchAddress("nHitsPool",        &nHitsPool);
    fChain->SetBranchAddress("timePool",         &timePool);
    fChain->SetBranchAddress("chargePool",       &chargePool);
    fChain->SetBranchAddress("hitCountPool",     &hitCountPool);
    fChain->SetBranchAddress("wallNumber",       &wallNumber);
    fChain->SetBranchAddress("wallSpot",         &wallSpot);
    fChain->SetBranchAddress("inwardFacing",     &inwardFacing);
    fChain->SetBranchAddress("nHitsRpc",         &nHitsRpc);
    fChain->SetBranchAddress("rpcRow",           &rpcRow);
    fChain->SetBranchAddress("rpcColumn",        &rpcColumn);
    fChain->SetBranchAddress("rpcLayer",         &rpcLayer);
    fChain->SetBranchAddress("rpcStrip",         &rpcStrip);
    fChain->SetBranchAddress("rpcFromRot",       &rpcFromRot);
}
PerCalibReadout::~PerCalibReadout ( ) [virtual]

Definition at line 43 of file PerCalibReadout.cc.

{
}

Member Function Documentation

DataSec * PerCalibReadout::ToTran ( long  entry,
int  iFile,
long  iEvent 
) [virtual]

Implements IPerDataSec.

Definition at line 47 of file PerCalibReadout.cc.

{
    DataSec* obj = 0;
    if ( fChain->GetEntry(entry) > 0 ) {
        if (fChain->GetTreeNumber() != iFile ) exit(1);
        obj = new CalibReadout(*this);
    }
    return obj;
}

Member Data Documentation

TTree* PerCalibReadout::fChain [protected]

Definition at line 19 of file PerCalibReadout.h.


The documentation for this class was generated from the following files:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 09:51:07 for ReconInputSvc by doxygen 1.7.4