CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Namespaces | Typedefs | Enumerations | Functions
EcalPedestalsPyWrapper.cc File Reference
#include "CondFormats/EcalObjects/interface/EcalPedestals.h"
#include "CondTools/Ecal/interface/EcalPedestalsXMLTranslator.h"
#include "CondTools/Ecal/interface/EcalCondHeader.h"
#include "TH2F.h"
#include "TCanvas.h"
#include "TStyle.h"
#include "TLine.h"
#include "DataFormats/EcalDetId/interface/EBDetId.h"
#include "DataFormats/EcalDetId/interface/EEDetId.h"
#include "CondCore/Utilities/interface/PayLoadInspector.h"
#include "CondCore/Utilities/interface/InspectorPythonWrapper.h"
#include <string>
#include <sstream>
#include <algorithm>
#include <numeric>
#include <iterator>
#include <boost/ref.hpp>
#include <boost/bind.hpp>
#include <boost/function.hpp>
#include <boost/iterator/transform_iterator.hpp>
#include <fstream>
#include "CondCore/EcalPlugins/plugins/EcalPyWrapperFunctions.h"

Go to the source code of this file.

Classes

class  cond::EcalPedestalsHelper
 
struct  cond::ExtractWhat< EcalPedestals >
 
class  cond::ValueExtractor< EcalPedestals >
 

Namespaces

 cond
 
 cond::ecalped
 
 condPython
 

Typedefs

typedef boost::function< void(EcalPedestals
const &peds, Quantity q,
std::vector< int > const
&which, std::vector< float >
&result)> 
cond::ecalped::PedExtractor
 

Enumerations

enum  cond::ecalped::How { cond::ecalped::singleChannel, cond::ecalped::bySuperModule, cond::ecalped::all }
 
enum  cond::ecalped::Quantity { cond::ecalped::mean_x12 =1, cond::ecalped::mean_x6 =2, cond::ecalped::mean_x3 =3 }
 

Functions

float cond::ecalped::average (EcalPedestals const &peds, Quantity q)
 
template<>
void condPython::defineWhat< EcalPedestals > ()
 
void cond::ecalped::extractAverage (EcalPedestals const &peds, Quantity q, std::vector< int > const &, std::vector< float > &result)
 
void cond::ecalped::extractSingleChannel (EcalPedestals const &peds, Quantity q, std::vector< int > const &which, std::vector< float > &result)
 
void cond::ecalped::extractSuperModules (EcalPedestals const &peds, Quantity q, std::vector< int > const &which, std::vector< float > &result)
 
 PYTHON_WRAPPER (EcalPedestals, EcalPedestals)
 

Function Documentation

PYTHON_WRAPPER ( EcalPedestals  ,
EcalPedestals   
)