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
DTRecHitClients Class Reference

#include <DTRecHitClients.h>

Inheritance diagram for DTRecHitClients:
edm::EDAnalyzer

Public Member Functions

void analyze (const edm::Event &e, const edm::EventSetup &c)
 Analyze. More...
 
 DTRecHitClients (const edm::ParameterSet &ps)
 Constructor. More...
 
void endJob ()
 
void endLuminosityBlock (edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &c)
 
virtual ~DTRecHitClients ()
 Destructor. More...
 
- Public Member Functions inherited from edm::EDAnalyzer
 EDAnalyzer ()
 
std::string workerType () const
 
virtual ~EDAnalyzer ()
 

Private Attributes

DQMStoredbe
 

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 DTRecHitClients.h.

Constructor & Destructor Documentation

DTRecHitClients::DTRecHitClients ( const edm::ParameterSet ps)

Constructor.

Definition at line 18 of file DTRecHitClients.cc.

References cppFunctionSkipper::operator.

DTRecHitClients::~DTRecHitClients ( )
virtual

Destructor.

Definition at line 21 of file DTRecHitClients.cc.

21  {
22 }

Member Function Documentation

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

Analyze.

Implements edm::EDAnalyzer.

Definition at line 56 of file DTRecHitClients.cc.

56  {
57 
58 
59 }
void DTRecHitClients::endJob ( void  )
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 53 of file DTRecHitClients.cc.

53  {
54 }
void DTRecHitClients::endLuminosityBlock ( edm::LuminosityBlock const &  lumiSeg,
edm::EventSetup const &  c 
)
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 23 of file DTRecHitClients.cc.

References Tutils::drawGFit(), and MonitorElement::getTH1().

24  {
25  Tutils * util = new Tutils;
26  MonitorElement * hRes_S3RPhi = dbe->get("DT/1DRecHits/Res/1D_S3RPhi_hRes");
27  MonitorElement * hRes_S3RZ = dbe->get("DT/1DRecHits/Res/1D_S3RZ_hRes");
28  MonitorElement * hRes_S3RZ_W0 = dbe->get("DT/1DRecHits/Res/1D_S3RZ_W0_hRes");
29  MonitorElement * hRes_S3RZ_W1 = dbe->get("DT/1DRecHits/Res/1D_S3RZ_W1_hRes");
30  MonitorElement * hRes_S3RZ_W2 = dbe->get("DT/1DRecHits/Res/1D_S3RZ_W2_hRes");
31 
32  MonitorElement * hPull_S3RPhi = dbe->get("DT/1DRecHits/Pull/1D_S3RPhi_hPull");
33  MonitorElement * hPull_S3RZ = dbe->get("DT/1DRecHits/Pull/1D_S3RZ_hPull");
34  MonitorElement * hPull_S3RZ_W0 = dbe->get("DT/1DRecHits/Pull/1D_S3RZ_W0_hPull");
35  MonitorElement * hPull_S3RZ_W1 = dbe->get("DT/1DRecHits/Pull/1D_S3RZ_W1_hPull");
36  MonitorElement * hPull_S3RZ_W2 = dbe->get("DT/1DRecHits/Pull/1D_S3RZ_W2_hPull");
37 
38 
39  util->drawGFit(hRes_S3RPhi->getTH1(),-0.2,0.2,-0.1,0.1);
40  util->drawGFit(hRes_S3RZ->getTH1(),-0.2,0.2,-0.1,0.1);
41  util->drawGFit(hRes_S3RZ_W0->getTH1(),-0.2,0.2,-0.1,0.1);
42  util->drawGFit(hRes_S3RZ_W1->getTH1(),-0.2,0.2,-0.1,0.1);
43  util->drawGFit(hRes_S3RZ_W2->getTH1(),-0.2,0.2,-0.1,0.1);
44 
45  util->drawGFit(hPull_S3RPhi->getTH1(),-5,5,-5,5);
46  util->drawGFit(hPull_S3RZ->getTH1(),-5,5,-5,5);
47  util->drawGFit(hPull_S3RZ_W0->getTH1(),-5,5,-5,5);
48  util->drawGFit(hPull_S3RZ_W1->getTH1(),-5,5,-5,5);
49  util->drawGFit(hPull_S3RZ_W2->getTH1(),-5,5,-5,5);
50 
51 
52 }
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* DTRecHitClients::dbe
private

Definition at line 46 of file DTRecHitClients.h.