I've posted this several times before.
If you're wanting to catch the whole sounder, it's gonna take a lot of monitoring. One of the nature centers I worked at used a hog trap that looked like a football if you looked at it from above.
It had a guillotine gate at each end. Each gate was eventually connected to one tripwire.
I seem to remember the whole trap being constructed of t-posts and cattle panel. You also had a camera set up at each end facing each other.
Next, the pen wad baited with corn soaked in big red, and I forget what else. After a while, they started putting a car tire filled with the bait mixture. This was when the whole sounder was comfortable with coming into the trap.
The sows would have to move the car tire in order for the rest of the corn to come out. After about two weeks of this process with the whole sounder still coming into the pen, the trap was set with the trip wire being connected to the car tire.
The key was to set the trap after the entire sounder had been coming into the trap for about a week with no issues. The sows would move the car tire, and trap the entire sounder in the trap. This usually removed pigs from the general area for 12 to 18 months.
I know a lot about a little, and a little about a lot.