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 Attributes | Friends
DTLocalTriggerTask Class Reference

#include <DTLocalTriggerTask.h>

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

Public Member Functions

 DTLocalTriggerTask (const edm::ParameterSet &ps)
 Constructor. More...
 
virtual ~DTLocalTriggerTask ()
 Destructor. More...
 
- 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 ()
 

Protected Member Functions

void analyze (const edm::Event &e, const edm::EventSetup &c)
 Analyze. More...
 
void beginLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context)
 To reset the MEs. More...
 
void bookBarrelHistos (DQMStore::IBooker &, std::string histoTag)
 Book the histograms. More...
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 Book the histograms. More...
 
void bookHistos (DQMStore::IBooker &, const DTChamberId &dtCh, std::string folder, std::string histoTag)
 
void bookWheelHistos (DQMStore::IBooker &, int wh, std::string histoTag)
 Book the histograms. More...
 
void dqmBeginRun (const edm::Run &, const edm::EventSetup &)
 Beginrun. More...
 
void runDDUAnalysis (edm::Handle< DTLocalTriggerCollection > &trigsDDU)
 Run analysis on ROS data. More...
 
void runDDUvsTMAnalysis (std::string &trigsrc)
 Run analysis on ROS data. More...
 
void runSegmentAnalysis (edm::Handle< DTRecSegment4DCollection > &segments4D)
 Run analysis using DT 4D segments. More...
 
void runTMAnalysis (std::vector< L1MuDTChambPhDigi > const *phTrigs, std::vector< L1MuDTChambThDigi > const *thTrigs)
 Run analysis on TM data. More...
 
void setQLabels (MonitorElement *me, short int iaxis)
 Set Quality labels. More...
 
void setQLabelsTheta (MonitorElement *me, short int iaxis)
 
std::string & topFolder (bool isTM)
 Get the Top folder (different between Physics and TP and TM/DDU) More...
 
void triggerSource (const edm::Event &e)
 Get the L1A source. More...
 
- 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 Attributes

std::string baseFolderDDU
 
std::string baseFolderTM
 
int dduphcode_best [6][5][13]
 
int dduthcode_best [6][5][13]
 
bool detailedAnalysis
 
std::map< uint32_t, std::map
< std::string, MonitorElement * > > 
digiHistos
 
bool doTMTheta
 
const L1MuDTChambPhDigiiphbest [6][5][13]
 
const DTLocalTriggeriphbestddu [6][5][13]
 
bool isLocalRun
 
const L1MuDTChambThDigiithbest [6][5][13]
 
edm::EDGetTokenT
< LTCDigiCollection
ltcDigiCollectionToken_
 
int mapDTTF [6][13][2]
 
edm::ESHandle< DTGeometrymuonGeom
 
int nevents
 
edm::ParameterSet parameters
 
int phcode_best [6][5][13]
 
edm::EDGetTokenT
< DTLocalTriggerCollection
ros_Token_
 
edm::EDGetTokenT
< DTRecSegment4DCollection
seg_Token_
 
int thcode_best [6][5][13]
 
MonitorElementtm_IDDataErrorPlot
 
edm::EDGetTokenT
< L1MuDTChambPhContainer
tm_Token_
 
edm::InputTag tmTh_label_
 
edm::EDGetTokenT
< L1MuDTChambThContainer
tmTh_Token_
 
bool tpMode
 
bool track_ok [6][5][15]
 
DTTrigGeomUtilstrigGeomUtils
 
std::string trigsrc
 
bool useDDU
 
bool useSEG
 
bool useTM
 
std::map< int, std::map
< std::string, MonitorElement * > > 
wheelHistos
 

Friends

class DTMonitorModule
 

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)
 

Detailed Description

Definition at line 48 of file DTLocalTriggerTask.h.

Constructor & Destructor Documentation

DTLocalTriggerTask::DTLocalTriggerTask ( const edm::ParameterSet ps)

Constructor.

Definition at line 35 of file DTLocalTriggerTask.cc.

DTLocalTriggerTask::~DTLocalTriggerTask ( )
virtual

Destructor.

Definition at line 75 of file DTLocalTriggerTask.cc.

Member Function Documentation

void DTLocalTriggerTask::analyze ( const edm::Event e,
const edm::EventSetup c 
)
protectedvirtual

