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 
12 #include <map>
19 
21 
23 
24 #include "TROOT.h"
25 #include "TStyle.h"
26 
27 #include "TH2.h"
28 #include "TProfile.h"
29 
30 #include <memory>
31 #include <iostream>
32 #include <fstream>
33 #include <vector>
34 #include <string>
35 
37 {
38 
39  public:
40 
42  testChannel (const edm::ParameterSet& ps) ;
43 
45  virtual ~testChannel () ;
46 
48  void subscribe (void) ;
49  void subscribeNew (void) ;
50  void unsubscribe (void) ;
51 
53  void analyze (edm::Event const& event, edm::EventSetup const& eventSetup) ;
54 
56  void beginJob () ;
57 
59  void endJob (void) ;
60 
61  private:
62 
63  int getHeaderSMId (const int headerId) ;
64 
68 
70 
71  int m_DACmin ;
72  int m_DACmax ;
73  double m_RMSmax ;
74  int m_bestPed ;
75 
76  int m_xtal ;
77 
78  TH2F m_pedVSDAC ;
82 
83 } ;
84 
85 #endif
std::string m_digiProducer
secondary name given to collection of digis
Definition: testChannel.h:66
TH2F m_pedVSDAC
Definition: testChannel.h:78
Transient container Store all the pedestal values depending on the gain and pedestal offset $Date: $R...
int getHeaderSMId(const int headerId)
Definition: testChannel.cc:149
void unsubscribe(void)
Definition: testChannel.cc:165
double m_RMSmax
Definition: testChannel.h:73
std::string m_headerProducer
name of module/plugin/producer making digis
Definition: testChannel.h:67
void endJob(void)
EndJob.
Definition: testChannel.cc:124
TH2F m_singlePedVSDAC_3
Definition: testChannel.h:81
virtual ~testChannel()
Destructor.
Definition: testChannel.cc:41
TH2F m_singlePedVSDAC_1
Definition: testChannel.h:79
void subscribe(void)
Subscribe/Unsubscribe to Monitoring Elements.
Definition: testChannel.cc:159
void beginJob()
BeginJob.
Definition: testChannel.cc:47
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:71
std::string m_digiCollection
Definition: testChannel.h:65
testChannel(const edm::ParameterSet &ps)
Constructor.
Definition: testChannel.cc:17
std::string m_xmlFile
name of module/plugin/producer making headers
Definition: testChannel.h:69
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:54
TH2F m_singlePedVSDAC_2
Definition: testChannel.h:80
void subscribeNew(void)
Definition: testChannel.cc:162
calculate the best DAC value to obtain a pedestal = 200
Definition: testChannel.h:36