CMS 3D CMS Logo

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

#include <L1TDTTFClient.h>

Inheritance diagram for L1TDTTFClient:
DQMEDHarvester edm::one::EDAnalyzer< edm::one::WatchRuns, edm::one::WatchLuminosityBlocks, edm::one::SharedResources > edm::one::EDAnalyzerBase edm::EDConsumerBase

Public Member Functions

 L1TDTTFClient (const edm::ParameterSet &ps)
 Constructor. More...
 
virtual ~L1TDTTFClient ()
 Destructor. More...
 
- Public Member Functions inherited from DQMEDHarvester
virtual void analyze (edm::Event const &, edm::EventSetup const &) final
 
virtual void beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final
 
virtual void beginRun (edm::Run const &, edm::EventSetup const &)
 
 DQMEDHarvester (void)
 
virtual void endJob () final
 
virtual void endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final
 
virtual void endRun (edm::Run const &, edm::EventSetup const &)
 
- Public Member Functions inherited from edm::one::EDAnalyzer< edm::one::WatchRuns, edm::one::WatchLuminosityBlocks, edm::one::SharedResources >
 EDAnalyzer ()=default
 
- Public Member Functions inherited from edm::one::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 ()
 

Protected Member Functions

void book (DQMStore::IBooker &ibooker)
 
void dqmEndJob (DQMStore::IBooker &, DQMStore::IGetter &) override
 
void dqmEndLuminosityBlock (DQMStore::IBooker &ibooker, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &)
 
- 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)
 

Private Member Functions

void buildHighQualityPlot (DQMStore::IGetter &igetter, TH2F *occupancySummary, MonitorElement *highQual_Summary, const std::string &path)
 
void buildPhiEtaPlotO (DQMStore::IGetter &igetter, MonitorElement *phi_eta_integ, const std::string &path, int wh)
 
void buildPhiEtaPlotOFC (DQMStore::IGetter &igetter, MonitorElement *phi_eta_fine_integ, MonitorElement *phi_eta_coarse_integ, MonitorElement *phi_eta_integ, const std::string &path_fine, const std::string &path_coarse, int wh)
 
void buildSummaries (DQMStore::IGetter &igetter)
 
TH1F * getTH1F (DQMStore::IGetter &igetter, const char *hname)
 
TH2F * getTH2F (DQMStore::IGetter &igetter, const char *hname)
 
void makeSummary (DQMStore::IGetter &igetter)
 
template<typename T >
void normalize (T *me)
 
template<typename T >
void normalize (T *me, const double &scale)
 
template<typename T >
void normalize (T *me, const double &scale, const double &entries)
 
void setGMTsummary (DQMStore::IGetter &igetter)
 
void setMapLabel (MonitorElement *me)
 
void setQualLabel (MonitorElement *me, int axis)
 
void setWheelLabel (MonitorElement *me)
 

Private Attributes

int counterLS_
 
MonitorElementdttf_2ndTrack_Summary
 
MonitorElementdttf_bx_integ
 
MonitorElementdttf_bx_integ_2ndTrack
 
MonitorElementdttf_bx_summary
 
MonitorElementdttf_bx_summary_2ndTrack
 
MonitorElementdttf_bx_wheel_integ [6]
 
MonitorElementdttf_bx_wheel_integ_2ndTrack [6]
 
MonitorElementdttf_bx_wheel_summary [6]
 
MonitorElementdttf_bx_wheel_summary_2ndTrack [6]
 
MonitorElementdttf_eta_fine_fraction
 
MonitorElementdttf_eta_fine_integ
 
MonitorElementdttf_eta_integ
 
MonitorElementdttf_eta_integ_2ndTrack
 
MonitorElementdttf_eta_wheel [6]
 
MonitorElementdttf_fine_fraction_wh [6]
 
MonitorElementdttf_gmt_matching
 
MonitorElementdttf_highQual_Summary
 
MonitorElementdttf_highQual_Summary_2ndTrack
 
MonitorElementdttf_nTracks_integ
 
MonitorElementdttf_nTracks_integ_2ndTrack
 
MonitorElementdttf_nTracks_wheel [6]
 
MonitorElementdttf_nTracks_wheel_2ndTrack [6]
 
MonitorElementdttf_occupancySummary
 
