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. */ |
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. |
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 |
|
|