Analyze.

Implements edm::stream::EDAnalyzerBase.

Definition at line 249 of file DTLocalTriggerTask.cc.

void DTLocalTriggerTask::beginLuminosityBlock ( const edm::LuminosityBlock lumiSeg,
const edm::EventSetup context 
)
protectedvirtual

To reset the MEs.

Reimplemented from edm::stream::EDAnalyzerBase.

Definition at line 231 of file DTLocalTriggerTask.cc.

void DTLocalTriggerTask::bookBarrelHistos ( DQMStore::IBooker ,
std::string  histoTag 
)
protected

Book the histograms.

Definition at line 306 of file DTLocalTriggerTask.cc.

void DTLocalTriggerTask::bookHistograms ( DQMStore::IBooker ibooker,
edm::Run const &  iRun,
edm::EventSetup const &  context 
)
overrideprotectedvirtual

Book the histograms.

Implements DQMEDAnalyzer.

Definition at line 90 of file DTLocalTriggerTask.cc.

void DTLocalTriggerTask::bookHistos ( DQMStore::IBooker ,
const DTChamberId dtCh,
std::string  folder,
std::string  histoTag 
)
protected

Definition at line 319 of file DTLocalTriggerTask.cc.

void DTLocalTriggerTask::bookWheelHistos ( DQMStore::IBooker ,
int  wh,
std::string  histoTag 
)
protected

Book the histograms.

Definition at line 483 of file DTLocalTriggerTask.cc.

void DTLocalTriggerTask::dqmBeginRun ( const edm::Run run,
const edm::EventSetup context 
)
protectedvirtual

Beginrun.

Reimplemented from DQMEDAnalyzer.

Definition at line 82 of file DTLocalTriggerTask.cc.

void DTLocalTriggerTask::runDDUAnalysis ( edm::Handle< DTLocalTriggerCollection > &  trigsDDU)
protected

Run analysis on ROS data.

Definition at line 632 of file DTLocalTriggerTask.cc.

void DTLocalTriggerTask::runDDUvsTMAnalysis ( std::string &  trigsrc)
protected

Run analysis on ROS data.

Definition at line 890 of file DTLocalTriggerTask.cc.

void DTLocalTriggerTask::runSegmentAnalysis ( edm::Handle< DTRecSegment4DCollection > &  segments4D)
protected

Run analysis using DT 4D segments.

Definition at line 708 of file DTLocalTriggerTask.cc.

void DTLocalTriggerTask::runTMAnalysis ( std::vector< L1MuDTChambPhDigi > const *  phTrigs,
std::vector< L1MuDTChambThDigi > const *  thTrigs 
)
protected

Run analysis on TM data.

Definition at line 507 of file DTLocalTriggerTask.cc.

void DTLocalTriggerTask::setQLabels ( MonitorElement me,
short int  iaxis 
)
protected

Set Quality labels.

Definition at line 918 of file DTLocalTriggerTask.cc.

void DTLocalTriggerTask::setQLabelsTheta ( MonitorElement me,
short int  iaxis 
)
protected

Definition at line 940 of file DTLocalTriggerTask.cc.

std::string& DTLocalTriggerTask::topFolder ( bool  isTM)
inlineprotected

Get the Top folder (different between Physics and TP and TM/DDU)

Definition at line 102 of file DTLocalTriggerTask.h.

References baseFolderDDU, and baseFolderTM.

102 { return isTM ? baseFolderTM : baseFolderDDU; }
void DTLocalTriggerTask::triggerSource ( const edm::Event e)
protected

Get the L1A source.

Definition at line 964 of file DTLocalTriggerTask.cc.

Friends And Related Function Documentation

friend class DTMonitorModule
friend

Definition at line 50 of file DTLocalTriggerTask.h.

Member Data Documentation

std::string DTLocalTriggerTask::baseFolderDDU
private

Definition at line 119 of file DTLocalTriggerTask.h.

Referenced by topFolder().

std::string DTLocalTriggerTask::baseFolderTM
private

Definition at line 118 of file DTLocalTriggerTask.h.

Referenced by topFolder().

int DTLocalTriggerTask::dduphcode_best[6][5][13]
private

Definition at line 125 of file DTLocalTriggerTask.h.