MonitorElementdttf_occupancySummary_2ndTrack
 
MonitorElementdttf_occupancySummary_test
 
MonitorElementdttf_phi_eta_coarse_integ
 
MonitorElementdttf_phi_eta_fine_integ
 
MonitorElementdttf_phi_eta_integ
 
MonitorElementdttf_phi_eta_integ_2ndTrack
 
MonitorElementdttf_phi_integ
 
MonitorElementdttf_phi_integ_2ndTrack
 
MonitorElementdttf_phi_wheel [6]
 
MonitorElementdttf_pt_integ
 
MonitorElementdttf_pt_integ_2ndTrack
 
MonitorElementdttf_pt_wheel [6]
 
MonitorElementdttf_q_integ
 
MonitorElementdttf_q_integ_2ndTrack
 
MonitorElementdttf_q_wheel [6]
 
MonitorElementdttf_quality_integ
 
MonitorElementdttf_quality_integ_2ndTrack
 
MonitorElementdttf_quality_summary
 
MonitorElementdttf_quality_summary_2ndTrack
 
MonitorElementdttf_quality_summary_wheel [6]
 
MonitorElementdttf_quality_wheel [6]
 
edm::InputTag dttfSource_
 
std::string gmtpath_
 
std::string inclusivepath_
 
std::string l1tdttffolder_
 
TH2F * occupancy_r_
 counter More...
 
bool online_
 
int resetafterlumi_
 
std::string testpath_
 
bool verbose_
 
std::string wheel_ [6]
 
std::string wheelpath_ [6]
 

Additional Inherited Members

- Public Types inherited from edm::one::EDAnalyzerBase
typedef EDAnalyzerBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::one::EDAnalyzerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Detailed Description

Definition at line 21 of file L1TDTTFClient.h.

Constructor & Destructor Documentation

L1TDTTFClient::L1TDTTFClient ( const edm::ParameterSet ps)

Constructor.

base services

Definition at line 19 of file L1TDTTFClient.cc.

L1TDTTFClient::~L1TDTTFClient ( )
virtual

Destructor.

Definition at line 31 of file L1TDTTFClient.cc.

Member Function Documentation

void L1TDTTFClient::book ( DQMStore::IBooker ibooker)
protected

occupancy summary

SUMMARY

DTTF Tracks per Wheel ditribution

DTTF Tracks distribution by Sector and Wheel

RESET 04

DTTF Tracks BX Distribution by Wheel

Fraction of DTTF Tracks BX w.r.t. Tracks with BX=0

DTTF Tracks Quality distribution

DTTF Tracks Quality distribution by Wheel

Fraction of DTTF Tracks with Quality>4 by Sector and Wheel

eta-phi Distribution of DTTF Tracks with coarse eta assignment

eta-phi Distribution of DTTF Tracks with fine eta assignment

eta-phi Distribution of DTTF Tracks

Fraction of DTTF Tracks with Fine eta Assignment

DTTF Tracks eta distribution (Packed values)

DTTF Tracks Phi distribution (Packed values)

DTTF Tracks p_{T} distribution (Packed values)

DTTF Tracks Charge distribution

DTTF 2nd Tracks Only Distribution by Sector and Wheel w.r.t. the total Number of tracks

GMT matching

TEST directory for stats comparisons

DTTF 2nd Tracks per Wheel distribution

DTTF 2nd Tracks distribution by Sector and Wheel

DTTF 2nd Tracks BX Distribution by Wheel

Fraction of DTTF Tracks BX w.r.t. Tracks with BX=0

Quality

DTTF 2nd Tracks Tracks Quality distribution by Wheel

Fraction of DTTF 2nd Tracks with Quality>4 by Sector and Wheel

eta-phi Distribution of DTTF 2nd Tracks

eta Distribution of DTTF 2nd Tracks

phi Distribution of DTTF 2nd Tracks

pt Distribution of DTTF 2nd Tracks

charge Distribution of DTTF 2nd Tracks

number of tracks per wheel

Tracks BX distribution by Sector for each wheel

bx for each wheel

quality per wheel

quality per wheel 2D

eta assigment for each wheel

DTTF Tracks eta distribution (Packed values)

DTTF Tracks Phi distribution (Packed values)

DTTF Tracks p_{T} distribution (Packed values)

DTTF Tracks Charge distribution

