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/ESHandle.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 "DataFormats/Common/interface/Association.h"
#include "DataFormats/Common/interface/ValueMap.h"
#include "DataFormats/Common/interface/View.h"
#include "DataFormats/HepMCCandidate/interface/GenParticle.h"
#include "DataFormats/HepMCCandidate/interface/GenParticleFwd.h"
#include "DataFormats/MuonReco/interface/Muon.h"
#include "DataFormats/MuonReco/interface/MuonSimInfo.h"
#include "SimDataFormats/Associations/interface/MuonToTrackingParticleAssociator.h"
#include "SimDataFormats/TrackingAnalysis/interface/TrackingVertex.h"
#include "SimTracker/Records/interface/TrackAssociatorRecord.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

◆ dumpFormatedInfo()

void dumpFormatedInfo ( const reco::MuonSimInfo simInfo)

Definition at line 164 of file MuonSimClassifier.cc.

164  {
165  return;
166  LogTrace("MuonSimClassifier") << "\t Particle pdgId = " << simInfo.pdgId << ", (Event,Bx) = "
167  << "(" << simInfo.tpEvent << "," << simInfo.tpBX << ")"
168  << "\n\t q*p = " << simInfo.charge * simInfo.p4.P() << ", pT = " << simInfo.p4.pt()
169  << ", eta = " << simInfo.p4.eta() << ", phi = " << simInfo.p4.phi()
170  << "\n\t produced at vertex rho = " << simInfo.vertex.Rho()
171  << ", z = " << simInfo.vertex.Z() << ", (GEANT4 process = " << simInfo.g4processType
172  << ")\n";
173 }

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().

◆ s_filler__LINE__()

static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker<edm::ParameterSetDescriptionFiller< MuonSimClassifier > > s_filler__LINE__ ( "MuonSimClassifier"  )
static

◆ s_maker__LINE__()

static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< MuonSimClassifier > > s_maker__LINE__ ( "MuonSimClassifier"  )
static
reco::MuonSimInfo::vertex
Point vertex
Definition: MuonSimInfo.h:95
reco::MuonSimInfo::g4processType
int g4processType
Definition: MuonSimInfo.h:83
reco::MuonSimInfo::tpBX
int tpBX
Definition: MuonSimInfo.h:92
reco::MuonSimInfo::tpEvent
int tpEvent
Definition: MuonSimInfo.h:91
reco::MuonSimInfo::pdgId
int pdgId
Definition: MuonSimInfo.h:82
reco::MuonSimInfo::charge
int charge
Definition: MuonSimInfo.h:93
LogTrace
#define LogTrace(id)
Definition: MessageLogger.h:234
reco::MuonSimInfo::p4
LorentzVector p4
Definition: MuonSimInfo.h:94