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 | Friends
EBTestPulseClient Class Reference

#include <EBTestPulseClient.h>

Inheritance diagram for EBTestPulseClient:
EBClient

Public Member Functions

void analyze (void)
 Analyze. More...
 
void beginJob (void)
 BeginJob. More...
 
void beginRun (void)
 BeginRun. More...
 
void cleanup (void)
 Cleanup. More...
 
 EBTestPulseClient (const edm::ParameterSet &ps)
 Constructor. More...
 
void endJob (void)
 EndJob. More...
 
void endRun (void)
 EndRun. More...
 
int getEvtPerJob ()
 Get Functions. More...
 
int getEvtPerRun ()
 Returns the number of processed events in this Run. More...
 
void setup (void)
 Setup. More...
 
virtual ~EBTestPulseClient ()
 Destructor. More...
 
- Public Member Functions inherited from EBClient
virtual ~EBClient (void)
 

Private Attributes

float amplitudeThreshold_
 
float amplitudeThresholdPnG01_
 
float amplitudeThresholdPnG16_
 
bool cloneME_
 
bool debug_
 
DQMStoredqmStore_
 
bool enableCleanup_
 
TProfile2D * ha01_ [36]
 
TProfile2D * ha02_ [36]
 
TProfile2D * ha03_ [36]
 
TProfile2D * hs01_ [36]
 
TProfile2D * hs02_ [36]
 
TProfile2D * hs03_ [36]
 
TProfile * i01_ [36]
 
TProfile * i02_ [36]
 
TProfile * i03_ [36]
 
TProfile * i04_ [36]
 
int ievt_
 
int jevt_
 
MonitorElementme_hs01_ [36]
 
MonitorElementme_hs02_ [36]
 
MonitorElementme_hs03_ [36]
 
MonitorElementmea01_ [36]
 
MonitorElementmea02_ [36]
 
MonitorElementmea03_ [36]
 
MonitorElementmeg01_ [36]
 
MonitorElementmeg02_ [36]
 
MonitorElementmeg03_ [36]
 
MonitorElementmeg04_ [36]
 
MonitorElementmeg05_ [36]
 
MonitorElementmer04_ [36]
 
MonitorElementmer05_ [36]
 
std::vector< int > MGPAGains_
 
std::vector< int > MGPAGainsPN_
 
float pedPnDiscrepancyMean_ [2]
 
float pedPnExpectedMean_ [2]
 
float pedPnRMSThreshold_ [2]
 
float percentVariation_
 
std::string prefixME_
 
float RMSThreshold_
 
std::vector< int > superModules_
 
bool verbose_
 

Friends

class EBSummaryClient
 

Detailed Description

Definition at line 31 of file EBTestPulseClient.h.

Constructor & Destructor Documentation

EBTestPulseClient::EBTestPulseClient ( const edm::ParameterSet ps)

Constructor.

Definition at line 38 of file EBTestPulseClient.cc.

References amplitudeThreshold_, amplitudeThresholdPnG01_, amplitudeThresholdPnG16_, cloneME_, debug_, enableCleanup_, edm::ParameterSet::getUntrackedParameter(), ha01_, ha02_, ha03_, hs01_, hs02_, hs03_, i, i01_, i02_, i03_, i04_, ecalpyutils::ism(), me_hs01_, me_hs02_, me_hs03_, mea01_, mea02_, mea03_, meg01_, meg02_, meg03_, meg04_, meg05_, mer04_, mer05_, MGPAGains_, MGPAGainsPN_, pedPnDiscrepancyMean_, pedPnExpectedMean_, pedPnRMSThreshold_, percentVariation_, prefixME_, RMSThreshold_, AlCaHLTBitMon_QueryRunRegistry::string, superModules_, and verbose_.

38  {
39 
40  // cloneME switch
41  cloneME_ = ps.getUntrackedParameter<bool>("cloneME", true);
42 
43  // verbose switch
44  verbose_ = ps.getUntrackedParameter<bool>("verbose", true);
45 
46  // debug switch
47  debug_ = ps.getUntrackedParameter<bool>("debug", false);
48 
49  // prefixME path
50  prefixME_ = ps.getUntrackedParameter<std::string>("prefixME", "");
51 
52  // enableCleanup_ switch
53  enableCleanup_ = ps.getUntrackedParameter<bool>("enableCleanup", false);
54 
55  // vector of selected Super Modules (Defaults to all 36).
56  superModules_.reserve(36);
57  for ( unsigned int i = 1; i <= 36; i++ ) superModules_.push_back(i);
58  superModules_ = ps.getUntrackedParameter<std::vector<int> >("superModules", superModules_);
59 
60  MGPAGains_.reserve(3);
61  for ( unsigned int i = 1; i <= 3; i++ ) MGPAGains_.push_back(i);
62  MGPAGains_ = ps.getUntrackedParameter<std::vector<int> >("MGPAGains", MGPAGains_);
63 
64  MGPAGainsPN_.reserve(2);
65  for ( unsigned int i = 1; i <= 3; i++ ) MGPAGainsPN_.push_back(i);
66  MGPAGainsPN_ = ps.getUntrackedParameter<std::vector<int> >("MGPAGainsPN", MGPAGainsPN_);
67 
68  for ( unsigned int i=0; i<superModules_.size(); i++ ) {
69 
70  int ism = superModules_[i];
71 
72  ha01_[ism-1] = 0;
73  ha02_[ism-1] = 0;
74  ha03_[ism-1] = 0;
75 
76  hs01_[ism-1] = 0;
77  hs02_[ism-1] = 0;
78  hs03_[ism-1] = 0;
79 
80  i01_[ism-1] = 0;
81  i02_[ism-1] = 0;
82  i03_[ism-1] = 0;
83  i04_[ism-1] = 0;
84 
85  }
86 
87  for ( unsigned int i=0; i<superModules_.size(); i++ ) {
88 
89  int ism = superModules_[i];
90 
91  meg01_[ism-1] = 0;
92  meg02_[ism-1] = 0;
93  meg03_[ism-1] = 0;
94 
95  meg04_[ism-1] = 0;
96  meg05_[ism-1] = 0;
97 
98  mea01_[ism-1] = 0;
99  mea02_[ism-1] = 0;
100  mea03_[ism-1] = 0;
101 
102  mer04_[ism-1] = 0;
103  mer05_[ism-1] = 0;
104 
105  me_hs01_[ism-1] = 0;
106  me_hs02_[ism-1] = 0;
107  me_hs03_[ism-1] = 0;
108 
109  }
110 
111  percentVariation_ = 0.2;
112  RMSThreshold_ = 300.0;
113 
114  amplitudeThreshold_ = 100.;
115 
116  amplitudeThresholdPnG01_ = 200./16.;
118 
119  pedPnExpectedMean_[0] = 750.0;
120  pedPnExpectedMean_[1] = 750.0;
121 
122  pedPnDiscrepancyMean_[0] = 100.0;
123  pedPnDiscrepancyMean_[1] = 100.0;
124 
125  pedPnRMSThreshold_[0] = 999.;
126  pedPnRMSThreshold_[1] = 999.;
127 
128 }
float pedPnDiscrepancyMean_[2]
TProfile * i02_[36]
T getUntrackedParameter(std::string const &, T const &) const
int i
Definition: DBlmapReader.cc:9
MonitorElement * meg05_[36]
TProfile2D * ha02_[36]
TProfile2D * ha03_[36]
MonitorElement * meg03_[36]
MonitorElement * mea01_[36]
MonitorElement * me_hs03_[36]
MonitorElement * meg02_[36]
MonitorElement * mer05_[36]
MonitorElement * mea03_[36]
MonitorElement * mea02_[36]
std::vector< int > MGPAGainsPN_
std::vector< int > MGPAGains_
TProfile2D * hs03_[36]
MonitorElement * meg04_[36]
TProfile * i01_[36]
TProfile2D * ha01_[36]
MonitorElement * me_hs02_[36]
TProfile2D * hs01_[36]
TProfile * i03_[36]
std::vector< int > superModules_
MonitorElement * mer04_[36]
MonitorElement * me_hs01_[36]
MonitorElement * meg01_[36]
int ism(int ieta, int iphi)
Definition: EcalPyUtils.cc:56
TProfile2D * hs02_[36]
TProfile * i04_[36]
EBTestPulseClient::~EBTestPulseClient ( )
virtual

