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>
21 
23 
25 
26 #include "TROOT.h"
27 #include "TStyle.h"
28 
29 #include "TH2.h"
30 #include "TProfile.h"
31 
32 #include <memory>
33 #include <iostream>
34 #include <fstream>
35 #include <vector>
36 #include <string>
37 
39 {
40 
41  public:
42 
44  testChannel (const edm::ParameterSet& ps) ;
45 
47  virtual ~testChannel () ;
48 
50  void subscribe (void) ;
51  void subscribeNew (void) ;
52  void unsubscribe (void) ;
53 
55  void analyze (edm::Event const& event, edm::EventSetup const& eventSetup) ;
56 
58  void beginJob () ;
59 
61  void endJob (void) ;
62 
63  private:
64 
65  int getHeaderSMId (const int headerId) ;
66 
70 
72 
73  int m_DACmin ;
74  int m_DACmax ;
75  double m_RMSmax ;
76  int m_bestPed ;
77 
78  int m_xtal ;
79 
80  TH2F m_pedVSDAC ;
84 
85 } ;
86 
87 #endif
std::string m_digiProducer
secondary name given to collection of digis
Definition: testChannel.h:68
TH2F m_pedVSDAC
Definition: testChannel.h:80
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:75
std::string m_headerProducer
name of module/plugin/producer making digis
Definition: testChannel.h:69
void endJob(void)
EndJob.
Definition: testChannel.cc:126
TH2F m_singlePedVSDAC_3
Definition: testChannel.h:83
virtual ~testChannel()
Destructor.
Definition: testChannel.cc:43
TH2F m_singlePedVSDAC_1
Definition: testChannel.h:81
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:73
std::string m_digiCollection
Definition: testChannel.h:67
testChannel(const edm::ParameterSet &ps)
Constructor.
Definition: testChannel.cc:19
std::string m_xmlFile
name of module/plugin/producer making headers
Definition: testChannel.h:71
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:82
void subscribeNew(void)
Definition: testChannel.cc:164
calculate the best DAC value to obtain a pedestal = 200
Definition: testChannel.h:38