CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
EventShapeVarsProducer.cc File Reference
#include "PhysicsTools/CandAlgos/plugins/EventShapeVarsProducer.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "DataFormats/Common/interface/Handle.h"
#include "DataFormats/Common/interface/View.h"
#include "PhysicsTools/CandUtils/interface/EventShapeVariables.h"
#include "PhysicsTools/CandUtils/interface/Thrust.h"
#include "FWCore/Framework/interface/MakerMacros.h"

Go to the source code of this file.

Functions

 DEFINE_FWK_MODULE (EventShapeVarsProducer)
 
void put (edm::Event &evt, double value, const char *instanceName)
 

Function Documentation

DEFINE_FWK_MODULE ( EventShapeVarsProducer  )
void put ( edm::Event evt,
double  value,
const char *  instanceName 
)

Definition at line 27 of file EventShapeVarsProducer.cc.

References edm::Event::put().

Referenced by EventShapeVarsProducer::produce().

28 {
29  std::auto_ptr<double> eventShapeVarPtr(new double(value));
30  evt.put(eventShapeVarPtr, instanceName);
31 }
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
Definition: Event.h:94