Destructor.

Definition at line 130 of file EBTestPulseClient.cc.

130  {
131 
132 }

Member Function Documentation

void EBTestPulseClient::analyze ( void  )
virtual

Analyze.

Implements EBClient.

Definition at line 664 of file EBTestPulseClient.cc.

References funct::abs(), amplitudeThreshold_, amplitudeThresholdPnG01_, amplitudeThresholdPnG16_, cloneME_, gather_cfg::cout, debug_, dqmStore_, EcalBarrel, MonitorElement::Fill(), spr::find(), DQMStore::get(), UtilsClient::getBinStatistics(), UtilsClient::getFirstNonEmptyChannel(), UtilsClient::getHisto(), ha01_, ha02_, ha03_, hs01_, hs02_, hs03_, i, i01_, i02_, i03_, i04_, Numbers::icEB(), ievt_, jevt_, UtilsClient::maskBinContent(), Masks::maskChannel(), Masks::maskPn(), me_hs01_, me_hs02_, me_hs03_, mea01_, mea02_, mea03_, meg01_, meg02_, meg03_, meg04_, meg05_, mer04_, mer05_, MGPAGains_, MGPAGainsPN_, EcalDQMStatusHelper::PEDESTAL_HIGH_GAIN_MEAN_ERROR, EcalDQMStatusHelper::PEDESTAL_HIGH_GAIN_RMS_ERROR, EcalDQMStatusHelper::PEDESTAL_LOW_GAIN_MEAN_ERROR, EcalDQMStatusHelper::PEDESTAL_LOW_GAIN_RMS_ERROR, pedPnDiscrepancyMean_, pedPnExpectedMean_, pedPnRMSThreshold_, percentVariation_, prefixME_, MonitorElement::Reset(), RMSThreshold_, Numbers::sEB(), MonitorElement::setBinContent(), MonitorElement::setBinError(), MonitorElement::setEntries(), superModules_, EcalDQMStatusHelper::TESTPULSE_HIGH_GAIN_MEAN_ERROR, EcalDQMStatusHelper::TESTPULSE_HIGH_GAIN_RMS_ERROR, EcalDQMStatusHelper::TESTPULSE_LOW_GAIN_MEAN_ERROR, EcalDQMStatusHelper::TESTPULSE_LOW_GAIN_RMS_ERROR, EcalDQMStatusHelper::TESTPULSE_MIDDLE_GAIN_MEAN_ERROR, and EcalDQMStatusHelper::TESTPULSE_MIDDLE_GAIN_RMS_ERROR.

