CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TB06TreeH2.h
Go to the documentation of this file.
1 #ifndef TB06TreeH2_h
2 #define TB06TreeH2_h
3 
4 // includes
5 #include <string>
6 
7 #include "TClonesArray.h"
8 
9 class TFile ;
10 class TTree ;
11 
12 class G3EventProxy ;
13 
14 class TB06TreeH2 {
15  public:
17  TB06TreeH2 (const std::string & fileName = "TB06Tree.root",
18  const std::string & treeName = "Analysis") ;
20  ~TB06TreeH2 () ;
21 
22  void store (const int & tableIsMoving,
23  const int & run, const int & event,
24  const int & S6adc ,
25  const double & xhodo, const double & yhodo,
26  const double & xslope, const double & yslope,
27  const double & xquality, const double & yquality,
28  const int & icMax,
29  const int & ietaMax, const int & iphiMax,
30  const double & beamEnergy,
31  const double ampl[49],
32  const int &wcAXo,const int &wcAYo,
33  const int &wcBXo,const int &wcBYo,
34  const int &wcCXo,const int &wcCYo,
35  const double & xwA, const double & ywA,
36  const double & xwB, const double & ywB,
37  const double & xwC, const double & ywC,
38  const float &S1adc, const float &S2adc,
39  const float &S3adc, const float &S4adc,
40  const float &VM1,const float &VM2,const float &VM3,
41  const float &VM4,const float &VM5,const float &VM6,
42  const float &VM7,const float &VM8,const float &VMF,
43  const float &VMB,
44  const float &CK1,const float &CK2, const float &CK3,
45  const float &BH1,const float &BH2,const float &BH3,
46  const float &BH4,
47  const float &TOF1S, const float &TOF2S,
48  const float &TOF1J,const float &TOF2J);
49 
50  void reset (float crystal[11][21]) ;
51 
52  void check () ;
53 
54  private:
55 
56  TFile * m_file ;
57  TTree * m_tree ;
58 
59  TClonesArray * m_data ;
60  int m_dataSize ;
61 
62 } ;
63 
64 #endif
TClonesArray * m_data
Definition: TB06TreeH2.h:59
void store(const int &tableIsMoving, const int &run, const int &event, const int &S6adc, const double &xhodo, const double &yhodo, const double &xslope, const double &yslope, const double &xquality, const double &yquality, const int &icMax, const int &ietaMax, const int &iphiMax, const double &beamEnergy, const double ampl[49], const int &wcAXo, const int &wcAYo, const int &wcBXo, const int &wcBYo, const int &wcCXo, const int &wcCYo, const double &xwA, const double &ywA, const double &xwB, const double &ywB, const double &xwC, const double &ywC, const float &S1adc, const float &S2adc, const float &S3adc, const float &S4adc, const float &VM1, const float &VM2, const float &VM3, const float &VM4, const float &VM5, const float &VM6, const float &VM7, const float &VM8, const float &VMF, const float &VMB, const float &CK1, const float &CK2, const float &CK3, const float &BH1, const float &BH2, const float &BH3, const float &BH4, const float &TOF1S, const float &TOF2S, const float &TOF1J, const float &TOF2J)
to be called at each loop
Definition: TB06TreeH2.cc:50
~TB06TreeH2()
dtor
Definition: TB06TreeH2.cc:33
TB06TreeH2(const std::string &fileName="TB06Tree.root", const std::string &treeName="Analysis")
ctor
Definition: TB06TreeH2.cc:9
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_dataSize
Definition: TB06TreeH2.h:60
void reset(float crystal[11][21])
Definition: TB06TreeH2.cc:201
TTree * m_tree
Definition: TB06TreeH2.h:57
void check()
Definition: TB06TreeH2.cc:216
TFile * m_file
Definition: TB06TreeH2.h:56