number of 2nd tracks per wheel

bx for each wheel

bx for each wheel

Definition at line 37 of file L1TDTTFClient.cc.

void L1TDTTFClient::buildHighQualityPlot ( DQMStore::IGetter igetter,
TH2F *  occupancySummary,
MonitorElement highQual_Summary,
const std::string &  path 
)
private

high quality TOBE IMPROVED

Definition at line 1030 of file L1TDTTFClient.cc.

void L1TDTTFClient::buildPhiEtaPlotO ( DQMStore::IGetter igetter,
MonitorElement phi_eta_integ,
const std::string &  path,
int  wh 
)
private

Definition at line 1151 of file L1TDTTFClient.cc.

void L1TDTTFClient::buildPhiEtaPlotOFC ( DQMStore::IGetter igetter,
MonitorElement phi_eta_fine_integ,
MonitorElement phi_eta_coarse_integ,
MonitorElement phi_eta_integ,
const std::string &  path_fine,
const std::string &  path_coarse,
int  wh 
)
private

Definition at line 1065 of file L1TDTTFClient.cc.

void L1TDTTFClient::buildSummaries ( DQMStore::IGetter igetter)
private

needed for bx_integ

needed for bx_summary 2nd

needed for bx_integ

needed for bx_summary 2nd

needed for by wheel qualities

reset histograms

????

needed for fine fraction

needed for fine fraction

for quality

PHI vs Eta

Loop over sectors

Charge by sector

PT by sector

Phi by sector

Quality by sector

needed for high quality plot

needed for high quality plot (denominator)

eta fine by sector

eta fine fraction by sector

still eta: fraction by wheel

integ summary

still bx: wheel summary & inclusive

by wheel quality: integ summary

by wheel rescaling bx by wheel and number of tracks distribution

by wheel rescaling bx distributions

MORE ON 2ND TRACKS

eta by sector

Phi by wheel 2nd Tracks

PT by wheel 2nd Tracks

Charge by wheel 2nd Tracks

Quality by wheel 2nd Tracks

still bx: scaling integrals

rescaling bx distributions

Definition at line 530 of file L1TDTTFClient.cc.

void L1TDTTFClient::dqmEndJob ( DQMStore::IBooker ibooker,
DQMStore::IGetter igetter 
)
overrideprotectedvirtual

Implements DQMEDHarvester.

Definition at line 407 of file L1TDTTFClient.cc.

void L1TDTTFClient::dqmEndLuminosityBlock ( DQMStore::IBooker ibooker,
DQMStore::IGetter igetter,
edm::LuminosityBlock const &  lumiSeg,
edm::EventSetup const &  c 
)
protectedvirtual

Processing by Luminosity Block

Reimplemented from DQMEDHarvester.

Definition at line 416 of file L1TDTTFClient.cc.

TH1F * L1TDTTFClient::getTH1F ( DQMStore::IGetter igetter,
const char *  hname 
)
private

Definition at line 996 of file L1TDTTFClient.cc.

TH2F * L1TDTTFClient::getTH2F ( DQMStore::IGetter igetter,
const char *  hname 
)
private

Definition at line 1012 of file L1TDTTFClient.cc.

void L1TDTTFClient::makeSummary ( DQMStore::IGetter igetter)
private

Build Summariy plots

RESCALE PLOTS

BX has simply all entries

Scale plots with all entries

Scale plots with only physical entries (no N0 duplicates)

RESCALE PLOTS FOR 2nd tracks

BX has simply all entries

buildHigh Quality Summary Plot

Scale plots with all entries

Scale plots with only physical entries (no N0 duplicates)

GMT

Definition at line 443 of file L1TDTTFClient.cc.

template<typename T >
void L1TDTTFClient::normalize ( T me)
inlineprivate

Definition at line 146 of file L1TDTTFClient.h.

References pileupReCalc_HLTpaths::scale.

Referenced by normalize().

147  {
148  double scale = me->Integral();
149  if ( scale > 0 ) {
150  normalize( me, 1./scale, scale );
151  }
152  }
void normalize(T *me)
template<typename T >
void L1TDTTFClient::normalize ( T me,
const double &  scale 
)
inlineprivate

Definition at line 155 of file L1TDTTFClient.h.

References normalize().