664  {
665 
666  ievt_++;
667  jevt_++;
668  if ( ievt_ % 10 == 0 ) {
669  if ( debug_ ) std::cout << "EBTestPulseClient: ievt/jevt = " << ievt_ << "/" << jevt_ << std::endl;
670  }
671 
672  uint32_t bits01 = 0;
675 
676  uint32_t bits02 = 0;
679 
680  uint32_t bits03 = 0;
683 
684  uint32_t bits04 = 0;
687 
688  uint32_t bits05 = 0;
691 
692 
693  MonitorElement* me;
694 
695  for ( unsigned int i=0; i<superModules_.size(); i++ ) {
696 
697  int ism = superModules_[i];
698 
699  if (find(MGPAGains_.begin(), MGPAGains_.end(), 1) != MGPAGains_.end() ) {
700 
701  me = dqmStore_->get( prefixME_ + "/EBTestPulseTask/Gain01/EBTPT amplitude " + Numbers::sEB(ism) + " G01" );
702  ha01_[ism-1] = UtilsClient::getHisto( me, cloneME_, ha01_[ism-1] );
703 
704  }
705 
706  if (find(MGPAGains_.begin(), MGPAGains_.end(), 6) != MGPAGains_.end() ) {
707 
708  me = dqmStore_->get( prefixME_ + "/EBTestPulseTask/Gain06/EBTPT amplitude " + Numbers::sEB(ism) + " G06" );
709  ha02_[ism-1] = UtilsClient::getHisto( me, cloneME_, ha02_[ism-1] );
710 
711  }
712 
713  if (find(MGPAGains_.begin(), MGPAGains_.end(), 12) != MGPAGains_.end() ) {
714 
715  me = dqmStore_->get( prefixME_ + "/EBTestPulseTask/Gain12/EBTPT amplitude " + Numbers::sEB(ism) + " G12" );
716  ha03_[ism-1] = UtilsClient::getHisto( me, cloneME_, ha03_[ism-1] );
717 
718  }
719 
720  if (find(MGPAGains_.begin(), MGPAGains_.end(), 1) != MGPAGains_.end() ) {
721 
722  me = dqmStore_->get( prefixME_ + "/EBTestPulseTask/Gain01/EBTPT shape " + Numbers::sEB(ism) + " G01" );
723  hs01_[ism-1] = UtilsClient::getHisto( me, cloneME_, hs01_[ism-1] );
724 
725  }
726 
727  if (find(MGPAGains_.begin(), MGPAGains_.end(), 6) != MGPAGains_.end() ) {
728 
729  me = dqmStore_->get( prefixME_ + "/EBTestPulseTask/Gain06/EBTPT shape " + Numbers::sEB(ism) + " G06" );
730  hs02_[ism-1] = UtilsClient::getHisto( me, cloneME_, hs02_[ism-1] );
731 
732  }
733 
734  if (find(MGPAGains_.begin(), MGPAGains_.end(), 12) != MGPAGains_.end() ) {
735 
736  me = dqmStore_->get( prefixME_ + "/EBTestPulseTask/Gain12/EBTPT shape " + Numbers::sEB(ism) + " G12" );
737  hs03_[ism-1] = UtilsClient::getHisto( me, cloneME_, hs03_[ism-1] );
738 
739  }
740 
741  if (find(MGPAGainsPN_.begin(), MGPAGainsPN_.end(), 1) != MGPAGainsPN_.end() ) {
742 
743  me = dqmStore_->get( prefixME_ + "/EBTestPulseTask/PN/Gain01/EBTPT PNs amplitude " + Numbers::sEB(ism) + " G01" );
744  i01_[ism-1] = UtilsClient::getHisto( me, cloneME_, i01_[ism-1] );
745 
746  }
747 
748 
749  if (find(MGPAGainsPN_.begin(), MGPAGainsPN_.end(), 16) != MGPAGainsPN_.end() ) {
750 
751  me = dqmStore_->get( prefixME_ + "/EBTestPulseTask/PN/Gain16/EBTPT PNs amplitude " + Numbers::sEB(ism) + " G16" );
752  i02_[ism-1] = UtilsClient::getHisto( me, cloneME_, i02_[ism-1] );
753 
754  }
755 
756  if (find(MGPAGainsPN_.begin(), MGPAGainsPN_.end(), 1) != MGPAGainsPN_.end() ) {
757 
758  me = dqmStore_->get( prefixME_ + "/EBTestPulseTask/PN/Gain01/EBTPT PNs pedestal " + Numbers::sEB(ism) + " G01" );
759  i03_[ism-1] = UtilsClient::getHisto( me, cloneME_, i03_[ism-1] );
760 
761  }
762 
763  if (find(MGPAGainsPN_.begin(), MGPAGainsPN_.end(), 16) != MGPAGainsPN_.end() ) {
764 
765  me = dqmStore_->get( prefixME_ + "/EBTestPulseTask/PN/Gain16/EBTPT PNs pedestal " + Numbers::sEB(ism) + " G16" );
766  i04_[ism-1] = UtilsClient::getHisto( me, cloneME_, i04_[ism-1] );
767 
768  }
769 
770  if ( meg01_[ism-1] ) meg01_[ism-1]->Reset();
771  if ( meg02_[ism-1] ) meg02_[ism-1]->Reset();
772  if ( meg03_[ism-1] ) meg03_[ism-1]->Reset();
773 
774  if ( meg04_[ism-1] ) meg04_[ism-1]->Reset();
775  if ( meg05_[ism-1] ) meg05_[ism-1]->Reset();
776 
777  if ( mea01_[ism-1] ) mea01_[ism-1]->Reset();
778  if ( mea02_[ism-1] ) mea02_[ism-1]->Reset();
779  if ( mea03_[ism-1] ) mea03_[ism-1]->Reset();
780 
781  if ( mer04_[ism-1] ) mer04_[ism-1]->Reset();
782  if ( mer05_[ism-1] ) mer05_[ism-1]->Reset();
783 
784  if ( me_hs01_[ism-1] ) me_hs01_[ism-1]->Reset();
785  if ( me_hs02_[ism-1] ) me_hs02_[ism-1]->Reset();
786  if ( me_hs03_[ism-1] ) me_hs03_[ism-1]->Reset();
787 
788  float meanAmpl01, meanAmpl02, meanAmpl03;
789 
790  int nCry01, nCry02, nCry03;
791 
792  meanAmpl01 = meanAmpl02 = meanAmpl03 = 0.;
793 
794  nCry01 = nCry02 = nCry03 = 0;
795 
796  for ( int ie = 1; ie <= 85; ie++ ) {
797  for ( int ip = 1; ip <= 20; ip++ ) {
798 
799  bool update01;
800  bool update02;
801  bool update03;
802 
803  float num01, num02, num03;
804  float mean01, mean02, mean03;
805  float rms01, rms02, rms03;
806 
807  update01 = UtilsClient::getBinStatistics(ha01_[ism-1], ie, ip, num01, mean01, rms01);
808  update02 = UtilsClient::getBinStatistics(ha02_[ism-1], ie, ip, num02, mean02, rms02);
809  update03 = UtilsClient::getBinStatistics(ha03_[ism-1], ie, ip, num03, mean03, rms03);
810 
811  if ( update01 ) {
812  meanAmpl01 += mean01;
813  nCry01++;
814  }
815 
816  if ( update02 ) {
817  meanAmpl02 += mean02;
818  nCry02++;
819  }
820 
821  if ( update03 ) {
822  meanAmpl03 += mean03;
823  nCry03++;
824  }
825 
826  }
827  }
828 
829  if ( nCry01 > 0 ) meanAmpl01 /= float (nCry01);
830  if ( nCry02 > 0 ) meanAmpl02 /= float (nCry02);
831  if ( nCry03 > 0 ) meanAmpl03 /= float (nCry03);
832 
833  for ( int ie = 1; ie <= 85; ie++ ) {
834  for ( int ip = 1; ip <= 20; ip++ ) {
835 
836  if ( meg01_[ism-1] ) meg01_[ism-1]->setBinContent( ie, ip, 2. );
837  if ( meg02_[ism-1] ) meg02_[ism-1]->setBinContent( ie, ip, 2. );
838  if ( meg03_[ism-1] ) meg03_[ism-1]->setBinContent( ie, ip, 2. );
839 
840  bool update01;
841  bool update02;
842  bool update03;
843 
844  float num01, num02, num03;
845  float mean01, mean02, mean03;
846  float rms01, rms02, rms03;
847 
848  update01 = UtilsClient::getBinStatistics(ha01_[ism-1], ie, ip, num01, mean01, rms01);
849  update02 = UtilsClient::getBinStatistics(ha02_[ism-1], ie, ip, num02, mean02, rms02);
850  update03 = UtilsClient::getBinStatistics(ha03_[ism-1], ie, ip, num03, mean03, rms03);
851 
852  if ( update01 ) {
853 
854  float val;
855 
856  val = 1.;
857  if ( std::abs(mean01 - meanAmpl01) > std::abs(percentVariation_ * meanAmpl01) || mean01 < amplitudeThreshold_ )
858  val = 0.;
859  if ( rms01 > RMSThreshold_ )
860  val = 0.;
861  if ( meg01_[ism-1] ) meg01_[ism-1]->setBinContent( ie, ip, val );
862 
863  int ic = Numbers::icEB(ism, ie, ip);
864 
865  if ( mea01_[ism-1] ) {
866  if ( mean01 > 0. ) {
867  mea01_[ism-1]->setBinContent( ic, mean01 );
868  mea01_[ism-1]->setBinError( ic, rms01 );
869  } else {
870  mea01_[ism-1]->setEntries( 1.+mea01_[ism-1]->getEntries() );
871  }
872  }
873 
874  }
875 
876  if ( update02 ) {
877 
878  float val;
879 
880  val = 1.;
881  if ( std::abs(mean02 - meanAmpl02) > std::abs(percentVariation_ * meanAmpl02) || mean02 < amplitudeThreshold_ )
882  val = 0.;
883  if ( rms02 > RMSThreshold_ )
884  val = 0.;
885  if ( meg02_[ism-1] ) meg02_[ism-1]->setBinContent( ie, ip, val );
886 
887  int ic = Numbers::icEB(ism, ie, ip);
888 
889  if ( mea02_[ism-1] ) {
890  if ( mean02 > 0. ) {
891  mea02_[ism-1]->setBinContent( ic, mean02 );
892  mea02_[ism-1]->setBinError( ic, rms02 );
893  } else {
894  mea02_[ism-1]->setEntries( 1.+mea02_[ism-1]->getEntries() );
895  }
896  }
897 
898  }
899 
900  if ( update03 ) {
901 
902  float val;
903 
904  val = 1.;
905  if ( std::abs(mean03 - meanAmpl03) > std::abs(percentVariation_ * meanAmpl03) || mean03 < amplitudeThreshold_ )
906  val = 0.;
907  if ( rms03 > RMSThreshold_ )
908  val = 0.;
909  if ( meg03_[ism-1] ) meg03_[ism-1]->setBinContent( ie, ip, val );
910 
911  int ic = Numbers::icEB(ism, ie, ip);
912 
913  if ( mea03_[ism-1] ) {
914  if ( mean03 > 0. ) {
915  mea03_[ism-1]->setBinContent( ic, mean03 );
916  mea03_[ism-1]->setBinError( ic, rms03 );
917  } else {
918  mea03_[ism-1]->setEntries( 1.+mea03_[ism-1]->getEntries() );
919  }
920  }
921 
922  }
923 
924  if ( Masks::maskChannel(ism, ie, ip, bits01, EcalBarrel) ) UtilsClient::maskBinContent( meg01_[ism-1], ie, ip );
925  if ( Masks::maskChannel(ism, ie, ip, bits02, EcalBarrel) ) UtilsClient::maskBinContent( meg02_[ism-1], ie, ip );
926  if ( Masks::maskChannel(ism, ie, ip, bits03, EcalBarrel) ) UtilsClient::maskBinContent( meg03_[ism-1], ie, ip );
927 
928  }
929  }
930 
931  for ( int i = 1; i <= 10; i++ ) {
932 
933  if ( meg04_[ism-1] ) meg04_[ism-1]->setBinContent( i, 1, 2. );
934  if ( meg05_[ism-1] ) meg05_[ism-1]->setBinContent( i, 1, 2. );
935 
936  bool update01;
937  bool update02;
938  bool update03;
939  bool update04;
940 
941  float num01, num02, num03, num04;
942  float mean01, mean02, mean03, mean04;
943  float rms01, rms02, rms03, rms04;
944 
945  update01 = UtilsClient::getBinStatistics(i01_[ism-1], i, 0, num01, mean01, rms01);
946  update02 = UtilsClient::getBinStatistics(i02_[ism-1], i, 0, num02, mean02, rms02);
947  update03 = UtilsClient::getBinStatistics(i03_[ism-1], i, 0, num03, mean03, rms03);
948  update04 = UtilsClient::getBinStatistics(i04_[ism-1], i, 0, num04, mean04, rms04);
949 
950  if ( mer04_[ism-1] ) mer04_[ism-1]->Fill(rms03);
951  if ( mer05_[ism-1] ) mer05_[ism-1]->Fill(rms04);
952 
953  if ( update01 && update03 ) {
954 
955  float val;
956 
957  val = 1.;
958  if ( mean01 < amplitudeThresholdPnG01_ )
959  val = 0.;
960  if ( mean03 < pedPnExpectedMean_[0] - pedPnDiscrepancyMean_[0] ||
961  pedPnExpectedMean_[0] + pedPnDiscrepancyMean_[0] < mean03)
962  val = 0.;
963  if ( rms03 > pedPnRMSThreshold_[0] )
964  val = 0.;
965  if ( meg04_[ism-1] ) meg04_[ism-1]->setBinContent(i, 1, val);
966 
967  }
968 
969  if ( update02 && update04 ) {
970 
971  float val;
972 
973  val = 1.;
974  if ( mean02 < amplitudeThresholdPnG16_ )
975  val = 0.;
976  if ( mean04 < pedPnExpectedMean_[1] - pedPnDiscrepancyMean_[1] ||
977  pedPnExpectedMean_[1] + pedPnDiscrepancyMean_[1] < mean04)
978  val = 0.;
979  if ( rms04 > pedPnRMSThreshold_[1] )
980  val = 0.;
981  if ( meg05_[ism-1] ) meg05_[ism-1]->setBinContent(i, 1, val);
982 
983  }
984 
985  if ( Masks::maskPn(ism, i, bits01|bits04, EcalBarrel) ) UtilsClient::maskBinContent( meg04_[ism-1], i, 1 );
986  if ( Masks::maskPn(ism, i, bits03|bits05, EcalBarrel) ) UtilsClient::maskBinContent( meg05_[ism-1], i, 1 );
987 
988  }
989 
990  for ( int i = 1; i <= 10; i++ ) {
991 
992  if ( hs01_[ism-1] ) {
993  int ic = UtilsClient::getFirstNonEmptyChannel( hs01_[ism-1] );
994  if ( me_hs01_[ism-1] ) {
995  me_hs01_[ism-1]->setBinContent( i, hs01_[ism-1]->GetBinContent(ic, i) );
996  me_hs01_[ism-1]->setBinError( i, hs01_[ism-1]->GetBinError(ic, i) );
997  }
998  }
999 
1000  if ( hs02_[ism-1] ) {
1001  int ic = UtilsClient::getFirstNonEmptyChannel( hs02_[ism-1] );
1002  if ( me_hs02_[ism-1] ) {
1003  me_hs02_[ism-1]->setBinContent( i, hs02_[ism-1]->GetBinContent(ic, i) );
1004  me_hs02_[ism-1]->setBinError( i, hs02_[ism-1]->GetBinError(ic, i) );
1005  }
1006  }
1007 
1008  if ( hs03_[ism-1] ) {
1009  int ic = UtilsClient::getFirstNonEmptyChannel( hs03_[ism-1] );
1010  if ( me_hs03_[ism-1] ) {
1011  me_hs03_[ism-1]->setBinContent( i, hs03_[ism-1]->GetBinContent(ic, i) );
1012  me_hs03_[ism-1]->setBinError( i, hs03_[ism-1]->GetBinError(ic, i) );
1013  }
1014  }
1015 
1016  }
1017 
1018  }
1019 
1020 }
float pedPnDiscrepancyMean_[2]
TProfile * i02_[36]
int i
Definition: DBlmapReader.cc:9
void setBinContent(int binx, double content)
set content of bin (1-D)
static bool maskChannel(int ism, int i1, int i2, uint32_t bits, const EcalSubdetector subdet)
Definition: Masks.cc:57
static const int TESTPULSE_LOW_GAIN_RMS_ERROR
MonitorElement * meg05_[36]
TProfile2D * ha02_[36]
static T getHisto(const MonitorElement *me, bool clone=false, T ret=0)
Returns the histogram contained by the Monitor Element.
Definition: UtilsClient.h:89
static std::string sEB(const unsigned ism)
Definition: Numbers.cc:91
static const int PEDESTAL_HIGH_GAIN_MEAN_ERROR
TProfile2D * ha03_[36]
MonitorElement * meg03_[36]
MonitorElement * mea01_[36]
MonitorElement * me_hs03_[36]
MonitorElement * meg02_[36]
MonitorElement * mer05_[36]
static const int TESTPULSE_MIDDLE_GAIN_MEAN_ERROR
static const int PEDESTAL_LOW_GAIN_RMS_ERROR
static unsigned icEB(const unsigned ism, const unsigned ix, const unsigned iy)
Definition: Numbers.cc:726
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:7
static void maskBinContent(const MonitorElement *me, const int ix, const int iy)
Mask the bin content.
Definition: UtilsClient.cc:231
MonitorElement * mea03_[36]
static const int PEDESTAL_HIGH_GAIN_RMS_ERROR
static bool maskPn(int ism, int i1, uint32_t bits, const EcalSubdetector subdet)
Definition: Masks.cc:109
void Fill(long long x)
MonitorElement * mea02_[36]
static const int TESTPULSE_MIDDLE_GAIN_RMS_ERROR
std::vector< int > MGPAGainsPN_
std::vector< int > MGPAGains_
TProfile2D * hs03_[36]
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
static const int TESTPULSE_HIGH_GAIN_RMS_ERROR
void setBinError(int binx, double error)
set uncertainty on content of bin (1-D)
MonitorElement * meg04_[36]
void setEntries(double nentries)
set # of entries
MonitorElement * get(const std::string &path) const
get ME from full pathname (e.g. &quot;my/long/dir/my_histo&quot;)
Definition: DQMStore.cc:1624
TProfile * i01_[36]
static const int PEDESTAL_LOW_GAIN_MEAN_ERROR
static bool getBinStatistics(TH1 *histo, const int ix, const int iy, float &num, float &mean, float &rms, float minEntries=1.)
Returns true if the bin contains good statistical data.
Definition: UtilsClient.cc:74
TProfile2D * ha01_[36]
static const int TESTPULSE_LOW_GAIN_MEAN_ERROR
MonitorElement * me_hs02_[36]
TProfile2D * hs01_[36]
TProfile * i03_[36]
std::vector< int > superModules_
tuple cout
Definition: gather_cfg.py:121
MonitorElement * mer04_[36]
static const int TESTPULSE_HIGH_GAIN_MEAN_ERROR
MonitorElement * me_hs01_[36]
MonitorElement * meg01_[36]
int ism(int ieta, int iphi)
Definition: EcalPyUtils.cc:56
void Reset(void)
reset ME (ie. contents, errors, etc)
TProfile2D * hs02_[36]
TProfile * i04_[36]
static int getFirstNonEmptyChannel(const TProfile2D *histo)
Find the first non empty bin.
Definition: UtilsClient.cc:246
void EBTestPulseClient::beginJob ( void  )
virtual

