CMS 3D CMS Logo

Typedefs | Enumerations | Functions

cond::rpcobgas Namespace Reference

Typedefs

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

Enumerations

enum  How {
  detid, flowin, flowout, day,
  time
}

Functions

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

Typedef Documentation

typedef boost::function<void(RPCObGas const & pl, std::vector<int> const & which,std::vector<float> & result,const float& starttime,const float& endtime)> cond::rpcobgas::RPCObGasExtractor

Definition at line 128 of file RPCObGasPyWrapper.cc.


Enumeration Type Documentation

Enumerator:
detid 
flowin 
flowout 
day 
time 

Definition at line 61 of file RPCObGasPyWrapper.cc.


Function Documentation

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

Definition at line 102 of file RPCObGasPyWrapper.cc.

References day, i, and RPCObGas::ObGas_rpc.

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

                                                                                                                                              {
      std::vector<RPCObGas::Item> const & gas = pl.ObGas_rpc;
      for(unsigned int i = 0; i < gas.size(); ++i ){
        if (which[0] == 0){
          result.push_back(gas[i].day);
        }
        else{
          if(gas[i].dpid == which[0])
            result.push_back(gas[i].day);
        }
      }
    }
void cond::rpcobgas::extractDetId ( RPCObGas const &  pl,
std::vector< int > const &  which,
std::vector< float > &  result,
const float &  starttime,
const float &  endtime 
)

Definition at line 63 of file RPCObGasPyWrapper.cc.

References i, and RPCObGas::ObGas_rpc.

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

                                                                                                                                                {
      std::vector<RPCObGas::Item> const & gas = pl.ObGas_rpc;
      for(unsigned int i = 0; i < gas.size(); ++i ){
        if (which[0] == 0){
          result.push_back(gas[i].dpid);
        }
        else{
          if(gas[i].dpid == which[0])
            result.push_back(gas[i].dpid);
        }
      }
    }
void cond::rpcobgas::extractFlowin ( RPCObGas const &  pl,
std::vector< int > const &  which,
std::vector< float > &  result,
const float &  starttime,
const float &  endtime 
)

Definition at line 76 of file RPCObGasPyWrapper.cc.

References flowin, i, and RPCObGas::ObGas_rpc.

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

                                                                                                                                                {
      std::vector<RPCObGas::Item> const & gas = pl.ObGas_rpc;
      for(unsigned int i = 0; i < gas.size(); ++i ){
        if (which[0] == 0){
          result.push_back(gas[i].flowin);
        }
        else{
          if(gas[i].dpid == which[0])
            result.push_back(gas[i].flowin);
        }
      }
    }
void cond::rpcobgas::extractFlowout ( RPCObGas const &  pl,
std::vector< int > const &  which,
std::vector< float > &  result,
const float &  starttime,
const float &  endtime 
)

Definition at line 89 of file RPCObGasPyWrapper.cc.

References flowout, i, and RPCObGas::ObGas_rpc.

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

                                                                                                                                                 {
      std::vector<RPCObGas::Item> const & gas = pl.ObGas_rpc;
      for(unsigned int i = 0; i < gas.size(); ++i ){
        if (which[0] == 0){
          result.push_back(gas[i].flowout);
        }
        else{
          if(gas[i].dpid == which[0])
            result.push_back(gas[i].flowout);
        }
      }
    }
void cond::rpcobgas::extractTime ( RPCObGas const &  pl,
std::vector< int > const &  which,
std::vector< float > &  result,
const float &  starttime,
const float &  endtime 
)

Definition at line 115 of file RPCObGasPyWrapper.cc.

References i, RPCObGas::ObGas_rpc, and time.

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

                                                                                                                                               {
      std::vector<RPCObGas::Item> const & gas = pl.ObGas_rpc;
      for(unsigned int i = 0; i < gas.size(); ++i ){
        if (which[0] == 0){
          result.push_back(gas[i].time);
        }
        else{
          if(gas[i].dpid == which[0])
            result.push_back(gas[i].time);
        }
      }
    }