CMS 3D CMS Logo

Typedefs | Enumerations | Functions

cond::ecalcond Namespace Reference

Typedefs

typedef boost::function< void(Container
const &cont, std::vector< int >
const &which, std::vector
< float > &result)> 
CondExtractor
typedef EcalChannelStatus Container
typedef Container::Items Items
typedef Container::value_type value_type

Enumerations

enum  How {
  singleChannel, bySuperModule, barrel, endcap,
  all, singleChannel, bySuperModule, all,
  singleChannel, bySuperModule, all, singleChannel,
  bySuperModule, barrel, endcap, all
}
enum  How {
  singleChannel, bySuperModule, barrel, endcap,
  all, singleChannel, bySuperModule, all,
  singleChannel, bySuperModule, all, singleChannel,
  bySuperModule, barrel, endcap, all
}
enum  How {
  singleChannel, bySuperModule, barrel, endcap,
  all, singleChannel, bySuperModule, all,
  singleChannel, bySuperModule, all, singleChannel,
  bySuperModule, barrel, endcap, all
}
enum  How {
  singleChannel, bySuperModule, barrel, endcap,
  all, singleChannel, bySuperModule, all,
  singleChannel, bySuperModule, all, singleChannel,
  bySuperModule, barrel, endcap, all
}

Functions

int bad (Items const &cont)
void extractAll (Container const &cont, std::vector< int > const &, std::vector< float > &result)
void extractAll (EcalDAQTowerStatus const &cont, std::vector< int > const &, std::vector< float > &result)
void extractBarrel (Container const &cont, std::vector< int > const &, std::vector< float > &result)
void extractBarrel (EcalDAQTowerStatus const &cont, std::vector< int > const &, std::vector< float > &result)
void extractEndcap (EcalDAQTowerStatus const &cont, std::vector< int > const &, std::vector< float > &result)
void extractEndcap (Container const &cont, std::vector< int > const &, std::vector< float > &result)
void extractSingleChannel (EcalDAQTowerStatus const &cont, std::vector< int > const &which, std::vector< float > &result)
void extractSingleChannel (Container const &cont, std::vector< int > const &which, std::vector< float > &result)
void extractSuperModules (Container const &cont, std::vector< int > const &which, std::vector< float > &result)
void extractSuperModules (EcalDAQTowerStatus const &cont, std::vector< int > const &which, std::vector< float > &result)

Typedef Documentation

typedef boost::function< void(Container const &cont, std::vector< int > const &which, std::vector< float > &result)> cond::ecalcond::CondExtractor

Definition at line 69 of file EcalChannelStatusPyWrapper.cc.

Definition at line 31 of file EcalChannelStatusPyWrapper.cc.

Definition at line 32 of file EcalChannelStatusPyWrapper.cc.

Definition at line 33 of file EcalChannelStatusPyWrapper.cc.


Enumeration Type Documentation

Enumerator:
singleChannel 
bySuperModule 
barrel 
endcap 
all 
singleChannel 
bySuperModule 
all 
singleChannel 
bySuperModule 
all 
singleChannel 
bySuperModule 
barrel 
endcap 
all 

Definition at line 35 of file EcalChannelStatusPyWrapper.cc.

Enumerator:
singleChannel 
bySuperModule 
barrel 
endcap 
all 
singleChannel 
bySuperModule 
all 
singleChannel 
bySuperModule 
all 
singleChannel 
bySuperModule 
barrel 
endcap 
all 

Definition at line 52 of file EcalFloatCondObjectContainerPyWrapper.cc.

Enumerator:
singleChannel 
bySuperModule 
barrel 
endcap 
all 
singleChannel 
bySuperModule 
all 
singleChannel 
bySuperModule 
all 
singleChannel 
bySuperModule 
barrel 
endcap 
all 

Definition at line 35 of file EcalDCSTowerStatusPyWrapper.cc.

Enumerator:
singleChannel 
bySuperModule 
barrel 
endcap 
all 
singleChannel 
bySuperModule 
all 
singleChannel 
bySuperModule 
all 
singleChannel 
bySuperModule 
barrel 
endcap 
all 