BeginJob.

Implements EBClient.

Definition at line 134 of file EBTestPulseClient.cc.

References gather_cfg::cout, debug_, dqmStore_, ievt_, jevt_, and cppFunctionSkipper::operator.

134  {
135 
137 
138  if ( debug_ ) std::cout << "EBTestPulseClient: beginJob" << std::endl;
139 
140  ievt_ = 0;
141  jevt_ = 0;
142 
143 }
tuple cout
Definition: gather_cfg.py:121
void EBTestPulseClient::beginRun ( void  )
virtual

BeginRun.

Implements EBClient.

Definition at line 145 of file EBTestPulseClient.cc.

References gather_cfg::cout, debug_, jevt_, and setup().

145  {
146 
147  if ( debug_ ) std::cout << "EBTestPulseClient: beginRun" << std::endl;
148 
149  jevt_ = 0;
150 
151  this->setup();
152 
153 }
void setup(void)
Setup.
tuple cout
Definition: gather_cfg.py:121
void EBTestPulseClient::cleanup ( void  )
virtual

Cleanup.

Implements EBClient.

Definition at line 320 of file EBTestPulseClient.cc.

References cloneME_, dqmStore_, enableCleanup_, ha01_, ha02_, ha03_, hs01_, hs02_, hs03_, i, i01_, i02_, i03_, i04_, ecalpyutils::ism(), me_hs01_, me_hs02_, me_hs03_, mea01_, mea02_, mea03_, meg01_, meg02_, meg03_, meg04_, meg05_, mer04_, mer05_, prefixME_, DQMStore::removeElement(), DQMStore::setCurrentFolder(), and superModules_.

