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

In This Package:

Classes | Public Member Functions | Public Attributes
RecRpcReadout Class Reference

#include <RecRpcReadout.h>

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

List of all members.

Classes

class  Cluster
class  Track

Public Member Functions

virtual ~RecRpcReadout ()
int maxHitsInLayer ()
bool is4of4 ()

Public Attributes

unsigned int combinationType
unsigned int eventType
int nClusters
int nTracks
std::vector< Cluster * > clusters
std::vector< Track * > tracks

Detailed Description

Definition at line 7 of file RecRpcReadout.h.


Constructor & Destructor Documentation

RecRpcReadout::~RecRpcReadout ( ) [virtual]

Definition at line 3 of file RecRpcReadout.cc.

{
    for ( int i = 0; i < nClusters; ++i ) {
        delete clusters[i];
    }
    for ( int i = 0; i < nTracks; ++i ) {
        delete tracks[i];
    }
}

Member Function Documentation

int RecRpcReadout::maxHitsInLayer ( )

Definition at line 45 of file RecRpcReadout.cc.

{
    int res = 0;
    std::vector<Cluster*>::iterator end = clusters.end();
    for ( std::vector<Cluster*>::iterator it = clusters.begin(); it != end; ++it ) {
        int _max = (*it)->maxHitsInLayer;
        if ( _max > res ) {
            res = _max;
        }
    }
    return res;
}
bool RecRpcReadout::is4of4 ( )

Definition at line 58 of file RecRpcReadout.cc.

{
    std::vector<Cluster*>::iterator end = clusters.end();
    for ( std::vector<Cluster*>::iterator it = clusters.begin(); it != end; ++it ) {
        if ( (*it)->is4of4 ) return true;
    }
    return false;
}

Member Data Documentation

Definition at line 42 of file RecRpcReadout.h.

Definition at line 43 of file RecRpcReadout.h.

Definition at line 44 of file RecRpcReadout.h.

Definition at line 45 of file RecRpcReadout.h.

Definition at line 46 of file RecRpcReadout.h.

Definition at line 47 of file RecRpcReadout.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:50:18 for LafKernel by doxygen 1.7.4