Project
Loading...
Searching...
No Matches
DigiParams.h
Go to the documentation of this file.
1// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3// All rights not expressly granted are reserved.
4//
5// This software is distributed under the terms of the GNU General Public
6// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7//
8// In applying this license CERN does not waive the privileges and immunities
9// granted to it by virtue of its status as an Intergovernmental Organization
10// or submit itself to any jurisdiction.
11
12#ifndef ITS3_DIGIPARAMS_H
13#define ITS3_DIGIPARAMS_H
14
16
17namespace o2::its3
18{
19
21{
22 public:
25
26 const o2::itsmft::AlpideSimResponse* getOBSimResponse() const { return mOBSimResponse; }
27 void setOBSimResponse(const o2::itsmft::AlpideSimResponse* response) { mOBSimResponse = response; }
28
29 const o2::itsmft::AlpideSimResponse* getIBSimResponse() const { return mIBSimResponse; }
30 void setIBSimResponse(const o2::itsmft::AlpideSimResponse* response) { mIBSimResponse = response; }
31
32 bool hasResponseFunctions() const { return mIBSimResponse != nullptr && mOBSimResponse != nullptr; }
33
34 void print() const final;
35
36 private:
37 const o2::itsmft::AlpideSimResponse* mOBSimResponse = nullptr;
38 const o2::itsmft::AlpideSimResponse* mIBSimResponse = nullptr;
39
40 ClassDef(DigiParams, 1);
41};
42
43} // namespace o2::its3
44
45#endif
Simulation parameters for the ALIPIDE chip.
const o2::itsmft::AlpideSimResponse * getIBSimResponse() const
Definition DigiParams.h:29
bool hasResponseFunctions() const
Definition DigiParams.h:32
void setOBSimResponse(const o2::itsmft::AlpideSimResponse *response)
Definition DigiParams.h:27
const o2::itsmft::AlpideSimResponse * getOBSimResponse() const
Definition DigiParams.h:26
void setIBSimResponse(const o2::itsmft::AlpideSimResponse *response)
Definition DigiParams.h:30
const o2::itsmft::AlpideSimResponse * getAlpSimResponse() const =delete
void print() const final
void setAlpSimResponse(const o2::itsmft::AlpideSimResponse *par)=delete
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...