CMS 3D CMS Logo

Typedefs | Enumerations | Functions

cond::rpcobvmon Namespace Reference

Typedefs

typedef boost::function< void(RPCObVmon
const &pl, std::vector< int >
const &which, std::vector
< float > &result, const float
&starttime, const float
&endtime)> 
RPCObVmonExtractor

Enumerations

enum  How { detid, day, time, current }

Functions

void extractCurrent (RPCObVmon const &pl, std::vector< int > const &which, std::vector< float > &result, const float &starttime, const float &endtime)
void extractDay (RPCObVmon const &pl, std::vector< int > const &which, std::vector< float > &result, const float &starttime, const float &endtime)
void extractDetId (RPCObVmon const &pl, std::vector< int > const &which, std::vector< float > &result, const float &starttime, const float &endtime)
void extractTime (RPCObVmon const &pl, std::vector< int > const &which, std::vector< float > &result, const float &starttime, const float &endtime)

Typedef Documentation

typedef boost::function<void(RPCObVmon const & pl, std::vector<int> const & which,std::vector<float> & result,const float& starttime,const float& endtime)> cond::rpcobvmon::RPCObVmonExtractor

Definition at line 114 of file RPCObVmonPyWrapper.cc.


Enumeration Type Documentation

Enumerator:
detid 
day 
time 
current 

Definition at line 60 of file RPCObVmonPyWrapper.cc.


Function Documentation

void cond::rpcobvmon::extractCurrent ( RPCObVmon const &  pl,
std::vector< int > const &  which,
std::vector< float > &  result,
const float &  starttime,
const float &  endtime 
)

Definition at line 101 of file RPCObVmonPyWrapper.cc.

References i, RPCObVmon::ObVmon_rpc, and relativeConstraints::value.

Referenced by cond::ValueExtractor< RPCObVmon >::extractor().

                                                                                                                                                  {
      std::vector<RPCObVmon::V_Item> const & vmon = pl.ObVmon_rpc;
      for(unsigned int i = 0; i < vmon.size(); ++i ){
        if (which[0] == 0){
          result.push_back(vmon[i].value);
        }
        else{
          if(vmon[i].dpid == which[0])
            result.push_back(vmon[i].value);
        }
      }
    }
void cond::rpcobvmon::extractDay ( RPCObVmon const &  pl,
std::vector< int > const &  which,
std::vector< float > &  result,
const float &  starttime,
const float &  endtime 
)

Definition at line 75 of file RPCObVmonPyWrapper.cc.

References day, i, and RPCObVmon::ObVmon_rpc.

Referenced by cond::ValueExtractor< RPCObVmon >::extractor().

                                                                                                                                               {
      std::vector<RPCObVmon::V_Item> const & vmon = pl.ObVmon_rpc;
      for(unsigned int i = 0; i < vmon.size(); ++i ){
        if (which[0] == 0){
          result.push_back(vmon[i].day);
        }
        else{
          if(vmon[i].dpid == which[0])
            result.push_back(vmon[i].day);
        }
      }
    }
void cond::rpcobvmon::extractDetId ( RPCObVmon const &  pl,
std::vector< int > const &  which,
std::vector< float > &  result,
const float &  starttime,
const float &  endtime 
)

Definition at line 62 of file RPCObVmonPyWrapper.cc.

References i, and RPCObVmon::ObVmon_rpc.

Referenced by cond::ValueExtractor< RPCObVmon >::extractor().

                                                                                                                                                 {
      std::vector<RPCObVmon::V_Item> const & vmon = pl.ObVmon_rpc;
      for(unsigned int i = 0; i < vmon.size(); ++i ){
        if (which[0] == 0){
          result.push_back(vmon[i].dpid);
        }
        else{
          if(vmon[i].dpid == which[0])
            result.push_back(vmon[i].dpid);
        }
      }
    }
void cond::rpcobvmon::extractTime ( RPCObVmon const &  pl,
std::vector< int > const &  which,
std::vector< float > &  result,
const float &  starttime,
const float &  endtime 
)

Definition at line 88 of file RPCObVmonPyWrapper.cc.

References i, RPCObVmon::ObVmon_rpc, and time.

Referenced by cond::ValueExtractor< RPCObVmon >::extractor().

                                                                                                                                                {
      std::vector<RPCObVmon::V_Item> const & vmon = pl.ObVmon_rpc;
      for(unsigned int i = 0; i < vmon.size(); ++i ){
        if (which[0] == 0){
          result.push_back(vmon[i].time);
        }
        else{
          if(vmon[i].dpid == which[0])
            result.push_back(vmon[i].time);
        }
      }
    }