# PTSweep and PTAnalysis

`PTSweep` is one `sweep <name> [params]` clause preceding an analysis; `verify()` just delegates to its [parameter list](ptparameters.md)'s check. `PTAnalysis` is one `analysis <name> <type> [params]`, together with every `sweep` clause that preceded it in the same statement ([the parser](dflparser.md)'s `pre_analysis`/`sweeps` rules); `verify()` checks each sweep, then its own parameters.

`PTAnalysis` is stored as its own alternative of the `ControlEntry` variant in [`PTCommand`](ptcommand.md)'s discussion of the control block, rather than being flattened into a generic command.
