Skip to content

Commit

Permalink
Small corrections in cut templates and description of math method.
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielWielanek committed Jan 7, 2025
1 parent 63ac9e1 commit f1878da
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion features/hal_plus/templates/EventCutTemplate.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ namespace MyHal {
* @param taskID
* @return
*/
Int_t EventCutTemplate::Init(Int_t taskID) {
Bool_t EventCutTemplate::Init(Int_t taskID) {
Hal::DataFormatManager* mngr = Hal::DataFormatManager::Instance();
const Hal::Event* event = mngr->GetFormat(taskID, Hal::EFormatDepth::kNonBuffered);
if (dynamic_cast<Hal::Event*>(event)) return kTRUE;
Expand Down
2 changes: 1 addition & 1 deletion features/hal_plus/templates/EventCutTemplate.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace MyHal {
class EventCutTemplate : public Hal::EventCut {
public:
EventCutTemplate();
Int_t Init(Int_t taskID);
Bool_t Init(Int_t taskID);
Bool_t Pass(Hal::Event* pair);
Hal::Package* Report() const;
virtual ~EventCutTemplate();
Expand Down
2 changes: 1 addition & 1 deletion features/hal_plus/templates/TrackCutTemplate.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ namespace MyHal {
* @param taskID
* @return
*/
Int_t TrackCutTemplate::Init(Int_t taskID) {
Bool_t TrackCutTemplate::Init(Int_t taskID) {
Hal::DataFormatManager* mngr = Hal::DataFormatManager::Instance();
const Hal::Event* event = mngr->GetFormat(taskID, Hal::EFormatDepth::kNonBuffered);
if (dynamic_cast<Hal::Event*>(event)) return kTRUE;
Expand Down
2 changes: 1 addition & 1 deletion features/hal_plus/templates/TrackCutTemplate.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace MyHal {
class TrackCutTemplate : public Hal::TrackCut {
public:
TrackCutTemplate();
Int_t Init(Int_t taskID);
Bool_t Init(Int_t taskID);
Bool_t Pass(Hal::Track* pair);
Hal::Package* Report() const;
virtual ~TrackCutTemplate();
Expand Down
2 changes: 1 addition & 1 deletion features/hal_plus/templates/TwoTrackCutTemplate.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ namespace MyHal {
* @param taskID
* @return
*/
Int_t TwoTrackCutTemplate::Init(Int_t taskID) {
Bool_t TwoTrackCutTemplate::Init(Int_t taskID) {
Hal::DataFormatManager* mngr = Hal::DataFormatManager::Instance();
const Hal::Event* event = mngr->GetFormat(taskID, Hal::EFormatDepth::kNonBuffered);
if (dynamic_cast<Hal::Event*>(event)) return kTRUE;
Expand Down
2 changes: 1 addition & 1 deletion features/hal_plus/templates/TwoTrackCutTemplate.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace MyHal {
class TwoTrackCutTemplate : public Hal::TwoTrackCut {
public:
TwoTrackCutTemplate();
Int_t Init(Int_t taskID);
Bool_t Init(Int_t taskID);
Bool_t Pass(Hal::TwoTrack* pair);
Hal::Package* Report() const;
virtual ~TwoTrackCutTemplate() {};
Expand Down
2 changes: 1 addition & 1 deletion features/std/StdMath.h
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ namespace Hal {
* NOTE: sometimes this algo fails to invert matrices, in such case prints warnings
* @param x
* @param y
* @return polynomial fitted to n-points p[0] is linear term
* @return polynomial fitted to n-points p[0] is const term
*/
std::vector<Double_t> LagrangeInterpol(const std::vector<Double_t>& x, const std::vector<Double_t>& y);
} // namespace Std
Expand Down

0 comments on commit f1878da

Please sign in to comment.