Project
Loading...
Searching...
No Matches
FastMultEstConfig.cxx
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
#include "
ITS3Reconstruction/FastMultEstConfig.h
"
13
#include "TRandom.h"
14
15
O2ParamImpl
(
o2::its::FastMultEstConfig
);
16
17
using namespace
o2::its
;
18
19
bool
FastMultEstConfig::isPassingRandomRejection
()
const
20
{
21
return
(cutRandomFraction <= 0. || gRandom->Rndm() >
cutRandomFraction
) ? true :
false
;
22
}
O2ParamImpl
#define O2ParamImpl(classname)
Definition
ConfigurableParam.h:339
FastMultEstConfig.h
Configuration parameters for ITS fast multiplicity estimator.
o2::its
Definition
RecoContainer.h:64
o2::its::FastMultEstConfig
Definition
FastMultEstConfig.h:27
o2::its::FastMultEstConfig::isPassingRandomRejection
bool isPassingRandomRejection() const
Definition
FastMultEstConfig.cxx:19
o2::its::FastMultEstConfig::cutRandomFraction
float cutRandomFraction
reject seed vertex if its multiplicity above this value (no cut if <0)
Definition
FastMultEstConfig.h:41
Detectors
Upgrades
ITS3
reconstruction
src
FastMultEstConfig.cxx
Generated on Tue Feb 25 2025 23:16:34 for Project by
1.9.8