CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Namespaces | Typedefs | Enumerations | Functions
EcalPulseShapesPyWrapper.cc File Reference
#include "CondFormats/EcalObjects/interface/EcalPulseShapes.h"
#include "CondTools/Ecal/interface/EcalPulseShapesXMLTranslator.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::EcalPulseShapesHelper
 
struct  cond::ExtractWhat< EcalPulseShapes >
 
struct  pythonID::pluginName_EcalPulseShapes
 
class  cond::ValueExtractor< EcalPulseShapes >
 

Namespaces

 cond
 
 cond::ecalpulseshape
 
 condPython
 
 pythonID
 

Typedefs

typedef boost::function< void(EcalPulseShapes
const &pulseshapes, Quantity q,
std::vector< int > const
&which, std::vector< float >
&result)> 
cond::ecalpulseshape::PulseShapeExtractor
 

Enumerations

enum  cond::ecalpulseshape::How { cond::ecalpulseshape::singleChannel, cond::ecalpulseshape::bySuperModule, cond::ecalpulseshape::all }
 
enum  cond::ecalpulseshape::Quantity {
  cond::ecalpulseshape::sample_0 =1, cond::ecalpulseshape::sample_1 =2, cond::ecalpulseshape::sample_2 =3, cond::ecalpulseshape::sample_3 =4,
  cond::ecalpulseshape::sample_4 =5, cond::ecalpulseshape::sample_5 =6, cond::ecalpulseshape::sample_6 =7, cond::ecalpulseshape::sample_7 =8,
  cond::ecalpulseshape::sample_8 =9, cond::ecalpulseshape::sample_9 =10, cond::ecalpulseshape::sample_10 =11, cond::ecalpulseshape::sample_11 =12
}
 

Functions

float cond::ecalpulseshape::average (EcalPulseShapes const &pulseshapes, Quantity q)
 
 BOOST_PYTHON_MODULE (pluginEcalPulseShapesPyInterface)
 
template<>
void condPython::defineWhat< EcalPulseShapes > ()
 
void cond::ecalpulseshape::extractAverage (EcalPulseShapes const &pulseshapes, Quantity q, std::vector< int > const &, std::vector< float > &result)
 
void cond::ecalpulseshape::extractSingleChannel (EcalPulseShapes const &pulseshapes, Quantity q, std::vector< int > const &which, std::vector< float > &result)
 
void cond::ecalpulseshape::extractSuperModules (EcalPulseShapes const &pulseshapes, Quantity q, std::vector< int > const &which, std::vector< float > &result)
 
static const
cond::ClassInfoFactory::PMaker
< pythonID::pluginName_EcalPulseShapes
s_maker__LINE__ (pythonID::pluginName_EcalPulseShapes().pluginName(cond::idCategories::pythonIDCategory).c_str())
 

Function Documentation

BOOST_PYTHON_MODULE ( pluginEcalPulseShapesPyInterface  )

Definition at line 352 of file EcalPulseShapesPyWrapper.cc.

static const cond::ClassInfoFactory ::PMaker< pythonID:: pluginName_EcalPulseShapes > s_maker__LINE__ ( pythonID::  pluginName_EcalPulseShapes).pluginName(cond::idCategories::pythonIDCategory).c_str()
static