CMS 3D CMS Logo

Public Member Functions | Protected Member Functions | Private Attributes

DT4DSegmentClients Class Reference

#include <DT4DSegmentClients.h>

Inheritance diagram for DT4DSegmentClients:
edm::EDAnalyzer

List of all members.

Public Member Functions

 DT4DSegmentClients (const edm::ParameterSet &ps)
 Constructor.
void endLuminosityBlock (edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &c)
 ~DT4DSegmentClients ()
 Destructor.

Protected Member Functions

void analyze (const edm::Event &e, const edm::EventSetup &c)
 Analyze.

Private Attributes

DQMStoredbe

Detailed Description

Definition at line 25 of file DT4DSegmentClients.h.


Constructor & Destructor Documentation

DT4DSegmentClients::DT4DSegmentClients ( const edm::ParameterSet ps)

Constructor.

Definition at line 23 of file DT4DSegmentClients.cc.

                                                               {
}
DT4DSegmentClients::~DT4DSegmentClients ( )

Destructor.

Definition at line 25 of file DT4DSegmentClients.cc.

                                       {
}

Member Function Documentation

void DT4DSegmentClients::analyze ( const edm::Event e,
const edm::EventSetup c 
) [protected, virtual]

Analyze.

Implements edm::EDAnalyzer.

Definition at line 146 of file DT4DSegmentClients.cc.

                                                                         {

}
void DT4DSegmentClients::endLuminosityBlock ( edm::LuminosityBlock const &  lumiSeg,
edm::EventSetup const &  c 
) [virtual]

Reimplemented from edm::EDAnalyzer.

