CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Functions
EcalSimHitDump.cc File Reference
#include "DataFormats/EcalDetId/interface/EBDetId.h"
#include "DataFormats/EcalDetId/interface/EEDetId.h"
#include "DataFormats/EcalDetId/interface/ESDetId.h"
#include "DataFormats/EcalDetId/interface/EcalSubdetector.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Framework/interface/one/EDAnalyzer.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/Utilities/interface/InputTag.h"
#include "FWCore/Utilities/interface/transform.h"
#include "SimDataFormats/CaloHit/interface/PCaloHit.h"
#include "SimDataFormats/CaloHit/interface/PCaloHitContainer.h"
#include <string>
#include <vector>

Go to the source code of this file.

Classes

class  EcalSimHitDump
 

Functions

 kount_ (0)
 
 maxEvent_ (ps.getParameter< int >("MaxEvent"))
 
static const
edm::ParameterSetDescriptionFillerPluginFactory::PMaker
< edm::ParameterSetDescriptionFiller
< EcalSimHitDump > > 
s_filler__LINE__ ("EcalSimHitDump")
 
static const
edm::MakerPluginFactory::PMaker
< edm::WorkerMaker
< EcalSimHitDump > > 
s_maker__LINE__ ("EcalSimHitDump")
 
 types_ (ps.getParameter< std::vector< int >>("CollectionTypes"))
 

Function Documentation

kount_ ( )

Definition at line 48 of file EcalSimHitDump.cc.

References EcalSimHitDump::g4Label_, EcalSimHitDump::hitLab_, isotrackApplyRegressor::k, EcalSimHitDump::maxEvent_, and EcalSimHitDump::types_.

48  {
49  edm::LogVerbatim("HitStudy") << "Module Label: " << g4Label_ << " with " << hitLab_.size()
50  << " collections and maxEvent = " << maxEvent_;
51  for (unsigned int k = 0; k < hitLab_.size(); ++k)
52  edm::LogVerbatim("HitStudy") << "[" << k << "] Type " << types_[k] << " Label " << hitLab_[k];
53 }
Log< level::Info, true > LogVerbatim
maxEvent_(ps.getParameter< int >("MaxEvent"))
types_(ps.getParameter< std::vector< int >>("CollectionTypes"))
maxEvent_ ( ps.getParameter< int >  "MaxEvent")
static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker<edm::ParameterSetDescriptionFiller< EcalSimHitDump > > s_filler__LINE__ ( "EcalSimHitDump"  )
static
static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< EcalSimHitDump > > s_maker__LINE__ ( "EcalSimHitDump"  )
static
types_ ( ps.getParameter< std::vector< int >>  "CollectionTypes")