156  {
157  normalize( me, scale, me->Integral() );
158  }
void normalize(T *me)
template<typename T >
void L1TDTTFClient::normalize ( T me,
const double &  scale,
const double &  entries 
)
inlineprivate

Definition at line 162 of file L1TDTTFClient.h.

163  {
164  me->SetEntries( entries );
165  me->Scale( scale );
166  }
void L1TDTTFClient::setGMTsummary ( DQMStore::IGetter igetter)
private

Definition at line 949 of file L1TDTTFClient.cc.

void L1TDTTFClient::setMapLabel ( MonitorElement me)
private
void L1TDTTFClient::setQualLabel ( MonitorElement me,
int  axis 
)
private

Definition at line 1293 of file L1TDTTFClient.cc.

void L1TDTTFClient::setWheelLabel ( MonitorElement me)
private

Definition at line 1279 of file L1TDTTFClient.cc.

Member Data Documentation

int L1TDTTFClient::counterLS_
private

Definition at line 46 of file L1TDTTFClient.h.

MonitorElement* L1TDTTFClient::dttf_2ndTrack_Summary
private

Definition at line 73 of file L1TDTTFClient.h.

MonitorElement* L1TDTTFClient::dttf_bx_integ
private

Definition at line 58 of file L1TDTTFClient.h.

MonitorElement* L1TDTTFClient::dttf_bx_integ_2ndTrack
private

Definition at line 80 of file L1TDTTFClient.h.

MonitorElement* L1TDTTFClient::dttf_bx_summary
private

Definition at line 57 of file L1TDTTFClient.h.

MonitorElement* L1TDTTFClient::dttf_bx_summary_2ndTrack
private

Definition at line 79 of file L1TDTTFClient.h.

MonitorElement* L1TDTTFClient::dttf_bx_wheel_integ[6]
private

Definition at line 92 of file L1TDTTFClient.h.

MonitorElement* L1TDTTFClient::dttf_bx_wheel_integ_2ndTrack[6]
private

Definition at line 103 of file L1TDTTFClient.h.

MonitorElement* L1TDTTFClient::dttf_bx_wheel_summary[6]
private

Definition at line 91 of file L1TDTTFClient.h.

MonitorElement* L1TDTTFClient::dttf_bx_wheel_summary_2ndTrack[6]
private

Definition at line 102 of file L1TDTTFClient.h.

MonitorElement* L1TDTTFClient::dttf_eta_fine_fraction
private

Definition at line 66 of file L1TDTTFClient.h.

MonitorElement* L1TDTTFClient::dttf_eta_fine_integ
private

Definition at line 59 of file L1TDTTFClient.h.

MonitorElement* L1TDTTFClient::dttf_eta_integ
private

Definition at line 69 of file L1TDTTFClient.h.

MonitorElement* L1TDTTFClient::dttf_eta_integ_2ndTrack
private

Definition at line 85 of file L1TDTTFClient.h.

MonitorElement* L1TDTTFClient::dttf_eta_wheel[6]
private

Definition at line 96 of file L1TDTTFClient.h.

MonitorElement* L1TDTTFClient::dttf_fine_fraction_wh[6]
private

Definition at line 95 of file L1TDTTFClient.h.

MonitorElement* L1TDTTFClient::dttf_gmt_matching
private

Definition at line 72 of file L1TDTTFClient.h.

MonitorElement* L1TDTTFClient::dttf_highQual_Summary
private

Definition at line 62 of file L1TDTTFClient.h.

MonitorElement* L1TDTTFClient::dttf_highQual_Summary_2ndTrack
private

Definition at line 83 of file L1TDTTFClient.h.

MonitorElement* L1TDTTFClient::dttf_nTracks_integ
private

Definition at line 55 of file L1TDTTFClient.h.

MonitorElement* L1TDTTFClient::dttf_nTracks_integ_2ndTrack
private

Definition at line 77 of file L1TDTTFClient.h.

MonitorElement* L1TDTTFClient::dttf_nTracks_wheel[6]
private

Definition at line 90 of file L1TDTTFClient.h.

MonitorElement* L1TDTTFClient::dttf_nTracks_wheel_2ndTrack[6]
private

Definition at line 101 of file L1TDTTFClient.h.

MonitorElement* L1TDTTFClient::dttf_occupancySummary
private

