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

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
 EDAnalyzer ()
 
std::string workerType () const
 
virtual ~EDAnalyzer ()
 

Private Attributes

DQMStoredbe
 Analyze. More...
 
MonitorElementglbSummaryHisto
 
MonitorElementsummaryHisto
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
typedef WorkerT< EDAnalyzerWorkerType
 
- 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::EDAnalyzer
CurrentProcessingContext const * currentContext () const
 

Detailed Description

Definition at line 25 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:1468
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 45 of file DT2DSegmentClients.h.

MonitorElement* DT2DSegmentClients::glbSummaryHisto
private

Definition at line 48 of file DT2DSegmentClients.h.

MonitorElement* DT2DSegmentClients::summaryHisto
private

Definition at line 47 of file DT2DSegmentClients.h.