Referenced by endJob(), and endRun().

320  {
321 
322  if ( ! enableCleanup_ ) return;
323 
324  for ( unsigned int i=0; i<superModules_.size(); i++ ) {
325 
326  int ism = superModules_[i];
327 
328  if ( cloneME_ ) {
329  if ( ha01_[ism-1] ) delete ha01_[ism-1];
330  if ( ha02_[ism-1] ) delete ha02_[ism-1];
331  if ( ha03_[ism-1] ) delete ha03_[ism-1];
332 
333  if ( hs01_[ism-1] ) delete hs01_[ism-1];
334  if ( hs02_[ism-1] ) delete hs02_[ism-1];
335  if ( hs03_[ism-1] ) delete hs03_[ism-1];
336 
337  if ( i01_[ism-1] ) delete i01_[ism-1];
338  if ( i02_[ism-1] ) delete i02_[ism-1];
339  if ( i03_[ism-1] ) delete i03_[ism-1];
340  if ( i04_[ism-1] ) delete i04_[ism-1];
341  }
342 
343  ha01_[ism-1] = 0;
344  ha02_[ism-1] = 0;
345  ha03_[ism-1] = 0;
346 
347  hs01_[ism-1] = 0;
348  hs02_[ism-1] = 0;
349  hs03_[ism-1] = 0;
350 
351  i01_[ism-1] = 0;
352  i02_[ism-1] = 0;
353  i03_[ism-1] = 0;
354  i04_[ism-1] = 0;
355 
356  }
357 
358  for ( unsigned int i=0; i<superModules_.size(); i++ ) {
359 
360  int ism = superModules_[i];
361 
362  dqmStore_->setCurrentFolder( prefixME_ + "/EBTestPulseClient" );
363 
364  if ( meg01_[ism-1] ) dqmStore_->removeElement( meg01_[ism-1]->getName() );
365  meg01_[ism-1] = 0;
366  if ( meg02_[ism-1] ) dqmStore_->removeElement( meg02_[ism-1]->getName() );
367  meg02_[ism-1] = 0;
368  if ( meg03_[ism-1] ) dqmStore_->removeElement( meg03_[ism-1]->getName() );
369  meg03_[ism-1] = 0;
370 
371  if ( meg04_[ism-1] ) dqmStore_->removeElement( meg04_[ism-1]->getName() );
372  meg04_[ism-1] = 0;
373  if ( meg05_[ism-1] ) dqmStore_->removeElement( meg05_[ism-1]->getName() );
374  meg05_[ism-1] = 0;
375 
376  if ( mea01_[ism-1] ) dqmStore_->removeElement( mea01_[ism-1]->getName() );
377  mea01_[ism-1] = 0;
378  if ( mea02_[ism-1] ) dqmStore_->removeElement( mea02_[ism-1]->getName() );
379  mea02_[ism-1] = 0;
380  if ( mea03_[ism-1] ) dqmStore_->removeElement( mea03_[ism-1]->getName() );
381  mea03_[ism-1] = 0;
382 
383  if ( mer04_[ism-1] ) dqmStore_->removeElement( mer04_[ism-1]->getName() );
384  mer04_[ism-1] = 0;
385  if ( mer05_[ism-1] ) dqmStore_->removeElement( mer05_[ism-1]->getName() );
386  mer05_[ism-1] = 0;
387 
388  if ( me_hs01_[ism-1] ) dqmStore_->removeElement( me_hs01_[ism-1]->getName() );
389  me_hs01_[ism-1] = 0;
390  if ( me_hs02_[ism-1] ) dqmStore_->removeElement( me_hs02_[ism-1]->getName() );
391  me_hs02_[ism-1] = 0;
392  if ( me_hs03_[ism-1] ) dqmStore_->removeElement( me_hs03_[ism-1]->getName() );
393  me_hs03_[ism-1] = 0;
394 
395  }
396 
397 }
TProfile * i02_[36]
int i
Definition: DBlmapReader.cc:9
MonitorElement * meg05_[36]
TProfile2D * ha02_[36]
TProfile2D * ha03_[36]
MonitorElement * meg03_[36]
MonitorElement * mea01_[36]
MonitorElement * me_hs03_[36]
MonitorElement * meg02_[36]
MonitorElement * mer05_[36]
MonitorElement * mea03_[36]
MonitorElement * mea02_[36]
void removeElement(const std::string &name)
Definition: DQMStore.cc:2773
TProfile2D * hs03_[36]
MonitorElement * meg04_[36]
TProfile * i01_[36]
TProfile2D * ha01_[36]
MonitorElement * me_hs02_[36]
TProfile2D * hs01_[36]
TProfile * i03_[36]
std::vector< int > superModules_
MonitorElement * mer04_[36]
MonitorElement * me_hs01_[36]
MonitorElement * meg01_[36]
int ism(int ieta, int iphi)
Definition: EcalPyUtils.cc:56
TProfile2D * hs02_[36]
TProfile * i04_[36]
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:585
void EBTestPulseClient::endJob ( void  )
virtual

