CMS 3D CMS Logo

Typedefs | Enumerations | Functions

cond::rpcobtemp Namespace Reference

Typedefs

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

Enumerations

enum  How { detid, day, time, temp }

Functions

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

Typedef Documentation

typedef boost::function<void(RPCObTemp const & pl, std::vector<int> const & which,std::vector<float> & result,const float& starttime,const float& endtime)> cond::rpcobtemp::RPCObTempExtractor

Definition at line 118 of file RPCObTempPyWrapper.cc.


Enumeration Type Documentation

Enumerator:
detid 
day 
time 
temp 

Definition at line 64 of file RPCObTempPyWrapper.cc.

{ detid, day, time, temp};

Function Documentation

void cond::rpcobtemp::extractDay ( RPCObTemp const &  pl,
std::vector< int > const &  which,
std::vector< float > &  result,
const float &  starttime,
const float &  endtime 
)

Definition at line 79 of file RPCObTempPyWrapper.cc.

References day, i, and RPCObTemp::ObTemp_rpc.

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

                                                                                                                                               {
      std::vector<RPCObTemp::T_Item> const & imon = pl.ObTemp_rpc;
      for(unsigned int i = 0; i < imon.size(); ++i ){
        if (which[0] == 0){
          result.push_back(imon[i].day);
        }
        else{
          if(imon[i].dpid == which[0])
            result.push_back(imon[i].day);
        }
      }
    }
void cond::rpcobtemp::extractDetId ( RPCObTemp const &  pl,
std::vector< int > const &  which,
std::vector< float > &  result,
const float &  starttime,
const float &  endtime 
)

Definition at line 66 of file RPCObTempPyWrapper.cc.

References i, and RPCObTemp::ObTemp_rpc.

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

                                                                                                                                                 {
      std::vector<RPCObTemp::T_Item> const & imon = pl.ObTemp_rpc;
      for(unsigned int i = 0; i < imon.size(); ++i ){
        if (which[0] == 0){
          result.push_back(imon[i].dpid);
        }
        else{
          if(imon[i].dpid == which[0])
            result.push_back(imon[i].dpid);
        }
      }
    }
void cond::rpcobtemp::extractTemp ( RPCObTemp const &  pl,
std::vector< int > const &  which,
std::vector< float > &  result,
const float &  starttime,
const float &  endtime 
)

Definition at line 105 of file RPCObTempPyWrapper.cc.

References i, RPCObTemp::ObTemp_rpc, and relativeConstraints::value.

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

                                                                                                                                               {
      std::vector<RPCObTemp::T_Item> const & imon = pl.ObTemp_rpc;
      for(unsigned int i = 0; i < imon.size(); ++i ){
        if (which[0] == 0){
          result.push_back(imon[i].value);
        }
        else{
          if(imon[i].dpid == which[0])
            result.push_back(imon[i].value);
        }
      }
    }
void cond::rpcobtemp::extractTime ( RPCObTemp const &  pl,
std::vector< int > const &  which,
std::vector< float > &  result,
const float &  starttime,
const float &  endtime 
)

Definition at line 92 of file RPCObTempPyWrapper.cc.

References i, RPCObTemp::ObTemp_rpc, and time.

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

                                                                                                                                                {
      std::vector<RPCObTemp::T_Item> const & imon = pl.ObTemp_rpc;
      for(unsigned int i = 0; i < imon.size(); ++i ){
        if (which[0] == 0){
          result.push_back(imon[i].time);
        }
        else{
          if(imon[i].dpid == which[0])
            result.push_back(imon[i].time);
        }
      }
    }