![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
14 declareInterface<DerivationFramework::TTbarPlusHeavyFlavorFilterTool>(
this);
34 return StatusCode::SUCCESS;
38 return StatusCode::SUCCESS;
56 for (
const auto* truthevent : *xTruthEventContainer ) {
58 for(
unsigned int i = 0;
i < truthevent->nTruthParticles();
i++){
80 int pdgid = std::abs(
part->pdgId());
102 if(isbhadron || ischadron){
121 if(ischadron && !ischadronfromb) ++nC;
160 double eta = fabs(
part->eta());
172 double eta = fabs(
part->eta());
181 for(
unsigned int i=0;
i<
part->nParents(); ++
i){
185 if (mothertype == qtype ){
197 for(
unsigned j = 0; j <
part->nChildren(); j++){
201 if (childtype == qtype ){
210 for(
unsigned int i=0;
i<
part->nParents(); ++
i){
214 if (4 == mothertype || 5 == mothertype ){
226 for(
unsigned int i=0;
i<
part->nParents(); ++
i){
241 init_part.insert(
part);
242 for(
unsigned int i=0;
i<
part->nParents(); ++
i){
244 if (init_part.find(
parent) != init_part.end())
return true;
252 for(
unsigned int i=0;
i<
part->nParents(); ++
i){
269 for(
unsigned int i=0;
i<
part->nParents(); ++
i){
272 if (std::abs(
parent->pdgId() ) == 6 )
return true;
279 for(
unsigned int i=0;
i<
part->nParents(); ++
i){
def retrieve(aClass, aKey=None)
Scalar eta() const
pseudorapidity method
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
bool isBottomHadron(const T &p)
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
bool is_simulation_particle(const T &p)
Method to establish if a particle (or barcode) was created during the simulation (TODO update to be s...
int leadingQuark(const T &p)
::StatusCode StatusCode
StatusCode definition for legacy code.
Class describing a truth particle in the MC record.
#define ATH_MSG_WARNING(x)
bool isCharmHadron(const T &p)