EndJob.

Implements EBClient.

Definition at line 155 of file EBTestPulseClient.cc.

References cleanup(), gather_cfg::cout, debug_, and ievt_.

155  {
156 
157  if ( debug_ ) std::cout << "EBTestPulseClient: std::endlJob, ievt = " << ievt_ << std::endl;
158 
159  this->cleanup();
160 
161 }
void cleanup(void)
Cleanup.
tuple cout
Definition: gather_cfg.py:121
void EBTestPulseClient::endRun ( void  )
virtual

EndRun.

Implements EBClient.

Definition at line 163 of file EBTestPulseClient.cc.

References cleanup(), gather_cfg::cout, debug_, and jevt_.

163  {
164 
165  if ( debug_ ) std::cout << "EBTestPulseClient: std::endlRun, jevt = " << jevt_ << std::endl;
166 
167  this->cleanup();
168 
169 }
void cleanup(void)
Cleanup.
tuple cout
Definition: gather_cfg.py:121
int EBTestPulseClient::getEvtPerJob ( void  )
inlinevirtual

Get Functions.

Implements EBClient.

Definition at line 70 of file EBTestPulseClient.h.

References ievt_.

70 { return ievt_; }
int EBTestPulseClient::getEvtPerRun ( void  )
inlinevirtual

Returns the number of processed events in this Run.

Implements EBClient.

Definition at line 71 of file EBTestPulseClient.h.

References jevt_.

71 { return jevt_; }
void EBTestPulseClient::setup ( void  )
virtual

Setup.

Implements EBClient.

Definition at line 171 of file EBTestPulseClient.cc.

References DQMStore::book1D(), DQMStore::book2D(), dqmStore_, spr::find(), i, ecalpyutils::ism(), me_hs01_, me_hs02_, me_hs03_, mea01_, mea02_, mea03_, meg01_, meg02_, meg03_, meg04_, meg05_, mer04_, mer05_, MGPAGains_, MGPAGainsPN_, mergeVDriftHistosByStation::name, prefixME_, DQMStore::removeElement(), MonitorElement::Reset(), Numbers::sEB(), MonitorElement::setAxisTitle(), MonitorElement::setBinContent(), DQMStore::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and superModules_.

Referenced by beginRun().