Definition at line 34 of file EcalDAQTowerStatusPyWrapper.cc.


Function Documentation

int cond::ecalcond::bad ( Items const &  cont)
void cond::ecalcond::extractAll ( Container const &  cont,
std::vector< int > const &  ,
std::vector< float > &  result 
)
void cond::ecalcond::extractAll ( EcalDAQTowerStatus const &  cont,
std::vector< int > const &  ,
std::vector< float > &  result 
)

Definition at line 52 of file EcalDAQTowerStatusPyWrapper.cc.

References bad(), EcalCondTowerObjectContainer< T >::barrelItems(), and EcalCondTowerObjectContainer< T >::endcapItems().

                                                                                                         {
      result.resize(1);
      result[0] = bad(cont.barrelItems())+bad(cont.endcapItems());
    }
void cond::ecalcond::extractBarrel ( Container const &  cont,
std::vector< int > const &  ,
std::vector< float > &  result 
)

Definition at line 45 of file EcalChannelStatusPyWrapper.cc.

References bad(), and EcalCondObjectContainer< T >::barrelItems().

Referenced by cond::ValueExtractor< ecalcond::Container >::extractor().

                                                                                                   {
      result.resize(1);
      result[0] =  bad(cont.barrelItems());
    }
void cond::ecalcond::extractBarrel ( EcalDAQTowerStatus const &  cont,
std::vector< int > const &  ,
std::vector< float > &  result 
)

Definition at line 43 of file EcalDAQTowerStatusPyWrapper.cc.

References bad(), and EcalCondTowerObjectContainer< T >::barrelItems().

                                                                                                            {
      result.resize(1);
      result[0] =  bad(cont.barrelItems());
    }
void cond::ecalcond::extractEndcap ( EcalDAQTowerStatus const &  cont,
std::vector< int > const &  ,
std::vector< float > &  result 
)

Definition at line 48 of file EcalDAQTowerStatusPyWrapper.cc.

References bad(), and EcalCondTowerObjectContainer< T >::endcapItems().

                                                                                                            {
      result.resize(1);
      result[0] = bad(cont.endcapItems());
    }
void cond::ecalcond::extractEndcap ( Container const &  cont,
std::vector< int > const &  ,
std::vector< float > &  result 
)

Definition at line 49 of file EcalChannelStatusPyWrapper.cc.

References bad(), and EcalCondObjectContainer< T >::endcapItems().

Referenced by cond::ValueExtractor< ecalcond::Container >::extractor().

                                                                                                   {
      result.resize(1);
      result[0] = bad(cont.endcapItems());
    }
void cond::ecalcond::extractSingleChannel ( EcalDAQTowerStatus const &  cont,
std::vector< int > const &  which,
std::vector< float > &  result 
)

Definition at line 61 of file EcalDAQTowerStatusPyWrapper.cc.

References i.

                                                                                                                         {
      result.reserve(which.size());
      for (unsigned int i=0; i<which.size();i++) {
        result.push_back(cont[which[i]].getStatusCode());
      }
    }
void cond::ecalcond::extractSingleChannel ( Container const &  cont,
std::vector< int > const &  which,
std::vector< float > &  result 
)

Definition at line 62 of file EcalChannelStatusPyWrapper.cc.

References i.

Referenced by cond::ValueExtractor< EcalDAQTowerStatus >::extractor(), cond::ValueExtractor< EcalDCSTowerStatus >::extractor(), and cond::ValueExtractor< ecalcond::Container >::extractor().

                                                                                                                {
      result.reserve(which.size());
      for (unsigned int i=0; i<which.size();i++) {
        result.push_back(cont[which[i]].getStatusCode());
      }
    }
void cond::ecalcond::extractSuperModules ( Container const &  cont,
std::vector< int > const &  which,
std::vector< float > &  result 
)
void cond::ecalcond::extractSuperModules ( EcalDAQTowerStatus const &  cont,
std::vector< int > const &  which,
std::vector< float > &  result 
)

Definition at line 57 of file EcalDAQTowerStatusPyWrapper.cc.

                                                                                                                        {
      // bho...
    }