PandaRoot
RhoEnergyParticleSelector.h
Go to the documentation of this file.
1
//****************************************************************************
2
//* This file is part of PandaRoot. *
3
//* *
4
//* PandaRoot is distributed under the terms of the *
5
//* GNU General Public License (GPL) version 3, *
6
//* copied verbatim in the file "LICENSE". *
7
//* *
8
//* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9
//* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10
//* The authors are listed in the file "AUTHORS". *
11
//****************************************************************************
12
13
#ifndef RHOENERGYPARTICLESELECTOR_H
14
#define RHOENERGYPARTICLESELECTOR_H
15
// //
17
// Selector classes for energy selection //
18
// //
19
// Author List: //
20
// Marcel Kunze, RUB, Feb. 99 //
21
// Copyright (C) 1999-2001, Ruhr-University Bochum. //
22
// Ralf Kliemt, HIM/GSI Feb.2013 (Cleanup & Restructuring) //
23
// //
25
26
#include <iostream>
27
28
#include <float.h>
29
#include "TNamed.h"
30
#include "
RhoParticleSelectorBase.h
"
31
32
class
RhoCandidate
;
33
class
PndPidCandidate
;
34
35
//----------------------------------------------------------------
36
37
class
RhoEnergyParticleSelector
:
public
RhoParticleSelectorBase
{
38
39
public
:
40
// Constructor
41
RhoEnergyParticleSelector
(
const
char
*name =
"RhoEnergyParticleSelector"
, Double_t cv = 0, Double_t w = DBL_MAX,
const
char
*type =
nullptr
);
42
// Destructor
43
virtual
~RhoEnergyParticleSelector
() {}
44
45
// operations
46
virtual
Bool_t
Accept
(
RhoCandidate
*b);
47
virtual
Bool_t
Accept
(
PndPidCandidate
*b);
48
49
private
:
50
Double_t fCentralValue, fWindow;
51
52
public
:
53
ClassDef(
RhoEnergyParticleSelector
, 1)
// Particle selector (Energy window)
54
};
55
56
#endif
RhoEnergyParticleSelector::Accept
virtual Bool_t Accept(RhoCandidate *b)
RhoEnergyParticleSelector::~RhoEnergyParticleSelector
virtual ~RhoEnergyParticleSelector()
Definition:
RhoEnergyParticleSelector.h:43
PndPidCandidate
Definition:
PndPidCandidate.h:43
RhoCandidate
Definition:
RhoCandidate.h:54
RhoParticleSelectorBase.h
RhoEnergyParticleSelector::RhoEnergyParticleSelector
RhoEnergyParticleSelector(const char *name="RhoEnergyParticleSelector", Double_t cv=0, Double_t w=DBL_MAX, const char *type=nullptr)
RhoParticleSelectorBase
Definition:
RhoParticleSelectorBase.h:39
RhoEnergyParticleSelector
Definition:
RhoEnergyParticleSelector.h:37
home
gitlab-runner
builds
Vxspf1vo
0
PandaRootGroup
PandaRoot
analysis
rho
RhoSelector
RhoEnergyParticleSelector.h
Generated on Fri Nov 29 2024 06:04:45 for PandaRoot by
1.8.13