Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:28:51

0001 #ifndef SimDataFormats_HcalTestBeam_HcalTB02HistoClass_H
0002 #define SimDataFormats_HcalTestBeam_HcalTB02HistoClass_H
0003 // -*- C++ -*-
0004 //
0005 // Package:     HcalTestBeam
0006 // Class  :     HcalTB02HistoClass
0007 //
0008 /**\class HcalTB02HistoClass HcalTB02HistoClass.h SimDataFormats/HcalTestBeam/interface/HcalTB02HistoClass.h
0009   
0010  Description: Content of the Root tree for Hcal Test Beam 2002 studies
0011   
0012  Usage: Used in 2002 Hcal Test Beam studies
0013 */
0014 //
0015 // Original Author:
0016 //         Created:  Thu Sun 21 10:14:34 CEST 2006
0017 //
0018 
0019 // system include files
0020 
0021 // user include files
0022 
0023 class HcalTB02HistoClass {
0024 public:
0025   // ---------- Constructor and destructor -----------------
0026   HcalTB02HistoClass()
0027       : Nprimaries(0),
0028         partID_(0),
0029         Einit(0),
0030         eta_(0),
0031         phi_(0),
0032         Eentry(0),
0033         EhcalTot(0),
0034         Ehcal7x7(0),
0035         Ehcal5x5(0),
0036         EhcalTotN(0),
0037         Ehcal7x7N(0),
0038         Ehcal5x5N(0),
0039         Nunit(0),
0040         Ntimesli(0),
0041         xEentry_(0),
0042         xEhcalTot_(0),
0043         xEhcalTotN_(0),
0044         xEhcal7x7_(0),
0045         xEhcal5x5_(0),
0046         xEhcal3x3_(0),
0047         xEhcal7x7N_(0),
0048         xEhcal5x5N_(0),
0049         xEhcal3x3N_(0),
0050         xNunit_(0) {
0051     ;
0052   }
0053   virtual ~HcalTB02HistoClass() { ; }
0054 
0055   // ---------- member functions ---------------------------
0056   void set_partType(float v) { partID_ = v; }
0057   void set_Nprim(float v) { Nprimaries = v; }
0058   void set_Einit(float v) { Einit = v; }
0059   void set_eta(float v) { eta_ = v; }
0060   void set_phi(float v) { phi_ = v; }
0061   void set_Eentry(float v) { Eentry = v; }
0062   void set_ETot(float v) { EhcalTot = v; }
0063   void set_E5x5(float v) { Ehcal5x5 = v; }
0064   void set_E7x7(float v) { Ehcal7x7 = v; }
0065   void set_ETotN(float v) { EhcalTotN = v; }
0066   void set_E5x5N(float v) { Ehcal5x5N = v; }
0067   void set_E7x7N(float v) { Ehcal7x7N = v; }
0068   void set_NUnit(float v) { Nunit = v; }
0069   void set_Ntimesli(float v) { Ntimesli = v; }
0070   void set_xEentry(float v) { xEentry_ = v; }
0071   void set_xETot(float v) { xEhcalTot_ = v; }
0072   void set_xETotN(float v) { xEhcalTotN_ = v; }
0073   void set_xE5x5(float v) { xEhcal5x5_ = v; }
0074   void set_xE3x3(float v) { xEhcal3x3_ = v; }
0075   void set_xE5x5N(float v) { xEhcal5x5N_ = v; }
0076   void set_xE3x3N(float v) { xEhcal3x3N_ = v; }
0077   void set_xNUnit(float v) { xNunit_ = v; }
0078 
0079   float nPrimaries() const { return Nprimaries; }
0080   float partID() const { return partID_; }
0081   float eInit() const { return Einit; }
0082   float eta() const { return eta_; }
0083   float phi() const { return phi_; }
0084   float eEntry() const { return Eentry; }
0085   float eHcalTot() const { return EhcalTot; }
0086   float eHcal7x7() const { return Ehcal7x7; }
0087   float eHcal5x5() const { return Ehcal5x5; }
0088   float eHcalTotN() const { return EhcalTotN; }
0089   float eHcal7x7N() const { return Ehcal7x7N; }
0090   float eHcal5x5N() const { return Ehcal5x5N; }
0091   float nUnit() const { return Nunit; }
0092   float nTimeSli() const { return Ntimesli; }
0093   float xEntry() const { return xEentry_; }
0094   float xEHcalTot() const { return xEhcalTot_; }
0095   float xEHcalTotN() const { return xEhcalTotN_; }
0096   float xEHcal7x7() const { return xEhcal7x7_; }
0097   float xEHcal5x5() const { return xEhcal5x5_; }
0098   float xEHcal3x3() const { return xEhcal3x3_; }
0099   float xEHcal7x7N() const { return xEhcal7x7N_; }
0100   float xEHcal5x5N() const { return xEhcal5x5N_; }
0101   float xEHcal3x3N() const { return xEhcal3x3N_; }
0102   float xNUnit() const { return xNunit_; }
0103 
0104 private:
0105   // ---------- Private Data members -----------------------
0106   float Nprimaries;
0107   float partID_;
0108   float Einit;
0109   float eta_;
0110   float phi_;
0111   float Eentry;
0112   float EhcalTot;
0113   float Ehcal7x7;
0114   float Ehcal5x5;
0115   float EhcalTotN;
0116   float Ehcal7x7N;
0117   float Ehcal5x5N;
0118   float Nunit;
0119   float Ntimesli;
0120   float xEentry_;
0121   float xEhcalTot_;
0122   float xEhcalTotN_;
0123   float xEhcal7x7_;
0124   float xEhcal5x5_;
0125   float xEhcal3x3_;
0126   float xEhcal7x7N_;
0127   float xEhcal5x5N_;
0128   float xEhcal3x3N_;
0129   float xNunit_;
0130 };
0131 
0132 #endif