CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
testChannel.h
Go to the documentation of this file.
1 #ifndef testChannel_H
2 #define testChannel_H
3 
14 #include <map>
22 
24 
26 
27 #include "TROOT.h"
28 #include "TStyle.h"
29 
30 #include "TH2.h"
31 #include "TProfile.h"
32 
33 #include <memory>
34 #include <iostream>
35 #include <fstream>
36 #include <vector>
37 #include <string>
38 
40 {
41 
42  public:
43 
45  testChannel (const edm::ParameterSet& ps) ;
46 
48  virtual ~testChannel () ;
49 
51  void subscribe (void) ;
52  void subscribeNew (void) ;
53  void unsubscribe (void) ;
54 
56  void analyze (edm::Event const& event, edm::EventSetup const& eventSetup) ;
57 
59  void beginJob () ;
60 
62  void endJob (void) ;
63 
64  private:
65 
66  int getHeaderSMId (const int headerId) ;
67 
68  std::string m_digiCollection ;
69  std::string m_digiProducer ;
70  std::string m_headerProducer ;
71 
72  std::string m_xmlFile ;
73 
74  int m_DACmin ;
75  int m_DACmax ;
76  double m_RMSmax ;
77  int m_bestPed ;
78 
79  int m_xtal ;
80 
81  TH2F m_pedVSDAC ;
85 
86 } ;
87 
88 #endif
std::string m_digiProducer
secondary name given to collection of digis
Definition: testChannel.h:69
TH2F m_pedVSDAC
Definition: testChannel.h:81
Transient container Store all the pedestal values depending on the gain and pedestal offset $Date: $R...
int getHeaderSMId(const int headerId)
Definition: testChannel.cc:151
void unsubscribe(void)
Definition: testChannel.cc:167
double m_RMSmax
Definition: testChannel.h:76
std::string m_headerProducer
name of module/plugin/producer making digis
Definition: testChannel.h:70
void endJob(void)
EndJob.
Definition: testChannel.cc:126
TH2F m_singlePedVSDAC_3
Definition: testChannel.h:84
virtual ~testChannel()
Destructor.
Definition: testChannel.cc:43
TH2F m_singlePedVSDAC_1
Definition: testChannel.h:82
void subscribe(void)
Subscribe/Unsubscribe to Monitoring Elements.
Definition: testChannel.cc:161
void beginJob()
BeginJob.
Definition: testChannel.cc:49
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
int m_DACmin
name of the xml file to be saved
Definition: testChannel.h:74
std::string m_digiCollection
Definition: testChannel.h:68
testChannel(const edm::ParameterSet &ps)
Constructor.
Definition: testChannel.cc:19
std::string m_xmlFile
name of module/plugin/producer making headers
Definition: testChannel.h:72
Transient container right DAC values for each crystal and each gain $Date: $Revision: ...
void analyze(edm::Event const &event, edm::EventSetup const &eventSetup)
! Analyze
Definition: testChannel.cc:56
TH2F m_singlePedVSDAC_2
Definition: testChannel.h:83
void subscribeNew(void)
Definition: testChannel.cc:164
calculate the best DAC value to obtain a pedestal = 200
Definition: testChannel.h:39