int DTLocalTriggerTask::dduthcode_best[6][5][13]
private

Definition at line 127 of file DTLocalTriggerTask.h.

bool DTLocalTriggerTask::detailedAnalysis
private

Definition at line 121 of file DTLocalTriggerTask.h.

std::map<uint32_t, std::map<std::string, MonitorElement*> > DTLocalTriggerTask::digiHistos
private

Definition at line 137 of file DTLocalTriggerTask.h.

bool DTLocalTriggerTask::doTMTheta
private

Definition at line 120 of file DTLocalTriggerTask.h.

const L1MuDTChambPhDigi* DTLocalTriggerTask::iphbest[6][5][13]
private

Definition at line 129 of file DTLocalTriggerTask.h.

const DTLocalTrigger* DTLocalTriggerTask::iphbestddu[6][5][13]
private

Definition at line 130 of file DTLocalTriggerTask.h.

bool DTLocalTriggerTask::isLocalRun
private

Definition at line 142 of file DTLocalTriggerTask.h.

const L1MuDTChambThDigi* DTLocalTriggerTask::ithbest[6][5][13]
private

Definition at line 131 of file DTLocalTriggerTask.h.

edm::EDGetTokenT<LTCDigiCollection> DTLocalTriggerTask::ltcDigiCollectionToken_
private

Definition at line 112 of file DTLocalTriggerTask.h.

int DTLocalTriggerTask::mapDTTF[6][13][2]
private

Definition at line 128 of file DTLocalTriggerTask.h.

edm::ESHandle<DTGeometry> DTLocalTriggerTask::muonGeom
private

Definition at line 135 of file DTLocalTriggerTask.h.

int DTLocalTriggerTask::nevents
private

Definition at line 116 of file DTLocalTriggerTask.h.

edm::ParameterSet DTLocalTriggerTask::parameters
private

Definition at line 134 of file DTLocalTriggerTask.h.

int DTLocalTriggerTask::phcode_best[6][5][13]
private

Definition at line 124 of file DTLocalTriggerTask.h.

edm::EDGetTokenT<DTLocalTriggerCollection> DTLocalTriggerTask::ros_Token_
private

Definition at line 110 of file DTLocalTriggerTask.h.

edm::EDGetTokenT<DTRecSegment4DCollection> DTLocalTriggerTask::seg_Token_
private

Definition at line 111 of file DTLocalTriggerTask.h.

int DTLocalTriggerTask::thcode_best[6][5][13]
private

Definition at line 126 of file DTLocalTriggerTask.h.

MonitorElement* DTLocalTriggerTask::tm_IDDataErrorPlot
private

Definition at line 140 of file DTLocalTriggerTask.h.

edm::EDGetTokenT<L1MuDTChambPhContainer> DTLocalTriggerTask::tm_Token_
private

Definition at line 108 of file DTLocalTriggerTask.h.

edm::InputTag DTLocalTriggerTask::tmTh_label_
private

Definition at line 106 of file DTLocalTriggerTask.h.

edm::EDGetTokenT<L1MuDTChambThContainer> DTLocalTriggerTask::tmTh_Token_
private

Definition at line 109 of file DTLocalTriggerTask.h.

bool DTLocalTriggerTask::tpMode
private

Definition at line 117 of file DTLocalTriggerTask.h.

bool DTLocalTriggerTask::track_ok[6][5][15]
private

Definition at line 132 of file DTLocalTriggerTask.h.

DTTrigGeomUtils* DTLocalTriggerTask::trigGeomUtils
private

Definition at line 136 of file DTLocalTriggerTask.h.

std::string DTLocalTriggerTask::trigsrc
private

Definition at line 115 of file DTLocalTriggerTask.h.

bool DTLocalTriggerTask::useDDU
private

Definition at line 114 of file DTLocalTriggerTask.h.

bool DTLocalTriggerTask::useSEG
private

Definition at line 114 of file DTLocalTriggerTask.h.

bool DTLocalTriggerTask::useTM
private

Definition at line 114 of file DTLocalTriggerTask.h.

std::map<int, std::map<std::string, MonitorElement*> > DTLocalTriggerTask::wheelHistos
private

Definition at line 138 of file DTLocalTriggerTask.h.