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

In This Package:

Public Types | Public Member Functions | Public Attributes
PerElecFeeCrate Class Reference

#include <PerElecFeeCrate.h>

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

List of all members.

Public Types

typedef std::vector< double > AnalogSignal
typedef std::vector< int > DigitalSignal
typedef int BoardId_type
typedef int ChannelId_type

Public Member Functions

 PerElecFeeCrate ()
 PerElecFeeCrate (const short int in_det, std::map< ChannelId_type, PerElecFeeChannel * > &in_ch, std::map< BoardId_type, AnalogSignal > &in_be, std::map< BoardId_type, DigitalSignal > &in_nh)
 PerElecFeeCrate (const short int in_det, std::map< ChannelId_type, PerElecFeeChannel * > &in_ch, std::map< BoardId_type, AnalogSignal > &in_be, std::map< BoardId_type, DigitalSignal > &in_nh, AnalogSignal &in_ues, AnalogSignal &in_les, AnalogSignal &in_tes, DigitalSignal &in_des)
virtual ~PerElecFeeCrate ()

Public Attributes

std::map< ChannelId_type,
PerElecFeeChannel * > 
channels
std::map< BoardId_type,
AnalogSignal
boardEnergy
std::map< BoardId_type,
DigitalSignal
boardNHit
AnalogSignal upperESum
AnalogSignal lowerESum
AnalogSignal totalESum
DigitalSignal digitalESum
short int detId

Detailed Description

Definition at line 20 of file PerElecFeeCrate.h.


Member Typedef Documentation

typedef std::vector<double> PerElecFeeCrate::AnalogSignal

Reimplemented from PerElecCrate.

Definition at line 22 of file PerElecFeeCrate.h.

typedef std::vector<int> PerElecFeeCrate::DigitalSignal

Reimplemented from PerElecCrate.

Definition at line 23 of file PerElecFeeCrate.h.

typedef int PerElecCrate::BoardId_type [inherited]

Definition at line 18 of file PerElecCrate.h.

typedef int PerElecCrate::ChannelId_type [inherited]

Definition at line 19 of file PerElecCrate.h.


Constructor & Destructor Documentation

PerElecFeeCrate::PerElecFeeCrate ( )

Definition at line 4 of file PerElecFeeCrate.cc.

PerElecFeeCrate::PerElecFeeCrate ( const short int  in_det,
std::map< ChannelId_type, PerElecFeeChannel * > &  in_ch,
std::map< BoardId_type, AnalogSignal > &  in_be,
std::map< BoardId_type, DigitalSignal > &  in_nh 
)

Definition at line 12 of file PerElecFeeCrate.cc.

  : PerElecCrate(in_det)
  , channels(in_ch)
  , boardEnergy(in_be)
  , boardNHit(in_nh)
{
}
PerElecFeeCrate::PerElecFeeCrate ( const short int  in_det,
std::map< ChannelId_type, PerElecFeeChannel * > &  in_ch,
std::map< BoardId_type, AnalogSignal > &  in_be,
std::map< BoardId_type, DigitalSignal > &  in_nh,
AnalogSignal in_ues,
AnalogSignal in_les,
AnalogSignal in_tes,
DigitalSignal in_des 
)

Definition at line 23 of file PerElecFeeCrate.cc.

    : PerElecCrate(in_det)
    , channels(in_ch)
    , boardEnergy(in_be)
    , boardNHit(in_nh)
    , upperESum(in_ues)
    , lowerESum(in_les)
    , totalESum(in_tes)
    , digitalESum(in_des)
{
}
PerElecFeeCrate::~PerElecFeeCrate ( ) [virtual]

Definition at line 42 of file PerElecFeeCrate.cc.

{
  std::map<ChannelId_type, PerElecFeeChannel*>::iterator it;
  
  for(it=channels.begin();it!=channels.end();++it) delete it->second;
  
  channels.clear();
  boardEnergy.clear();
  boardNHit.clear();
  upperESum.clear();
  lowerESum.clear();
  totalESum.clear();
  digitalESum.clear();
  
  this->PerElecCrate::~PerElecCrate();
}

Member Data Documentation

Definition at line 41 of file PerElecFeeCrate.h.

Definition at line 42 of file PerElecFeeCrate.h.

Definition at line 43 of file PerElecFeeCrate.h.

Definition at line 44 of file PerElecFeeCrate.h.

Definition at line 45 of file PerElecFeeCrate.h.

Definition at line 46 of file PerElecFeeCrate.h.

Definition at line 47 of file PerElecFeeCrate.h.

short int PerElecCrate::detId [inherited]

Definition at line 28 of file PerElecCrate.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 10:05:56 for PerElecEvent by doxygen 1.7.4