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

void dumpFormatedInfo ( const reco::MuonSimInfo simInfo)

Definition at line 164 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().

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 }
#define LogTrace(id)
LorentzVector p4
Definition: MuonSimInfo.h:94
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