selecting atoms on the basis of their ForcefieldType?

Hello,

Is it possible to select atoms on the basis of their ForcefieldType? Similar to this:

foreach my \\\$atom (@\\\$atoms) {
my \\\$ffType = \\\$atom->ForcefieldType;
if(\\\$ffType == "c"){
push (@listofatoms, \\\$atom);
}
}

(This does not work. Maybe the "c" part is wrong?)

I know that it works for example with NumBonds or AtomicNumber. Like this:

if(\\\$atom->NumBonds == 42){

}
if (\\\$atom->AtomicNumber == 42){

}

Many thanks for your help!

Best wishes

Jansen