CMS 3D CMS Logo

Classes | Functions
MuonSimClassifier.cc File Reference
#include <memory>
#include <set>
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Framework/interface/stream/EDProducer.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "FWCore/Framework/interface/ESHandle.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "DataFormats/Common/interface/View.h"
#include "DataFormats/Common/interface/ValueMap.h"
#include "DataFormats/Common/interface/Association.h"
#include "DataFormats/MuonReco/interface/Muon.h"
#include "DataFormats/MuonReco/interface/MuonSimInfo.h"
#include "DataFormats/HepMCCandidate/interface/GenParticle.h"
#include "DataFormats/HepMCCandidate/interface/GenParticleFwd.h"
#include "SimDataFormats/Associations/interface/MuonToTrackingParticleAssociator.h"
#include "SimTracker/Records/interface/TrackAssociatorRecord.h"
#include "SimDataFormats/TrackingAnalysis/interface/TrackingVertex.h"
#include "CommonTools/Utils/interface/StringCutObjectSelector.h"

Go to the source code of this file.

Classes

class  MuonSimClassifier
 

Functions

void dumpFormatedInfo (const reco::MuonSimInfo &simInfo)
 
static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker< edm::ParameterSetDescriptionFiller< MuonSimClassifier > > s_filler__LINE__ ("MuonSimClassifier")
 
static const edm::MakerPluginFactory::PMaker< edm::WorkerMaker< MuonSimClassifier > > s_maker__LINE__ ("MuonSimClassifier")
 

Function Documentation

void dumpFormatedInfo ( const reco::MuonSimInfo simInfo)

Definition at line 156 of file MuonSimClassifier.cc.

References reco::MuonSimInfo::charge, reco::MuonSimInfo::g4processType, LogTrace, reco::MuonSimInfo::p4, reco::MuonSimInfo::pdgId, reco::MuonSimInfo::tpBX, reco::MuonSimInfo::tpEvent, and reco::MuonSimInfo::vertex.

Referenced by MuonSimClassifier::produce().

156  {
157  return;
158  LogTrace("MuonSimClassifier") <<
159  "\t Particle pdgId = " << simInfo.pdgId <<
160  ", (Event,Bx) = "<< "(" << simInfo.tpEvent << "," << simInfo.tpBX << ")" <<
161  "\n\t q*p = " << simInfo.charge*simInfo.p4.P() <<
162  ", pT = " << simInfo.p4.pt() << ", eta = " << simInfo.p4.eta() << ", phi = " << simInfo.p4.phi() <<
163  "\n\t produced at vertex rho = " << simInfo.vertex.Rho() << ", z = " << simInfo.vertex.Z() <<
164  ", (GEANT4 process = " << simInfo.g4processType << ")\n";
165 }
#define LogTrace(id)
LorentzVector p4
Definition: MuonSimInfo.h:95
static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker<edm::ParameterSetDescriptionFiller< MuonSimClassifier > > s_filler__LINE__ ( "MuonSimClassifier"  )
static
static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< MuonSimClassifier > > s_maker__LINE__ ( "MuonSimClassifier"  )
static