/[PAMELA software]/PamCut/Collections/LiveTimeCollection/LiveTimeCollection.h
ViewVC logotype

Diff of /PamCut/Collections/LiveTimeCollection/LiveTimeCollection.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by pam-mep, Tue Apr 6 09:19:21 2010 UTC revision 1.2 by pam-mep, Tue Apr 20 10:20:36 2010 UTC
# Line 31  public: Line 31  public:
31     * @param livetimereport File were report of Live Time analysis will be written     * @param livetimereport File were report of Live Time analysis will be written
32     */     */
33    LiveTimeCollection(const char *collectionName, bool owns = true, TString livetimereport = "./livetimereport.txt") :    LiveTimeCollection(const char *collectionName, bool owns = true, TString livetimereport = "./livetimereport.txt") :
34      SmartCollection(collectionName, owns), _currenttime(0), _livetimereport(livetimereport) {      SmartCollection(collectionName, owns), _currenttime(0), _livetimereport(livetimereport), _gapNumb(0) {
35    }    }
36    
37    /*! @brief Destructor. */    /*! @brief Destructor. */
# Line 49  public: Line 49  public:
49    /*! @brief Return general live time counter for actNumber'th action  */    /*! @brief Return general live time counter for actNumber'th action  */
50    Float_t GetSumLiveTime(unsigned int actNumber);    Float_t GetSumLiveTime(unsigned int actNumber);
51    
52      /*! @brief Return live time counter of that events which hadn't calculated with general counter due to a time gap */
53      Float_t GetBadsumLiveTime(unsigned int actNumber);
54    
55    /*! @brief Applies cut like it is done in SmartCollection::AplyCut but also before apply OnGood method    /*! @brief Applies cut like it is done in SmartCollection::AplyCut but also before apply OnGood method
56     *  it change live time of an event survived all cuts for live time which is the sum of live times     *  it change live time of an event survived all cuts for live time which is the sum of live times
57     *  of all event having not survived all cuts before the action.     *  of all event having not survived all cuts before the action.
# Line 67  private: Line 70  private:
70  protected:  protected:
71    
72    std::vector<UInt_t> _sum;    std::vector<UInt_t> _sum;
73      std::vector<UInt_t> _badsum;
74      UInt_t _gapNumb;
75    
76  };  };
77    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.23