Skip to content
Snippets Groups Projects
Commit dccba3dd authored by Xiaofan Hu's avatar Xiaofan Hu
Browse files

remove header file

parent fe5c1ee2
No related branches found
No related tags found
1 merge request!477Draft: modernise bcmdigi properties
Pipeline #5903852 passed
......@@ -8,11 +8,30 @@
* granted to it by virtue of its status as an Intergovernmental Organization *
* or submit itself to any jurisdiction. *
\*****************************************************************************/
#include <string>
#include <vector>
#include "BcmDigitization.h"
#include "Event/BcmDigit.h"
#include "Event/MCBcmDigit.h"
#include "Event/MCHit.h"
#include "GaudiAlg/GaudiAlgorithm.h"
class BcmDigitization : public GaudiAlgorithm {
public:
// Constructor: A constructor of this form must be provided.
using GaudiAlgorithm::GaudiAlgorithm;
// StatusCode initialize() override;
StatusCode execute() override;
private:
Gaudi::Property<std::string> m_bcmHitsLocation{this, "BcmHitsLocation", "MC/Bcm/Hits", "BcmHitsLocation"};
Gaudi::Property<std::string> m_bcmDigitLocation{this, "BcmDigitLocation", LHCb::BcmDigitLocation::Default,
"BcmDigitLocation"};
Gaudi::Property<std::string> m_bcmMCDigitLocation{this, "BcmMCDigitLocation", LHCb::MCBcmDigitLocation::Default,
"BcmMCDigitLocation"};
Gaudi::Property<bool> m_bcmMCDigits{this, "MakeMCBcmDigits", true, "MakeMCBcmDigits"};
};
DECLARE_COMPONENT( BcmDigitization )
......
/*****************************************************************************\
* (c) Copyright 2000-2021 CERN for the benefit of the LHCb Collaboration *
* *
* This software is distributed under the terms of the GNU General Public *
* Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". *
* *
* In applying this licence, CERN does not waive the privileges and immunities *
* granted to it by virtue of its status as an Intergovernmental Organization *
* or submit itself to any jurisdiction. *
\*****************************************************************************/
#ifndef BCMDIGI_BCMDIGITIZATION_H
#define BCMDIGI_BCMDIGITIZATION_H 1
#include <string>
// From Gaudi
#include "Event/BcmDigit.h"
#include "Event/MCBcmDigit.h"
#include "Event/MCHit.h"
#include "GaudiAlg/GaudiAlgorithm.h"
class BcmDigitization : public GaudiAlgorithm {
public:
// Constructor: A constructor of this form must be provided.
using GaudiAlgorithm::GaudiAlgorithm;
StatusCode execute() override;
private:
Gaudi::Property<std::string> m_bcmHitsLocation{this, "BcmHitsLocation", "MC/Bcm/Hits", "BcmHitsLocation"};
Gaudi::Property<std::string> m_bcmDigitLocation{this, "BcmDigitLocation", LHCb::BcmDigitLocation::Default,
"BcmDigitLocation"};
Gaudi::Property<std::string> m_bcmMCDigitLocation{this, "BcmMCDigitLocation", LHCb::MCBcmDigitLocation::Default,
"BcmMCDigitLocation"};
Gaudi::Property<bool> m_bcmMCDigits{this, "MakeMCBcmDigits", true, "MakeMCBcmDigits"};
};
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment