CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Classes | Public Member Functions | Private Attributes
BasicHepMCValidation Class Reference

#include <BasicHepMCValidation.h>

Inheritance diagram for BasicHepMCValidation:
DQMEDAnalyzer edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > edm::stream::EDAnalyzerBase edm::EDConsumerBase

Classes

class  ParticleMonitor
 

Public Member Functions

virtual void analyze (edm::Event const &, edm::EventSetup const &) override
 
 BasicHepMCValidation (const edm::ParameterSet &)
 
virtual void bookHistograms (DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override
 
virtual void dqmBeginRun (const edm::Run &r, const edm::EventSetup &c) override
 
virtual ~BasicHepMCValidation ()
 
- Public Member Functions inherited from DQMEDAnalyzer
virtual void beginRun (edm::Run const &, edm::EventSetup const &) final
 
virtual void beginStream (edm::StreamID id) final
 
 DQMEDAnalyzer (void)
 
virtual void endLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
virtual void endRunSummary (edm::Run const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
uint32_t streamId () const
 
- Public Member Functions inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > >
 EDAnalyzer ()=default
 
- Public Member Functions inherited from edm::stream::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDAnalyzerBase ()
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
 EDConsumerBase ()
 
ProductHolderIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
std::vector
< ProductHolderIndexAndSkipBit >
const & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

Private Attributes

MonitorElementBjorken_x
 
MonitorElementDeltaEcms
 
MonitorElementDeltaPx
 
MonitorElementDeltaPy
 
MonitorElementDeltaPz
 
edm::ESHandle
< HepPDT::ParticleDataTable
fPDGTable
 PDT table. More...
 
MonitorElementgenPtclNumber
 
MonitorElementgenPtclStatus
 
MonitorElementgenVrtxNumber
 
edm::InputTag hepmcCollection_
 
edm::EDGetTokenT
< edm::HepMCProduct
hepmcCollectionToken_
 
MonitorElementlog10DeltaEcms
 
MonitorElementnEvt
 
MonitorElementotherPtclMomentum
 
MonitorElementotherPtclNumber
 other ME's More...
 
MonitorElementoutVrtxPtclNumber
 
MonitorElementoutVrtxStablePtclNumber
 
std::vector< ParticleMonitorparticles
 
MonitorElementpartonNumber
 
MonitorElementpartonpT
 
MonitorElementstableChaNumber
 
MonitorElementstablePtclCharge
 
MonitorElementstablePtclEta
 
MonitorElementstablePtclNumber
 
MonitorElementstablePtclp
 
MonitorElementstablePtclPhi
 
MonitorElementstablePtclpT
 
MonitorElementstatus1ShortLived
 
MonitorElementunknownPDTNumber
 
MonitorElementvrtxRadius
 
MonitorElementvrtxZ
 
WeightManager wmanager_
 

Additional Inherited Members

- Public Types inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > >
typedef CacheContexts< T...> CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T...> HasAbility
 
typedef
CacheTypes::LuminosityBlockCache 
LuminosityBlockCache
 
typedef
LuminosityBlockContextT
< LuminosityBlockCache,
RunCache, GlobalCache
LuminosityBlockContext
 
typedef
CacheTypes::LuminosityBlockSummaryCache 
LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache,
GlobalCache
RunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 
- Public Types inherited from edm::stream::EDAnalyzerBase
typedef EDAnalyzerAdaptorBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from DQMEDAnalyzer
static std::shared_ptr
< dqmDetails::NoCache
globalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *)
 
static std::shared_ptr
< dqmDetails::NoCache
globalBeginRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *)
 
static void globalEndLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *, dqmDetails::NoCache *)
 
static void globalEndRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *, dqmDetails::NoCache *)
 
- Static Public Member Functions inherited from edm::stream::EDAnalyzerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Detailed Description

Definition at line 35 of file BasicHepMCValidation.h.

Constructor & Destructor Documentation

BasicHepMCValidation::BasicHepMCValidation ( const edm::ParameterSet iPSet)
explicit

Definition at line 14 of file BasicHepMCValidation.cc.

BasicHepMCValidation::~BasicHepMCValidation ( )
virtual

Definition at line 21 of file BasicHepMCValidation.cc.

Member Function Documentation

void BasicHepMCValidation::analyze ( edm::Event const &  iEvent,
edm::EventSetup const &  iSetup 
)
overridevirtual

counters to zero for every event

Gathering the HepMCProduct information

Bjorken variable from PDF

Vertices

loop on vertex particles

Looping through the PARTICLES in the event

Particles

Status statistics

Stable particles

filling multiplicity ME's

Implements edm::stream::EDAnalyzerBase.

Definition at line 151 of file BasicHepMCValidation.cc.

void BasicHepMCValidation::bookHistograms ( DQMStore::IBooker i,
edm::Run const &  ,
edm::EventSetup const &   
)
overridevirtual

Setting the DQM top directories

Booking the ME's multiplicity

other

Implements DQMEDAnalyzer.

Definition at line 27 of file BasicHepMCValidation.cc.

void BasicHepMCValidation::dqmBeginRun ( const edm::Run r,
const edm::EventSetup c 
)
overridevirtual

Reimplemented from DQMEDAnalyzer.

Definition at line 23 of file BasicHepMCValidation.cc.

Member Data Documentation

MonitorElement* BasicHepMCValidation::Bjorken_x
private

Definition at line 185 of file BasicHepMCValidation.h.

MonitorElement* BasicHepMCValidation::DeltaEcms
private

Definition at line 190 of file BasicHepMCValidation.h.

MonitorElement* BasicHepMCValidation::DeltaPx
private

Definition at line 191 of file BasicHepMCValidation.h.

MonitorElement* BasicHepMCValidation::DeltaPy
private

Definition at line 192 of file BasicHepMCValidation.h.

MonitorElement* BasicHepMCValidation::DeltaPz
private

Definition at line 193 of file BasicHepMCValidation.h.

edm::ESHandle<HepPDT::ParticleDataTable> BasicHepMCValidation::fPDGTable
private

PDT table.

Definition at line 49 of file BasicHepMCValidation.h.

MonitorElement* BasicHepMCValidation::genPtclNumber
private

Definition at line 165 of file BasicHepMCValidation.h.

MonitorElement* BasicHepMCValidation::genPtclStatus
private

Definition at line 169 of file BasicHepMCValidation.h.

MonitorElement* BasicHepMCValidation::genVrtxNumber
private

Definition at line 166 of file BasicHepMCValidation.h.

edm::InputTag BasicHepMCValidation::hepmcCollection_
private

Definition at line 46 of file BasicHepMCValidation.h.

edm::EDGetTokenT<edm::HepMCProduct> BasicHepMCValidation::hepmcCollectionToken_
private

Definition at line 195 of file BasicHepMCValidation.h.

MonitorElement* BasicHepMCValidation::log10DeltaEcms
private

Definition at line 189 of file BasicHepMCValidation.h.

MonitorElement* BasicHepMCValidation::nEvt
private

Definition at line 159 of file BasicHepMCValidation.h.

MonitorElement* BasicHepMCValidation::otherPtclMomentum
private

Definition at line 164 of file BasicHepMCValidation.h.

MonitorElement* BasicHepMCValidation::otherPtclNumber
private

other ME's

Definition at line 163 of file BasicHepMCValidation.h.

MonitorElement* BasicHepMCValidation::outVrtxPtclNumber
private

Definition at line 168 of file BasicHepMCValidation.h.

MonitorElement* BasicHepMCValidation::outVrtxStablePtclNumber
private

Definition at line 180 of file BasicHepMCValidation.h.

std::vector<ParticleMonitor> BasicHepMCValidation::particles
private

Definition at line 160 of file BasicHepMCValidation.h.

MonitorElement* BasicHepMCValidation::partonNumber
private

Definition at line 178 of file BasicHepMCValidation.h.

MonitorElement* BasicHepMCValidation::partonpT
private

Definition at line 179 of file BasicHepMCValidation.h.

MonitorElement* BasicHepMCValidation::stableChaNumber
private

Definition at line 172 of file BasicHepMCValidation.h.

MonitorElement* BasicHepMCValidation::stablePtclCharge
private

Definition at line 175 of file BasicHepMCValidation.h.

MonitorElement* BasicHepMCValidation::stablePtclEta
private

Definition at line 174 of file BasicHepMCValidation.h.

MonitorElement* BasicHepMCValidation::stablePtclNumber
private

Definition at line 171 of file BasicHepMCValidation.h.

MonitorElement* BasicHepMCValidation::stablePtclp
private

Definition at line 176 of file BasicHepMCValidation.h.

MonitorElement* BasicHepMCValidation::stablePtclPhi
private

Definition at line 173 of file BasicHepMCValidation.h.

MonitorElement* BasicHepMCValidation::stablePtclpT
private

Definition at line 177 of file BasicHepMCValidation.h.

MonitorElement* BasicHepMCValidation::status1ShortLived
private

Definition at line 187 of file BasicHepMCValidation.h.

MonitorElement* BasicHepMCValidation::unknownPDTNumber
private

Definition at line 167 of file BasicHepMCValidation.h.

MonitorElement* BasicHepMCValidation::vrtxRadius
private

Definition at line 183 of file BasicHepMCValidation.h.

MonitorElement* BasicHepMCValidation::vrtxZ
private

Definition at line 182 of file BasicHepMCValidation.h.

WeightManager BasicHepMCValidation::wmanager_
private

Definition at line 45 of file BasicHepMCValidation.h.