171  {
172 
174 
175  dqmStore_->setCurrentFolder( prefixME_ + "/EBTestPulseClient" );
176 
177  for ( unsigned int i=0; i<superModules_.size(); i++ ) {
178 
179  int ism = superModules_[i];
180 
181  if (find(MGPAGains_.begin(), MGPAGains_.end(), 1) != MGPAGains_.end() ) {
182  if ( meg01_[ism-1] ) dqmStore_->removeElement( meg01_[ism-1]->getName() );
183  name = "EBTPT test pulse quality G01 " + Numbers::sEB(ism);
184  meg01_[ism-1] = dqmStore_->book2D(name, name, 85, 0., 85., 20, 0., 20.);
185  meg01_[ism-1]->setAxisTitle("ieta", 1);
186  meg01_[ism-1]->setAxisTitle("iphi", 2);
187  }
188  if (find(MGPAGains_.begin(), MGPAGains_.end(), 6) != MGPAGains_.end() ) {
189  if ( meg02_[ism-1] ) dqmStore_->removeElement( meg02_[ism-1]->getName() );
190  name = "EBTPT test pulse quality G06 " + Numbers::sEB(ism);
191  meg02_[ism-1] = dqmStore_->book2D(name, name, 85, 0., 85., 20, 0., 20.);
192  meg02_[ism-1]->setAxisTitle("ieta", 1);
193  meg02_[ism-1]->setAxisTitle("iphi", 2);
194  }
195  if (find(MGPAGains_.begin(), MGPAGains_.end(), 12) != MGPAGains_.end() ) {
196  if ( meg03_[ism-1] ) dqmStore_->removeElement( meg03_[ism-1]->getName() );
197  name = "EBTPT test pulse quality G12 " + Numbers::sEB(ism);
198  meg03_[ism-1] = dqmStore_->book2D(name, name, 85, 0., 85., 20, 0., 20.);
199  meg03_[ism-1]->setAxisTitle("ieta", 1);
200  meg03_[ism-1]->setAxisTitle("iphi", 2);
201  }
202 
203  if (find(MGPAGainsPN_.begin(), MGPAGainsPN_.end(), 1) != MGPAGainsPN_.end() ) {
204  if ( meg04_[ism-1] ) dqmStore_->removeElement( meg04_[ism-1]->getName() );
205  name = "EBTPT test pulse quality PNs G01 " + Numbers::sEB(ism);
206  meg04_[ism-1] = dqmStore_->book2D(name, name, 10, 0., 10., 1, 0., 5.);
207  meg04_[ism-1]->setAxisTitle("pseudo-strip", 1);
208  meg04_[ism-1]->setAxisTitle("channel", 2);
209  }
210  if (find(MGPAGainsPN_.begin(), MGPAGainsPN_.end(), 16) != MGPAGainsPN_.end() ) {
211  if ( meg05_[ism-1] ) dqmStore_->removeElement( meg05_[ism-1]->getName() );
212  name = "EBTPT test pulse quality PNs G16 " + Numbers::sEB(ism);
213  meg05_[ism-1] = dqmStore_->book2D(name, name, 10, 0., 10., 1, 0., 5.);
214  meg05_[ism-1]->setAxisTitle("pseudo-strip", 1);
215  meg05_[ism-1]->setAxisTitle("channel", 2);
216  }
217 
218  if (find(MGPAGains_.begin(), MGPAGains_.end(), 1) != MGPAGains_.end() ) {
219  if ( mea01_[ism-1] ) dqmStore_->removeElement( mea01_[ism-1]->getName() );
220  name = "EBTPT test pulse amplitude G01 " + Numbers::sEB(ism);
221  mea01_[ism-1] = dqmStore_->book1D(name, name, 1700, 0., 1700.);
222  mea01_[ism-1]->setAxisTitle("channel", 1);
223  mea01_[ism-1]->setAxisTitle("amplitude", 2);
224  }
225  if (find(MGPAGains_.begin(), MGPAGains_.end(), 6) != MGPAGains_.end() ) {
226  if ( mea02_[ism-1] ) dqmStore_->removeElement( mea02_[ism-1]->getName() );
227  name = "EBTPT test pulse amplitude G06 " + Numbers::sEB(ism);
228  mea02_[ism-1] = dqmStore_->book1D(name, name, 1700, 0., 1700.);
229  mea02_[ism-1]->setAxisTitle("channel", 1);
230  mea02_[ism-1]->setAxisTitle("amplitude", 2);
231  }
232  if (find(MGPAGains_.begin(), MGPAGains_.end(), 12) != MGPAGains_.end() ) {
233  if ( mea03_[ism-1] ) dqmStore_->removeElement( mea03_[ism-1]->getName() );
234  name = "EBTPT test pulse amplitude G12 " + Numbers::sEB(ism);
235  mea03_[ism-1] = dqmStore_->book1D(name, name, 1700, 0., 1700.);
236  mea03_[ism-1]->setAxisTitle("channel", 1);
237  mea03_[ism-1]->setAxisTitle("amplitude", 2);
238  }
239 
240  if (find(MGPAGainsPN_.begin(), MGPAGainsPN_.end(), 1) != MGPAGainsPN_.end() ) {
241  if ( mer04_[ism-1] ) dqmStore_->removeElement( mer04_[ism-1]->getName() );
242  name = "EBTPT PNs pedestal rms " + Numbers::sEB(ism) + " G01";
243  mer04_[ism-1] = dqmStore_->book1D(name, name, 100, 0., 10.);
244  mer04_[ism-1]->setAxisTitle("rms", 1);
245  }
246  if (find(MGPAGainsPN_.begin(), MGPAGainsPN_.end(), 16) != MGPAGainsPN_.end() ) {
247  if ( mer05_[ism-1] ) dqmStore_->removeElement( mer05_[ism-1]->getName() );
248  name = "EBTPT PNs pedestal rms " + Numbers::sEB(ism) + " G16";
249  mer05_[ism-1] = dqmStore_->book1D(name, name, 100, 0., 10.);
250  mer05_[ism-1]->setAxisTitle("rms", 1);
251  }
252 
253  if (find(MGPAGains_.begin(), MGPAGains_.end(), 1) != MGPAGains_.end() ) {
254  if ( me_hs01_[ism-1] ) dqmStore_->removeElement( me_hs01_[ism-1]->getName() );
255  name = "EBTPT test pulse shape G01 " + Numbers::sEB(ism);
256  me_hs01_[ism-1] = dqmStore_->book1D(name, name, 10, 0., 10.);
257  me_hs01_[ism-1]->setAxisTitle("sample", 1);
258  me_hs01_[ism-1]->setAxisTitle("amplitude", 2);
259  }
260  if (find(MGPAGains_.begin(), MGPAGains_.end(), 6) != MGPAGains_.end() ) {
261  if ( me_hs02_[ism-1] ) dqmStore_->removeElement( me_hs02_[ism-1]->getName() );
262  name = "EBTPT test pulse shape G06 " + Numbers::sEB(ism);
263  me_hs02_[ism-1] = dqmStore_->book1D(name, name, 10, 0., 10.);
264  me_hs02_[ism-1]->setAxisTitle("sample", 1);
265  me_hs02_[ism-1]->setAxisTitle("amplitude", 2);
266  }
267  if (find(MGPAGains_.begin(), MGPAGains_.end(), 12) != MGPAGains_.end() ) {
268  if ( me_hs03_[ism-1] ) dqmStore_->removeElement( me_hs03_[ism-1]->getName() );
269  name = "EBTPT test pulse shape G12 " + Numbers::sEB(ism);
270  me_hs03_[ism-1] = dqmStore_->book1D(name, name, 10, 0., 10.);
271  me_hs03_[ism-1]->setAxisTitle("sample", 1);
272  me_hs03_[ism-1]->setAxisTitle("amplitude", 2);
273  }
274 
275  }
276 
277  for ( unsigned int i=0; i<superModules_.size(); i++ ) {
278 
279  int ism = superModules_[i];
280 
281  if ( meg01_[ism-1] ) meg01_[ism-1]->Reset();
282  if ( meg02_[ism-1] ) meg02_[ism-1]->Reset();
283  if ( meg03_[ism-1] ) meg03_[ism-1]->Reset();
284 
285  if ( meg04_[ism-1] ) meg04_[ism-1]->Reset();
286  if ( meg05_[ism-1] ) meg05_[ism-1]->Reset();
287 
288  for ( int ie = 1; ie <= 85; ie++ ) {
289  for ( int ip = 1; ip <= 20; ip++ ) {
290 
291  if ( meg01_[ism-1] ) meg01_[ism-1]->setBinContent( ie, ip, 2. );
292  if ( meg02_[ism-1] ) meg02_[ism-1]->setBinContent( ie, ip, 2. );
293  if ( meg03_[ism-1] ) meg03_[ism-1]->setBinContent( ie, ip, 2. );
294 
295  }
296  }
297 
298  for ( int i = 1; i <= 10; i++ ) {
299 
300  if ( meg04_[ism-1] ) meg04_[ism-1]->setBinContent( i, 1, 2. );
301  if ( meg05_[ism-1] ) meg05_[ism-1]->setBinContent( i, 1, 2. );
302 
303  }
304 
305  if ( mea01_[ism-1] ) mea01_[ism-1]->Reset();
306  if ( mea02_[ism-1] ) mea02_[ism-1]->Reset();
307  if ( mea03_[ism-1] ) mea03_[ism-1]->Reset();
308 
309  if ( mer04_[ism-1] ) mer04_[ism-1]->Reset();
310  if ( mer05_[ism-1] ) mer05_[ism-1]->Reset();
311 
312  if ( me_hs01_[ism-1] ) me_hs01_[ism-1]->Reset();
313  if ( me_hs02_[ism-1] ) me_hs02_[ism-1]->Reset();
314  if ( me_hs03_[ism-1] ) me_hs03_[ism-1]->Reset();
315 
316  }
317 
318 }
int i
Definition: DBlmapReader.cc:9
void setBinContent(int binx, double content)
set content of bin (1-D)
MonitorElement * meg05_[36]
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
Definition: DQMStore.cc:873
static std::string sEB(const unsigned ism)
Definition: Numbers.cc:91
MonitorElement * meg03_[36]
MonitorElement * mea01_[36]
MonitorElement * me_hs03_[36]
MonitorElement * meg02_[36]
MonitorElement * mer05_[36]
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:7
MonitorElement * mea03_[36]
MonitorElement * mea02_[36]
std::vector< int > MGPAGainsPN_
std::vector< int > MGPAGains_
void removeElement(const std::string &name)
Definition: DQMStore.cc:2773
MonitorElement * meg04_[36]
MonitorElement * me_hs02_[36]
std::vector< int > superModules_
MonitorElement * mer04_[36]
MonitorElement * me_hs01_[36]
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
Definition: DQMStore.cc:1001
MonitorElement * meg01_[36]
int ism(int ieta, int iphi)
Definition: EcalPyUtils.cc:56
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
void Reset(void)
reset ME (ie. contents, errors, etc)
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:585

