CMS 3D CMS Logo

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

#include <DT2DSegmentClients.h>

Inheritance diagram for DT2DSegmentClients:
edm::EDAnalyzer edm::EDConsumerBase

Public Member Functions

void analyze (const edm::Event &e, const edm::EventSetup &c)
 
 DT2DSegmentClients (const edm::ParameterSet &ps)
 Constructor. More...
 
void endJob ()
 
void endLuminosityBlock (edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &c)
 
virtual ~DT2DSegmentClients ()
 Destructor. More...
 
- Public Member Functions inherited from edm::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzer ()
 
ModuleDescription const & moduleDescription () const
 
std::string workerType () const
 
virtual ~EDAnalyzer ()
 
- Public Member Functions inherited from edm::EDConsumerBase
 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
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

Private Attributes

DQMStoredbe
 Analyze. More...
 
MonitorElementglbSummaryHisto
 
MonitorElementsummaryHisto
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 
- 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 23 of file DT2DSegmentClients.h.

Constructor & Destructor Documentation

DT2DSegmentClients::DT2DSegmentClients ( const edm::ParameterSet ps)

Constructor.

Definition at line 18 of file DT2DSegmentClients.cc.

18  {
19 }
DT2DSegmentClients::~DT2DSegmentClients ( )
virtual

Destructor.

Definition at line 20 of file DT2DSegmentClients.cc.

20  {
21 }

Member Function Documentation

void DT2DSegmentClients::analyze ( const edm::Event e,
const edm::EventSetup c 
)
virtual

Implements edm::EDAnalyzer.

Definition at line 40 of file DT2DSegmentClients.cc.

40  {
41 }
void DT2DSegmentClients::endJob ( void  )
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 22 of file DT2DSegmentClients.cc.

22 {}
void DT2DSegmentClients::endLuminosityBlock ( edm::LuminosityBlock const &  lumiSeg,
edm::EventSetup const &  c 
)
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 24 of file DT2DSegmentClients.cc.

References printConversionInfo::aux, Tutils::drawGFit(), MonitorElement::getTH1(), and cppFunctionSkipper::operator.

25  {
27  //dbe->setCurrentFolder("/DT/2DSegments/");
28  Tutils * aux = new Tutils;
29  MonitorElement * hResPos = dbe->get("DT/2DSegments/Res/2D_SuperPhi_hResPos");
30  MonitorElement * hResAngle = dbe->get("DT/2DSegments/Res/2D_SuperPhi_hResAngle");
31  MonitorElement * hPullPos = dbe->get("DT/2DSegments/Pull/2D_SuperPhi_hPullPos");
32  MonitorElement * hPullAngle = dbe->get("DT/2DSegments/Pull/2D_SuperPhi_hPullAngle");
33  aux->drawGFit(hResPos->getTH1(),-0.1,0.1,-0.1,0.1);
34  aux->drawGFit(hResAngle->getTH1(),-0.1,0.1,-0.1,0.1);
35  aux->drawGFit(hPullPos->getTH1(),-5,5,-5,5);
36  aux->drawGFit(hPullAngle->getTH1(),-5,5,-5,5);
37 
38 }
DQMStore * dbe
Analyze.
TH1 * getTH1(void) const
MonitorElement * get(const std::string &path) const
get ME from full pathname (e.g. &quot;my/long/dir/my_histo&quot;)
Definition: DQMStore.cc:1623
void drawGFit(TH1 *h1, float nsigmas, float min, float max)
Definition: utils.h:9

Member Data Documentation

DQMStore* DT2DSegmentClients::dbe
private

Analyze.

Definition at line 43 of file DT2DSegmentClients.h.

MonitorElement* DT2DSegmentClients::glbSummaryHisto
private

Definition at line 46 of file DT2DSegmentClients.h.

MonitorElement* DT2DSegmentClients::summaryHisto
private

Definition at line 45 of file DT2DSegmentClients.h.