CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TB06Tree.h
Go to the documentation of this file.
1 #ifndef TB06Tree_h
2 #define TB06Tree_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 TB06Tree {
15  public:
17  TB06Tree (const std::string & fileName = "TB06Tree.root",
18  const std::string & treeName = "Analysis") ;
20  ~TB06Tree () ;
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 
33  void reset (float crystal[11][21]) ;
34 
35  void check () ;
36 
37  private:
38 
39  TFile * m_file ;
40  TTree * m_tree ;
41 
42  TClonesArray * m_data ;
43  int m_dataSize ;
44 
45 } ;
46 
47 #endif
void reset(float crystal[11][21])
Definition: TB06Tree.cc:122
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])
to be called at each loop
Definition: TB06Tree.cc:50
void check()
Definition: TB06Tree.cc:137
TB06Tree(const std::string &fileName="TB06Tree.root", const std::string &treeName="Analysis")
ctor
Definition: TB06Tree.cc:9
int m_dataSize
Definition: TB06Tree.h:43
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
TFile * m_file
Definition: TB06Tree.h:39
TTree * m_tree
Definition: TB06Tree.h:40
TClonesArray * m_data
Definition: TB06Tree.h:42
~TB06Tree()
dtor
Definition: TB06Tree.cc:33