CMS 3D CMS Logo

Public Member Functions | Protected Types | Protected Member Functions

cond::EcalDAQTowerStatusHelper Class Reference

Inheritance diagram for cond::EcalDAQTowerStatusHelper:
EcalPyWrapperHelper< EcalDAQStatusCode >

List of all members.

Public Member Functions

 EcalDAQTowerStatusHelper ()

Protected Types

typedef EcalDAQStatusCode EcalObject

Protected Member Functions

type_vValues getValues (const std::vector< EcalObject > &vItems)

Detailed Description

Definition at line 130 of file EcalDAQTowerStatusPyWrapper.cc.


Member Typedef Documentation

Definition at line 137 of file EcalDAQTowerStatusPyWrapper.cc.


Constructor & Destructor Documentation

cond::EcalDAQTowerStatusHelper::EcalDAQTowerStatusHelper ( ) [inline]

Member Function Documentation

type_vValues cond::EcalDAQTowerStatusHelper::getValues ( const std::vector< EcalObject > &  vItems) [inline, protected, virtual]

Implements EcalPyWrapperHelper< EcalDAQStatusCode >.

Definition at line 139 of file EcalDAQTowerStatusPyWrapper.cc.

References EcalPyWrapperHelper< EcalDAQStatusCode >::total_values.

                {
                        type_vValues vValues(total_values);
                        
                        //change us
                        vValues[0].first = "bit 0 -> towers excluded from the DAQ";
                        
                        vValues[0].second = .0;
                        
                        //get info:
                        for(std::vector<EcalObject>::const_iterator iItems = vItems.begin(); iItems != vItems.end(); ++iItems){
                                //change us
                                vValues[0].second += iItems->getStatusCode();
                        }
                        return vValues;
                }