Definition at line 56 of file L1TDTTFClient.h.

MonitorElement* L1TDTTFClient::dttf_occupancySummary_2ndTrack
private

Definition at line 78 of file L1TDTTFClient.h.

MonitorElement* L1TDTTFClient::dttf_occupancySummary_test
private

Definition at line 75 of file L1TDTTFClient.h.

MonitorElement* L1TDTTFClient::dttf_phi_eta_coarse_integ
private

Definition at line 63 of file L1TDTTFClient.h.

MonitorElement* L1TDTTFClient::dttf_phi_eta_fine_integ
private

Definition at line 64 of file L1TDTTFClient.h.

MonitorElement* L1TDTTFClient::dttf_phi_eta_integ
private

Definition at line 65 of file L1TDTTFClient.h.

MonitorElement* L1TDTTFClient::dttf_phi_eta_integ_2ndTrack
private

Definition at line 84 of file L1TDTTFClient.h.

MonitorElement* L1TDTTFClient::dttf_phi_integ
private

Definition at line 67 of file L1TDTTFClient.h.

MonitorElement* L1TDTTFClient::dttf_phi_integ_2ndTrack
private

Definition at line 86 of file L1TDTTFClient.h.

MonitorElement* L1TDTTFClient::dttf_phi_wheel[6]
private

Definition at line 97 of file L1TDTTFClient.h.

MonitorElement* L1TDTTFClient::dttf_pt_integ
private

Definition at line 68 of file L1TDTTFClient.h.

MonitorElement* L1TDTTFClient::dttf_pt_integ_2ndTrack
private

Definition at line 87 of file L1TDTTFClient.h.

MonitorElement* L1TDTTFClient::dttf_pt_wheel[6]
private

Definition at line 98 of file L1TDTTFClient.h.

MonitorElement* L1TDTTFClient::dttf_q_integ
private

Definition at line 70 of file L1TDTTFClient.h.

MonitorElement* L1TDTTFClient::dttf_q_integ_2ndTrack
private

Definition at line 88 of file L1TDTTFClient.h.

MonitorElement* L1TDTTFClient::dttf_q_wheel[6]
private

Definition at line 99 of file L1TDTTFClient.h.

MonitorElement* L1TDTTFClient::dttf_quality_integ
private

Definition at line 60 of file L1TDTTFClient.h.

MonitorElement* L1TDTTFClient::dttf_quality_integ_2ndTrack
private

Definition at line 81 of file L1TDTTFClient.h.

MonitorElement* L1TDTTFClient::dttf_quality_summary
private

Definition at line 61 of file L1TDTTFClient.h.

MonitorElement* L1TDTTFClient::dttf_quality_summary_2ndTrack
private

Definition at line 82 of file L1TDTTFClient.h.

MonitorElement* L1TDTTFClient::dttf_quality_summary_wheel[6]
private

Definition at line 94 of file L1TDTTFClient.h.

MonitorElement* L1TDTTFClient::dttf_quality_wheel[6]
private

Definition at line 93 of file L1TDTTFClient.h.

edm::InputTag L1TDTTFClient::dttfSource_
private

Definition at line 42 of file L1TDTTFClient.h.

std::string L1TDTTFClient::gmtpath_
private

Definition at line 52 of file L1TDTTFClient.h.

std::string L1TDTTFClient::inclusivepath_
private

Definition at line 51 of file L1TDTTFClient.h.

std::string L1TDTTFClient::l1tdttffolder_
private

Definition at line 41 of file L1TDTTFClient.h.

TH2F* L1TDTTFClient::occupancy_r_
private

counter

Definition at line 47 of file L1TDTTFClient.h.

bool L1TDTTFClient::online_
private

Definition at line 43 of file L1TDTTFClient.h.

int L1TDTTFClient::resetafterlumi_
private

Definition at line 45 of file L1TDTTFClient.h.

std::string L1TDTTFClient::testpath_
private

Definition at line 53 of file L1TDTTFClient.h.

bool L1TDTTFClient::verbose_
private

Definition at line 44 of file L1TDTTFClient.h.

std::string L1TDTTFClient::wheel_[6]
private

Definition at line 49 of file L1TDTTFClient.h.

std::string L1TDTTFClient::wheelpath_[6]
private

Definition at line 50 of file L1TDTTFClient.h.