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 "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 23 of file EventShapeVarsProducer.cc.

References edm::Event::put().

Referenced by EventShapeVarsProducer::produce().

24 {
25  std::auto_ptr<double> eventShapeVarPtr(new double(value));
26  evt.put(eventShapeVarPtr, instanceName);
27 }
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
Definition: Event.h:116