/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
PerRecReadout Class Reference

#include <PerRecReadout.h>

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

List of all members.

Public Member Functions

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

Protected Attributes

TTree * fChain
float energy
float rawEvis
float x
float y
float z

Detailed Description

Definition at line 8 of file PerRecReadout.h.


Constructor & Destructor Documentation

PerRecReadout::PerRecReadout ( TTree *  tree)

Definition at line 5 of file PerRecReadout.cc.

    : fChain(tree)
{
    fChain->SetMakeClass(1);

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

    fChain->SetBranchAddress("energy", &energy);
    fChain->SetBranchAddress("rawEvis", &rawEvis);
    fChain->SetBranchAddress("x", &x);
    fChain->SetBranchAddress("y", &y);
    fChain->SetBranchAddress("z", &z);
}
PerRecReadout::~PerRecReadout ( ) [virtual]

Definition at line 21 of file PerRecReadout.cc.

{
}

Member Function Documentation

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

Implements IPerDataSec.

Definition at line 25 of file PerRecReadout.cc.

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

Member Data Documentation

TTree* PerRecReadout::fChain [protected]

Definition at line 19 of file PerRecReadout.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