R3BROOT
R3B analysis software
Loading...
Searching...
No Matches
R3BNeulandPrimaryClusterFinder.h
Go to the documentation of this file.
1/******************************************************************************
2 * Copyright (C) 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH *
3 * Copyright (C) 2019-2025 Members of R3B Collaboration *
4 * *
5 * This software is distributed under the terms of the *
6 * GNU General Public Licence (GPL) version 3, *
7 * copied verbatim in the file "LICENSE". *
8 * *
9 * In applying this license GSI does not waive the privileges and immunities *
10 * granted to it by virtue of its status as an Intergovernmental Organization *
11 * or submit itself to any jurisdiction. *
12 ******************************************************************************/
13
14#pragma once
15
16#include "FairTask.h"
17#include "R3BNeulandCluster.h"
18#include "R3BNeulandHit.h"
19#include <R3BIOConnector.h>
20#include <Rtypes.h>
21#include <RtypesCore.h>
22#include <string_view>
23
24class R3BNeulandPrimaryClusterFinder : public FairTask
25{
26 public:
27 explicit R3BNeulandPrimaryClusterFinder(std::string_view primaryHits = "NeulandPrimaryHits",
28 std::string_view clusters = "NeulandClusters",
29 std::string_view primaryClusters = "NeulandPrimaryClusters",
30 std::string_view secondaryClusters = "NeulandSecondaryClusters");
31
32 protected:
33 auto Init() -> InitStatus override;
34
35 public:
36 void Exec(Option_t* /*option*/) override;
37
38 private:
41
44
46};
R3B::InputVectorConnector< R3BNeulandHit > fPrimaryHits
R3B::OutputVectorConnector< R3BNeulandCluster > fSecondaryClusters
R3B::InputVectorConnector< R3BNeulandCluster > fClusters
R3B::OutputVectorConnector< R3BNeulandCluster > fPrimaryClusters
R3BNeulandPrimaryClusterFinder(std::string_view primaryHits="NeulandPrimaryHits", std::string_view clusters="NeulandClusters", std::string_view primaryClusters="NeulandPrimaryClusters", std::string_view secondaryClusters="NeulandSecondaryClusters")
ClassDefOverride(R3BNeulandPrimaryClusterFinder, 1)
InputConnector< std::vector< ElementType > > InputVectorConnector
OutputConnector< std::vector< ElementType > > OutputVectorConnector