Friends And Related Function Documentation

friend class EBSummaryClient
friend

Definition at line 33 of file EBTestPulseClient.h.

Member Data Documentation

float EBTestPulseClient::amplitudeThreshold_
private

Definition at line 128 of file EBTestPulseClient.h.

Referenced by analyze(), and EBTestPulseClient().

float EBTestPulseClient::amplitudeThresholdPnG01_
private

Definition at line 132 of file EBTestPulseClient.h.

Referenced by analyze(), and EBTestPulseClient().

float EBTestPulseClient::amplitudeThresholdPnG16_
private

Definition at line 133 of file EBTestPulseClient.h.

Referenced by analyze(), and EBTestPulseClient().

bool EBTestPulseClient::cloneME_
private

Definition at line 78 of file EBTestPulseClient.h.

Referenced by analyze(), cleanup(), and EBTestPulseClient().

bool EBTestPulseClient::debug_
private

Definition at line 81 of file EBTestPulseClient.h.

Referenced by analyze(), beginJob(), beginRun(), EBTestPulseClient(), endJob(), and endRun().

DQMStore* EBTestPulseClient::dqmStore_
private

Definition at line 91 of file EBTestPulseClient.h.

Referenced by analyze(), beginJob(), cleanup(), and setup().

bool EBTestPulseClient::enableCleanup_
private

Definition at line 85 of file EBTestPulseClient.h.

Referenced by cleanup(), and EBTestPulseClient().

TProfile2D* EBTestPulseClient::ha01_[36]
private

Definition at line 93 of file EBTestPulseClient.h.

Referenced by analyze(), cleanup(), and EBTestPulseClient().

TProfile2D* EBTestPulseClient::ha02_[36]
private

Definition at line 94 of file EBTestPulseClient.h.

Referenced by analyze(), cleanup(), and EBTestPulseClient().

TProfile2D* EBTestPulseClient::ha03_[36]
private

Definition at line 95 of file EBTestPulseClient.h.

Referenced by analyze(), cleanup(), and EBTestPulseClient().

TProfile2D* EBTestPulseClient::hs01_[36]
private

Definition at line 97 of file EBTestPulseClient.h.

Referenced by analyze(), cleanup(), and EBTestPulseClient().

TProfile2D* EBTestPulseClient::hs02_[36]
private

Definition at line 98 of file EBTestPulseClient.h.

Referenced by analyze(), cleanup(), and EBTestPulseClient().

TProfile2D* EBTestPulseClient::hs03_[36]
private

Definition at line 99 of file EBTestPulseClient.h.

Referenced by analyze(), cleanup(), and EBTestPulseClient().

TProfile* EBTestPulseClient::i01_[36]
private

Definition at line 119 of file EBTestPulseClient.h.

Referenced by analyze(), cleanup(), and EBTestPulseClient().

TProfile* EBTestPulseClient::i02_[36]
private

Definition at line 120 of file EBTestPulseClient.h.

Referenced by analyze(), cleanup(), and EBTestPulseClient().

TProfile* EBTestPulseClient::i03_[36]
private

Definition at line 121 of file EBTestPulseClient.h.

Referenced by analyze(), cleanup(), and EBTestPulseClient().

TProfile* EBTestPulseClient::i04_[36]
private

Definition at line 122 of file EBTestPulseClient.h.

Referenced by analyze(), cleanup(), and EBTestPulseClient().

int EBTestPulseClient::ievt_
private

Definition at line 75 of file EBTestPulseClient.h.

Referenced by analyze(), beginJob(), endJob(), and getEvtPerJob().

int EBTestPulseClient::jevt_
private

Definition at line 76 of file EBTestPulseClient.h.

Referenced by analyze(), beginJob(), beginRun(), endRun(), and getEvtPerRun().

MonitorElement* EBTestPulseClient::me_hs01_[36]
private

Definition at line 115 of file EBTestPulseClient.h.

Referenced by analyze(), cleanup(), EBTestPulseClient(), and setup().

MonitorElement* EBTestPulseClient::me_hs02_[36]
private

Definition at line 116 of file EBTestPulseClient.h.

Referenced by analyze(), cleanup(), EBTestPulseClient(), and setup().

MonitorElement* EBTestPulseClient::me_hs03_[36]
private

Definition at line 117 of file EBTestPulseClient.h.

Referenced by analyze(), cleanup(), EBTestPulseClient(), and setup().

MonitorElement* EBTestPulseClient::mea01_[36]
private
MonitorElement* EBTestPulseClient::mea02_[36]
private
MonitorElement* EBTestPulseClient::mea03_[36]
private
MonitorElement* EBTestPulseClient::meg01_[36]
private
MonitorElement* EBTestPulseClient::meg02_[36]
private
MonitorElement* EBTestPulseClient::meg03_[36]
private
MonitorElement* EBTestPulseClient::meg04_[36]
private
MonitorElement* EBTestPulseClient::meg05_[36]
private
MonitorElement* EBTestPulseClient::mer04_[36]
private

Definition at line 112 of file EBTestPulseClient.h.

Referenced by analyze(), cleanup(), EBTestPulseClient(), and setup().

MonitorElement* EBTestPulseClient::mer05_[36]
private

Definition at line 113 of file EBTestPulseClient.h.

Referenced by analyze(), cleanup(), EBTestPulseClient(), and setup().

std::vector<int> EBTestPulseClient::MGPAGains_
private

Definition at line 88 of file EBTestPulseClient.h.

Referenced by analyze(), EBTestPulseClient(), and setup().

std::vector<int> EBTestPulseClient::MGPAGainsPN_
private

Definition at line 89 of file EBTestPulseClient.h.

Referenced by analyze(), EBTestPulseClient(), and setup().

float EBTestPulseClient::pedPnDiscrepancyMean_[2]
private

Definition at line 135 of file EBTestPulseClient.h.

Referenced by analyze(), and EBTestPulseClient().

float EBTestPulseClient::pedPnExpectedMean_[2]
private

Definition at line 134 of file EBTestPulseClient.h.

Referenced by analyze(), and EBTestPulseClient().

float EBTestPulseClient::pedPnRMSThreshold_[2]
private

Definition at line 136 of file EBTestPulseClient.h.

Referenced by analyze(), and EBTestPulseClient().

float EBTestPulseClient::percentVariation_
private

Definition at line 126 of file EBTestPulseClient.h.

Referenced by analyze(), and EBTestPulseClient().

std::string EBTestPulseClient::prefixME_
private

Definition at line 83 of file EBTestPulseClient.h.

Referenced by analyze(), cleanup(), EBTestPulseClient(), and setup().

float EBTestPulseClient::RMSThreshold_
private

Definition at line 127 of file EBTestPulseClient.h.

Referenced by analyze(), and EBTestPulseClient().

std::vector<int> EBTestPulseClient::superModules_
private

Definition at line 87 of file EBTestPulseClient.h.

Referenced by analyze(), cleanup(), EBTestPulseClient(), and setup().

bool EBTestPulseClient::verbose_
private

Definition at line 80 of file EBTestPulseClient.h.

Referenced by EBTestPulseClient().