CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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

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().

102  {
103  std::vector<RPCObGas::Item> const & gas = pl.ObGas_rpc;
104  for(unsigned int i = 0; i < gas.size(); ++i ){
105  if (which[0] == 0){
106  result.push_back(gas[i].day);
107  }
108  else{
109  if(gas[i].dpid == which[0])
110  result.push_back(gas[i].day);
111  }
112  }
113  }
int i
Definition: DBlmapReader.cc:9
tuple result
Definition: query.py:137
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().

63  {
64  std::vector<RPCObGas::Item> const & gas = pl.ObGas_rpc;
65  for(unsigned int i = 0; i < gas.size(); ++i ){
66  if (which[0] == 0){
67  result.push_back(gas[i].dpid);
68  }
69  else{
70  if(gas[i].dpid == which[0])
71  result.push_back(gas[i].dpid);
72  }
73  }
74  }
int i
Definition: DBlmapReader.cc:9
tuple result
Definition: query.py:137
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().

76  {
77  std::vector<RPCObGas::Item> const & gas = pl.ObGas_rpc;
78  for(unsigned int i = 0; i < gas.size(); ++i ){
79  if (which[0] == 0){
80  result.push_back(gas[i].flowin);
81  }
82  else{
83  if(gas[i].dpid == which[0])
84  result.push_back(gas[i].flowin);
85  }
86  }
87  }
int i
Definition: DBlmapReader.cc:9
tuple result
Definition: query.py:137
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().

89  {
90  std::vector<RPCObGas::Item> const & gas = pl.ObGas_rpc;
91  for(unsigned int i = 0; i < gas.size(); ++i ){
92  if (which[0] == 0){
93  result.push_back(gas[i].flowout);
94  }
95  else{
96  if(gas[i].dpid == which[0])
97  result.push_back(gas[i].flowout);
98  }
99  }
100  }
int i
Definition: DBlmapReader.cc:9
tuple result
Definition: query.py:137
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().

115  {
116  std::vector<RPCObGas::Item> const & gas = pl.ObGas_rpc;
117  for(unsigned int i = 0; i < gas.size(); ++i ){
118  if (which[0] == 0){
119  result.push_back(gas[i].time);
120  }
121  else{
122  if(gas[i].dpid == which[0])
123  result.push_back(gas[i].time);
124  }
125  }
126  }
int i
Definition: DBlmapReader.cc:9
tuple result
Definition: query.py:137