Definition at line 27 of file DT4DSegmentClients.cc.

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

                         {
  dbe = Service<DQMStore>().operator->();
  //dbe->setCurrentFolder("DQMData/Run 1/DT/Run summary/4DSegments/");
  
  MonitorElement * hResAlpha = dbe->get("DT/4DSegments/Res/4D_All_hResAlpha");
  MonitorElement * hResBeta = dbe->get("DT/4DSegments/Res/4D_All_hResBeta");
  MonitorElement * hResX = dbe->get("DT/4DSegments/Res/4D_All_hResX");
  MonitorElement * hResY = dbe->get("DT/4DSegments/Res/4D_All_hResY");
  MonitorElement * hResBetaRZ = dbe->get("DT/4DSegments/Res/4D_All_hResBetaRZ");
  MonitorElement * hResYRZ = dbe->get("DT/4DSegments/Res/4D_All_hResYRZ");

  MonitorElement * hResAlpha_W0 = dbe->get("DT/4DSegments/Res/4D_W0_hResAlpha");
  MonitorElement * hResBeta_W0 = dbe->get("DT/4DSegments/Res/4D_W0_hResBeta");
  MonitorElement * hResX_W0 = dbe->get("DT/4DSegments/Res/4D_W0_hResX");
  MonitorElement * hResY_W0 = dbe->get("DT/4DSegments/Res/4D_W0_hResY");
  MonitorElement * hResBetaRZ_W0 = dbe->get("DT/4DSegments/Res/4D_W0_hResBetaRZ");
  MonitorElement * hResYRZ_W0 = dbe->get("DT/4DSegments/Res/4D_W0_hResYRZ");

  MonitorElement * hResAlpha_W1 = dbe->get("DT/4DSegments/Res/4D_W1_hResAlpha");
  MonitorElement * hResBeta_W1 = dbe->get("DT/4DSegments/Res/4D_W1_hResBeta");
  MonitorElement * hResX_W1 = dbe->get("DT/4DSegments/Res/4D_W1_hResX");
  MonitorElement * hResY_W1 = dbe->get("DT/4DSegments/Res/4D_W1_hResY");
  MonitorElement * hResBetaRZ_W1 = dbe->get("DT/4DSegments/Res/4D_W1_hResBetaRZ");
  MonitorElement * hResYRZ_W1 = dbe->get("DT/4DSegments/Res/4D_W1_hResYRZ");

  MonitorElement * hResAlpha_W2 = dbe->get("DT/4DSegments/Res/4D_W2_hResAlpha");
  MonitorElement * hResBeta_W2 = dbe->get("DT/4DSegments/Res/4D_W2_hResBeta");
  MonitorElement * hResX_W2 = dbe->get("DT/4DSegments/Res/4D_W2_hResX");
  MonitorElement * hResY_W2 = dbe->get("DT/4DSegments/Res/4D_W2_hResY");
  MonitorElement * hResBetaRZ_W2 = dbe->get("DT/4DSegments/Res/4D_W2_hResBetaRZ");
  MonitorElement * hResYRZ_W2 = dbe->get("DT/4DSegments/Res/4D_W2_hResYRZ");

  MonitorElement * hPullAlpha = dbe->get("DT/4DSegments/Pull/4D_All_hPullAlpha");
  MonitorElement * hPullBeta = dbe->get("DT/4DSegments/Pull/4D_All_hPullBeta");
  MonitorElement * hPullX = dbe->get("DT/4DSegments/Pull/4D_All_hPullX");
  MonitorElement * hPullY = dbe->get("DT/4DSegments/Pull/4D_All_hPullY");
  MonitorElement * hPullBetaRZ = dbe->get("DT/4DSegments/Pull/4D_All_hPullBetaRZ");
  MonitorElement * hPullYRZ = dbe->get("DT/4DSegments/Pull/4D_All_hPullYRZ");

  MonitorElement * hPullAlpha_W0 = dbe->get("DT/4DSegments/Pull/4D_W0_hPullAlpha");
  MonitorElement * hPullBeta_W0 = dbe->get("DT/4DSegments/Pull/4D_W0_hPullBeta");
  MonitorElement * hPullX_W0 = dbe->get("DT/4DSegments/Pull/4D_W0_hPullX");
  MonitorElement * hPullY_W0 = dbe->get("DT/4DSegments/Pull/4D_W0_hPullY");
  MonitorElement * hPullBetaRZ_W0 = dbe->get("DT/4DSegments/Pull/4D_W0_hPullBetaRZ");
  MonitorElement * hPullYRZ_W0 = dbe->get("DT/4DSegments/Pull/4D_W0_hPullYRZ");

  MonitorElement * hPullAlpha_W1 = dbe->get("DT/4DSegments/Pull/4D_W1_hPullAlpha");
  MonitorElement * hPullBeta_W1 = dbe->get("DT/4DSegments/Pull/4D_W1_hPullBeta");
  MonitorElement * hPullX_W1 = dbe->get("DT/4DSegments/Pull/4D_W1_hPullX");
  MonitorElement * hPullY_W1 = dbe->get("DT/4DSegments/Pull/4D_W1_hPullY");
  MonitorElement * hPullBetaRZ_W1 = dbe->get("DT/4DSegments/Pull/4D_W1_hPullBetaRZ");
  MonitorElement * hPullYRZ_W1 = dbe->get("DT/4DSegments/Pull/4D_W1_hPullYRZ");

  MonitorElement * hPullAlpha_W2 = dbe->get("DT/4DSegments/Pull/4D_W2_hPullAlpha");
  MonitorElement * hPullBeta_W2 = dbe->get("DT/4DSegments/Pull/4D_W2_hPullBeta");
  MonitorElement * hPullX_W2 = dbe->get("DT/4DSegments/Pull/4D_W2_hPullX");
  MonitorElement * hPullY_W2 = dbe->get("DT/4DSegments/Pull/4D_W2_hPullY");
  MonitorElement * hPullBetaRZ_W2 = dbe->get("DT/4DSegments/Pull/4D_W2_hPullBetaRZ");
  MonitorElement * hPullYRZ_W2 = dbe->get("DT/4DSegments/Pull/4D_W2_hPullYRZ");
  
  Tutils * aux = new Tutils;
  aux->drawGFit(hResAlpha->getTH1(),-0.2,0.2,-0.1,0.1);
  aux->drawGFit(hResBeta->getTH1(),-0.2,0.2,-0.1,0.1);
  aux->drawGFit(hResX->getTH1(),-0.2,0.2,-0.1,0.1);
  aux->drawGFit(hResY->getTH1(),-0.2,0.2,-0.1,0.1);
  aux->drawGFit(hResBetaRZ->getTH1(),-0.2,0.2,-0.1,0.1);
  aux->drawGFit(hResYRZ->getTH1(),-0.2,0.2,-0.1,0.1);

  aux->drawGFit(hResAlpha_W0->getTH1(),-0.2,0.2,-0.1,0.1);
  aux->drawGFit(hResBeta_W0->getTH1(),-0.2,0.2,-0.1,0.1);
  aux->drawGFit(hResX_W0->getTH1(),-0.2,0.2,-0.1,0.1);
  aux->drawGFit(hResY_W0->getTH1(),-0.2,0.2,-0.1,0.1);
  aux->drawGFit(hResBetaRZ_W0->getTH1(),-0.2,0.2,-0.1,0.1);
  aux->drawGFit(hResYRZ_W0->getTH1(),-0.2,0.2,-0.1,0.1);

  aux->drawGFit(hResAlpha_W1->getTH1(),-0.2,0.2,-0.1,0.1);
  aux->drawGFit(hResBeta_W1->getTH1(),-0.2,0.2,-0.1,0.1);
  aux->drawGFit(hResX_W1->getTH1(),-0.2,0.2,-0.1,0.1);
  aux->drawGFit(hResY_W1->getTH1(),-0.2,0.2,-0.1,0.1);
  aux->drawGFit(hResBetaRZ_W1->getTH1(),-0.2,0.2,-0.1,0.1);
  aux->drawGFit(hResYRZ_W1->getTH1(),-0.2,0.2,-0.1,0.1);

  aux->drawGFit(hResAlpha_W2->getTH1(),-0.2,0.2,-0.1,0.1);
  aux->drawGFit(hResBeta_W2->getTH1(),-0.2,0.2,-0.1,0.1);
  aux->drawGFit(hResX_W2->getTH1(),-0.2,0.2,-0.1,0.1);
  aux->drawGFit(hResY_W2->getTH1(),-0.2,0.2,-0.1,0.1);
  aux->drawGFit(hResBetaRZ_W2->getTH1(),-0.2,0.2,-0.1,0.1);
  aux->drawGFit(hResYRZ_W2->getTH1(),-0.2,0.2,-0.1,0.1);

  aux->drawGFit(hPullAlpha->getTH1(),-0.2,0.2,-0.1,0.1);
  aux->drawGFit(hPullBeta->getTH1(),-0.2,0.2,-0.1,0.1);
  aux->drawGFit(hPullX->getTH1(),-0.2,0.2,-0.1,0.1);
  aux->drawGFit(hPullY->getTH1(),-0.2,0.2,-0.1,0.1);
  aux->drawGFit(hPullBetaRZ->getTH1(),-0.2,0.2,-0.1,0.1);
  aux->drawGFit(hPullYRZ->getTH1(),-0.2,0.2,-0.1,0.1);

  aux->drawGFit(hPullAlpha_W0->getTH1(),-0.2,0.2,-0.1,0.1);
  aux->drawGFit(hPullBeta_W0->getTH1(),-0.2,0.2,-0.1,0.1);
  aux->drawGFit(hPullX_W0->getTH1(),-0.2,0.2,-0.1,0.1);
  aux->drawGFit(hPullY_W0->getTH1(),-0.2,0.2,-0.1,0.1);
  aux->drawGFit(hPullBetaRZ_W0->getTH1(),-0.2,0.2,-0.1,0.1);
  aux->drawGFit(hPullYRZ_W0->getTH1(),-0.2,0.2,-0.1,0.1);

  aux->drawGFit(hPullAlpha_W1->getTH1(),-0.2,0.2,-0.1,0.1);
  aux->drawGFit(hPullBeta_W1->getTH1(),-0.2,0.2,-0.1,0.1);
  aux->drawGFit(hPullX_W1->getTH1(),-0.2,0.2,-0.1,0.1);
  aux->drawGFit(hPullY_W1->getTH1(),-0.2,0.2,-0.1,0.1);
  aux->drawGFit(hPullBetaRZ_W1->getTH1(),-0.2,0.2,-0.1,0.1);
  aux->drawGFit(hPullYRZ_W1->getTH1(),-0.2,0.2,-0.1,0.1);

  aux->drawGFit(hPullAlpha_W2->getTH1(),-0.2,0.2,-0.1,0.1);
  aux->drawGFit(hPullBeta_W2->getTH1(),-0.2,0.2,-0.1,0.1);
  aux->drawGFit(hPullX_W2->getTH1(),-0.2,0.2,-0.1,0.1);
  aux->drawGFit(hPullY_W2->getTH1(),-0.2,0.2,-0.1,0.1);
  aux->drawGFit(hPullBetaRZ_W2->getTH1(),-0.2,0.2,-0.1,0.1);
  aux->drawGFit(hPullYRZ_W2->getTH1(),-0.2,0.2,-0.1,0.1);
}

Member Data Documentation

Definition at line 43 of file DT4DSegmentClients.h.